[FFmpeg-devel] [RFC][PATCH] movenc: write clap tag
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Jul 7 04:39:46 EEST 2017
On 7/7/2017 2:20 AM, Dave Rice wrote:
> Currently this patch writes the clap atom under this condition "track->par->codec_id == AV_CODEC_ID_RAWVIDEO & track->mode == MODE_MOV”; however, AV_CODEC_ID_RAWVIDEO isn’t quite what the spec asks for. Any advice on how to write this condition for “uncompressed Y´CbCr data formats”; for instance v210 is considered uncompress Y´CbCr in QuickTime but is not a AV_CODEC_ID_RAWVIDEO. I haven’t found a concise way to add a condition for uncompressed YUV.
First, it should be '&&', I assume.
I don't think there's any concise way of checking such conditions... you'll
probably have to do something like a list of "codes" (v410, v210, raw) and
some sort of sanity check for track->par->format to confirm is is YCbCr.
Maybe someone knows better than myself.
- Derek
More information about the ffmpeg-devel
mailing list