[MPlayer-users] trying to pipe mencoder to ffmpeg2theora

Roman Haefeli reduzierer at yahoo.de
Wed May 16 12:33:03 CEST 2007


i'd like to be able to pipe the stdout of mencoder to stdin of
ffmpeg2theora, but i troubles to bring the output of mencoder into a
form, that is understood by ffmpeg2theora.

i tried the following:

mencoder tv:// -tv
\=0:adevice\=hw.1:amode\=0:alsa:audiorate\=44100:forceaudio \
-oac pcm -af resample=22050 -ovc lavc -lavcopts vcodec=ffvhuff \
-o /dev/stdout | \
ffmpeg2theora -x 320 -y 240 -V 400 -a 1 -H 22050 -c 1 -o file.ogg -

but when doing this, ffmpeg2theora says:

File pipe: has unknown data format

if i do the exact same, but instead of piping the data writing it to a
file, and read the file with ffmpeg2theora afterwards, it works. is that
due to some limitation of the avi-container? should i take a different
one for piping?

the goal of that would be to have combined full power of
mplayer/mencoder with the streaming capability of ffmpeg2theora

any hints appreciated


Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

More information about the MPlayer-users mailing list