[FFmpeg-devel] [PATCH] avformat/movenc: correct ImageDescription depth for v210 v410

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Nov 17 01:08:33 EET 2017


2017-11-16 17:54 GMT+01:00 Dave Rice <dave at dericed.com>:

> +    if (track->mode == MODE_MOV && track->par->codec_id == AV_CODEC_ID_V410)
> +        avio_wb16(pb, 0x18);
> +    else if (track->mode == MODE_MOV && track->par->codec_id == AV_CODEC_ID_V210)
> +        avio_wb16(pb, 0x18);

It appears you can merge the two cases.

Or maybe patch bits_per_coded_sample in the encoder...

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list