On Fri, Oct 25, 2013 at 12:06 PM, Mario Rohkrämer <[email protected]> wrote:
> Am 25.10.2013, 18:37 Uhr, schrieb Steve Borho <[email protected]>: > > > I don't really care to do auto-detection of the stream type, and right now >> - always means YUV. Would it be acceptable if -.y4m is used to indicate >> Y4M on stdin? >> > > Probably not; the typical use, a "quasi standard", is to have exactly the > hyphen only as input file name. > > If you have raw YUV input, you really need to provide the image dimensions > (width × height), possibly even the picture type (e.g. FourCC, like "I420" > or "YV12" for 4:2:0, or possibly "YUY2" if 4:2:2 is supported some day). > > So you may use an additional "-y4m" option instead of all the required > options for raw YUV, to indicate that the piped input is YUV4MPEG instead > of raw YUV. hmm: so this would be ok? x265 --input-res WxH --fps 30 - out.hevc # encodes YUV from stdin x265 --y4m - out.hevc # encodes Y4M from stdin -- Steve Borho
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
