[theora] TS from DVB-T to Theora + Vorbis
zikzak at tele2.fr
Tue Jul 17 12:49:05 PDT 2007
Jiří Navrátil a écrit :
> Could you kindly point me to some instruction, how to encode demuxed
> files (.m2v and .mp2) to .ogg (Theora + Vorbis)? I was trying to use
> ffmpeg2theora, but I don't know, how to put two files to ffmpeg2theora
> (one audio an one video) and did not found, how to mux them into one
> Exist a way, how to do two pass encoding?
> I'm using Ubuntu Fiesty Linux.
> Thank you,
> Jiri Navratil
The common way under GNU/Linux is to use two pipes (one audio and one
video) and send them to encoder_example.
Here is what I use:
rm -f stream.*
mkfifo -m 660 stream.yuv
mkfifo -m 660 stream.wav
mplayer -af resample=44100,volume=2,volnorm=2 -ao
pcm:fast:file=stream.wav -vc dummy -vo null -quiet AudioInput.mp2 >
mplayer -vo yuv4mpeg -ao null -nosound -vf
lgb=0.4:cgb=1 -quiet VideoInput.m2v > video.log &
encoder_example -v 7 -a 2 stream.wav stream.yuv -o Output.ogg
So you'll need mplayer and of course the sources of Ogg Theora to use
encoder_example (in the exampel folder).
More information about the theora