[MPlayer-dev-eng] Does MEncoder support pipe?
Nico Sabbi
nsabbi at tiscali.it
Sun Mar 20 14:27:24 CET 2005
Xie Bo wrote:
>>yes it can, please refer to the man page (there is even an example at
>>the bottom...)
>>
>>
>>
>You mean following
>---------------
>Encoding from a pipe
>rar p test-SVCD.rar | mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 -ofps 24 -
>---------------
>
>I want "mencoder ... | ffmpeg -i - ...". I mean I want use mencoder to read *.* file and decoder it to raw video/audio streams and pipe them to ffmpeg for encoding. Because mencoder is good at reading files and ffmpeg is good at encoding files. (Mencoder can not call ffmpeg *audio* codec now and I want to use ffmpeg audio codec amr_nb for .3gp file).
>
>Any suggestions? Thanks!
>
>Best Regards,
>Xie Bo
>
mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:mbd=2 -oac pcm -ofps 24 svcdfile -o file.avi
ffmpeg -i file.avi -acodec amr_nb -vcodec copy -f 3gp file.3gp
anyway I couldn't find amr_nb.
Additionally this is mplayer-dev-eng, not mplayer-users
More information about the MPlayer-dev-eng
mailing list