PDA

View Full Version : How do i mux a theora and vorbis to produce a ogv?


rookandpawn
14th July 2009, 20:09
I have a ogg audio file and a ogm video file and id like to mux the two to make a ogv video+audio file but I dont know how.

I checked out http://oggmux.sourceforge.net/ but it seemed to depend on some ogg directshow filters whose website is no longer there http://tobias.everwicked.com/

could someone give me some pointers? thanks, much appreciated.

Dark Shikari
14th July 2009, 20:22
ffmpeg?

rookandpawn
14th July 2009, 20:49
Ah, i didnt know ffmpeg does muxing... but I didnt find anything about muxing ogm and ogg to ogv in the manual.

can you tell me what the command line looks like?

Dark Shikari
14th July 2009, 20:50
Ah, i didnt know ffmpeg does muxing... but I didnt find anything about muxing ogm and ogg to ogv in the manual.

can you tell me what the command line looks like?ffmpeg -i inputaudio -i inputvideo -acodec copy -vcodec copy output.ogg

JuanCC
20th July 2009, 19:59
I have a ogg audio file and a ogm video file and id like to mux the two to make a ogv video+audio file but I dont know how.

I checked out http://oggmux.sourceforge.net/ but it seemed to depend on some ogg directshow filters whose website is no longer there http://tobias.everwicked.com/

could someone give me some pointers? thanks, much appreciated.

Ogm file usually is XviD (video) + Vorbis (audio).

To make an .ogv file, you have to encode video to Theora (http://www.theora.org/).

To do this, try ffmpeg2theora (http://v2v.cc/~j/ffmpeg2theora/).

To mux audio (Vorbis) and video (Theora) to make .ogv file, try oggz (http://www.xiph.org/oggz/) tools.

Also you can try fireOgg (http://firefogg.org/) plug-in for Firefox (http://www.getfirefox.com/) 3.5

ricardo.santos
21st July 2009, 01:49
Hi everyone

i've been trying ffmpeg2theora and i'm unable to do a 2 pass encode, this is what i'm using at the moment:
ffmpeg2theora -V 510 -A 64 -c 2 -H 22050 123.mp4

i searched on the theora site but i cant find anything on how to do a 2 pass encode.

thewebchat
21st July 2009, 06:06
That's because you can't do 2-pass encodes of thoera. It's not implemented.

ricardo.santos
21st July 2009, 20:28
Thanks for the info.

neilm
30th July 2009, 14:48
2 Pass has just been added to the ffmpeg2theora source in svn
and some binaries are now available from nightly builders.

Neil.

ricardo.santos
31st July 2009, 01:40
im using this for 1 pass:
ffmpeg2theora -V 510 -A 64 -c 2 -H 22050 123.mp4

cant find any reference on how to do a 2 pass, anyone knows the correct syntax?

Ps: Found it, in case anyone is interested its like this:
ffmpeg2theora --first-pass -V 510 -A 64 -c 2 -H 22050 123.mkv
ffmpeg2theora --second-pass -V 510 -A 64 -c 2 -H 22050 123.mkv