On 02/23/2016 06:50 PM, Mats Peterson wrote:
On 02/23/2016 05:23 PM, Michael Niedermayer wrote:
2. You say that demuxers might not set the pixel format. This is on
the muxing side though. Isn't the pixel format always set when
muxing?
theres no guratee that its set for the muxer
there could be demuxer -> muxer with no decoder as well but thats
not the only case, it could just be that the application doesnt
set it, its not written in the API that the application has to set it
Perhaps so, but for raw uncompressed video, as long as you only have one
collective 'raw ' fourcc for it, it's crucial to know the pixel format,
whether it's RGB, grayscale or YUV for example.
YUV doesn't belong to the 'raw ' fourcc category whatsoever in
QuickTime, yet FFmpeg will use that fourcc for raw YUV in spite of that,
so there has to be some way to detect it at least, and then there's only
the pixel format to refer to, as far as I know.
Mats
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel