19
2
Okay. I've got a few ogg files I've created using a desktop recording tool. I've transcoded them using ffmpeg
once (mainly to clip out the beginnings and the ends).
Now, I have 3 such files which I want to concatenate into a single .ogv
file. I tried using oggCat
, it crashed with some kind of error (I tried concatenating a file to itself using oggCat
and that failed too leading me to believe that my distro is shipping a broken version of the package). Simply cat
ing the files works but I can't seek which is not cool. mencoder
run like this mencoder -ovc lavc -oac lavc file1.ogv file2.ogv file3.ogv -o complete.ogv
. It transcodes the files into an avi
and clips off a little of the 3 videos.
So, how do I do this?
Update 1: My current workaround is to transcode the 3 files into .mpg
using ffmpeg
, then cat
ing them together and then transcoding them back into ogv
.
Update 2: PiTiVi works for this kind of thing but I need something from the command line that I can automate and script.
@gry, What is missing from the current answer? – soandos – 2011-12-29T08:10:00.123
@gry, but you want the exact same features, but a different name? or is there a functionality difference you are looking for. I disagree that this is what the OP was asking for. He wanted his files concatenated, and oggCat was not working. Now it is, so I don't follow as to what is missing. – soandos – 2011-12-29T08:44:44.627
@soandos: The original question was "oggCat does not work for me, is there an alternative?" and though the asker got it to work, it could be useful to find possible alternatives as originally expected. – None – 2011-12-29T08:47:00.680
@gry, it 1) is fixed now (see last comment on my answer) and 2) I can't find the comment you are citing. – soandos – 2011-12-29T08:47:29.620
1My main intention was to get the videos concatenated. By the time the answers came up, I moved away from ogv and so didn't really care about the question too much. I explicitly mentioned that I didn't want to use oggCat because it wasn't working for me when I asked the question. – Noufal Ibrahim – 2011-12-29T18:07:50.960
@Noufal: I reproduce failure on Ubuntu 12.04 with error
– Ciro Santilli 新疆改造中心法轮功六四事件 – 2014-03-15T21:09:12.317OggRingbuffer::getNextPageLength: ERROR ogg packet not aligned
. Launchpad issue here, claims fixed in 12.10. What system are you in?