[MPlayer-users] cat files

Alexander Roalter alex at roalter.it
Wed Apr 25 21:40:48 CEST 2007


Saurabh Singhvi wrote:
> On 4/25/07, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
>> Philippe De Neve wrote:
>>> Yes, I saw that the sampling rates were different and reencoded the
>>> source files. Now there are the same (as far as I can check with
>>> ffmpeg).
>>> I tried the configuration without pipes and the file playedback
>>> succesfull with correct audio. With pipes I cannot realize this.
>>>
>> You mean something like:
>>
>> mencoder <options> -o - 1.avi 2.avi | ffmpeg -i - ...
>>
>> If mencoder uses avi format in this case, it cant work: an avi needs to
>> be complete before it can be opened for read. You need to re-encode
>> using something that can be streamed through the pipe, eg DVD-equivalent
>> (high-bitrate MPEG2 video, say MP3 audio, in an MPG container).
>>
> 
> 
> why not something like
> 
> mkfifo stream.yuv|mplayer -vo yuv4mpeg filename1.avi filename2.avi
> ffmpeg stream.yuv .....
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

What about audio? -vo is only video out... is there a possibility to 
dump the audio to a fifo too and use it again in ffmpeg? dumping could 
be done via -ao pcm:file=pcmstream, where pcmstream was also made via 
mkfifo... How this is usable in ffmpeg I don't know. And maintaining 
sync is still something to achieve..

-- 
cheers,
Alex



More information about the MPlayer-users mailing list