[MPlayer-dev-eng] [PATCH] YUV4MPEG2 mencoder output format

Roine Gustafsson roine at users.sourceforge.net
Sun Jan 9 19:41:26 CET 2005


On Sunday, Jan 9, 2005, at 18:53 Europe/Stockholm, D Richard Felker III 
wrote:
> On Sun, Jan 09, 2005 at 04:12:31PM +0100, Roine Gustafsson wrote:
>
>>>> - Only output to file, not to a pipe
>>>
>>> Huh? There is no difference between file and pipe on *nices
>>
>> the yuv4mpeg vo creates and writes the files itself. The only option 
>> is
>> to use a fifo. With mencoder you (should) be able to do
>> mencoder <yadda> -of y4m -o - | y4mscaler [...]
>> which I prefer.
>
> Nope. Not possible. mencoder writes lots of crap with printf so it
> will get mixed into your output and ruin it... :)

Ah, then let's file a bug report!
Normally crap should be written to stderr (unless a -quiet or sth) so 
it won't spoil the broth. mjpegtools are excellent examples; they only 
do pipes and write crap all the time and don't even think twice about 
it.

>> I'd like to add interlacing support, but I don't know how mplayer
>> stores interlacing information internally. Any pointers?
>
> Very simple: it doesn't.

Oh? Not at all? Surely the deinterlacers and the like must know if the 
file is interlaced?

   /Roine




More information about the MPlayer-dev-eng mailing list