What's the code in mencoder or ffmpeg?
Pitivi?
Add both videos in, drag them into place and render it back out as an Ogv?
Cheers,
Al.
http://ubuntuforums.org/archive/index.php/t-430778.html
As ever with ogvs, there are lots of things that should work but get
snafued somewhere along the line:
"""
I had several "recordmydesktop" ogg/theora videos and I wanted to
concatenate (join) them. I found a way to do it and I want to share it
here.
I couldn't find a way to concatenate theora videos in ogg container
directly. Instead, I appended them inside a matroska container using
the tools of the mkvtools package (following a post I found in
lists.xiph.org). In the command line:
$ mkvmerge -o name-of-file.mkv first.ogg +second.ogg. +third.ogg
... as many .ogg files as I had.
Then, I had to demux both video and audio from matroska and remux into
an ogg file. Well, this time mkvtools wasn't able to help me because
mkvextract can't extract the video into an ogg file (mkvextract can
only extract audio into an ogg file).
The solution was to use gst-launch, from gstreamer. I passed the mkv
file through a demuxer, splitting audio from video, and after it
rejoins them in an .ogg file, using a muxer:
$ gst-launch-0.10 filesrc location=name-of-file.mkv ! matroskademux
name=demux demux.video_00 ! queue ! theoraparse ! mux. demux.audio_00
! queue ! vorbisparse ! mux. oggmux name=mux ! filesink
location=final-file.ogg
and, voilà, I had my ogg/theora video comprising several concatenated clips.
Be careful, though:
1) I read elsewhere that you can concatenate ogg/theora videos by
concatenating the files (using cat). It didn't work for me,
mplayer/xine/etc don't play videos concatenated this way.
2) Clips must all have the same dimensions (height x width) for this
to work. You can see this information using (from package oggz-tools):
$ oggzinfo name-of-file.ogg
3) "mkvmerge" from the mkvtoonix package in the repositories didn't
work for these ogg/theora files (complained about something in the
ogg/theora input files). I have had to download source code from
http://www.bunkus.org/videotools/mkvtoolnix/ and compile it.
"""
> --
> You received this message because you are subscribed to the Google Groups "ShowMeDo" group.
> To post to this group, send email to show...@googlegroups.com.
> To unsubscribe from this group, send email to showmedo+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/showmedo?hl=en.
>
>
> ogg/theora input files). I have had to download source code fromhttp://www.bunkus.org/videotools/mkvtoolnix/and compile it.
> """
>
> On 28 March 2010 20:23, Alan Pope <a...@popey.com> wrote:
I have been using OggVideoTools' oggCat (http://dev.streamnik.de/
oggvideotools.html) to join two or more theora/vorbis videos together.
I believe popey gave me that tip a while back. So a sample command
would look like this: oggCat output.ogv input1.ogv input2.ogv
The tricky part is making sure that both videos to be joined have
identical video and audio settings, such as, fps and audio bitrate
among others. Joining two RMD videos should be a cake walk if you
haven't changed settings between screencasting.
One can use ffmpeg2theora(offline) or fireogg(online) to prep your
videos if needed before joining them together. I think fireogg only
works with Firefox. I've used it a number of times and it works really
well.
Btw, PiTiVi is a great backup method. When NOTHING else works then a
simple transcode to xvid via mencoder and a join with mencoder and a
final push back to theora with ffmpeg2theora also works. However, you
will lose a little quality because of it. That's my nuclear option
anyway. ;)
On Mar 29, 11:32 am, heathenx <heath...@gmail.com> wrote: