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

Andy Carrel william.a at carrel.org
Sun Oct 15 20:04:15 CEST 2006


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.

Thanks.
-- 
wac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264.c.diff
Type: application/octet-stream
Size: 2215 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20061015/ec784f48/attachment.obj 


More information about the x264-devel mailing list