[x264-devel] Re: allow y4m input through stdin
Loren Merritt
lorenm at u.washington.edu
Mon Mar 12 22:05:41 CET 2007
On Sun, 11 Mar 2007, Måns Rullgård wrote:
> Tomas Carnecky <tom at dbservice.com> writes:
>> Tomas Carnecky wrote:
>>
>>> A slightly smaller and easier patch than the one that was posted a
>>> few weeks ago: filenames 'stdin.yuv' and 'stdin.y4m' will allow the
>>> user to pass the data through stdin to x264 and at the same time
>>> x264 will choose the correct functions.
>>>
>>
>> Anything wrong with this patch? I don't think anyone will name a file
>> "stdin.y4m" - alternatively you could use "-y4m" or "-.y4m", what
>> exactly the 'magic' name is doesn't really matter, if you don't like
>> "stdin.y4m", just change the strcmp().
>
> I don't like magic names, however unlikely they are.
Agreed.
The most user-friendly approach would be to implement some content-based
detection, but if you want a simple commandline option it should be
"--demuxer y4m".
--Loren Merritt
More information about the x264-devel
mailing list