[x264-devel] Re: [PATCH] Treat input as .y4m regardless of file extension

Loren Merritt lorenm at u.washington.edu
Mon Oct 16 18:27:25 CEST 2006


On Sun, 15 Oct 2006, Andy Carrel wrote:

> This patch adds the long option "--y4m-input" which sets b_y4m. It
> also avoids any evaluation that might result in setting both b_avis
> and b_y4m.
>
> In order to politely handle pipelines from mjpegtools and other y4m
> sources, b_y4m must be set even if the filename is "-". Sadly, "-"
> does not end in ".y4m". :-)
>
> The patch is available at
> http://gawker-image-fetch.googlecode.com/svn/trunk/x264.c.diff as well
> as being attached to this message.
>
> In the longer term it would be useful to offer options for all
> accepted input and output types on stdin and stdout to avoid having to
> create (rather sizable) temp file everywhere.

Afaik avisynth input can't work on pipes, nor can GPAC output. MKV output 
current uses one seek to write some stuff in the header after completion, 
though it's probably not necessary in any task that's using pipes. Raw 
output does work on named pipes, there's just currently no syntax to tell 
it to use stdout.

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list