[FFmpeg-devel] [PATCH v4 2/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

jay at wizardofthenet.com jay at wizardofthenet.com
Sat Sep 8 16:31:59 EEST 2018



 "Paul B Mahol" <onemda at gmail.com> 

> On 9/8/18, Jason Stevens <jay at wizardofthenet.com> wrote:
>> Add missing dnxhr mxf container essence ULs to the mxf encoder.
>> set proper mxf frame size for dnxhr using libavformat/dnxhd's get dnxhr size
>> function.
>>
>> This fixes dnxhr mxf files being quarantined by Avid Media Composer.
>>
>> Signed-off-by: Jason Stevens <jay at wizardofthenet.com>
>> ---
>>  libavformat/mxfenc.c | 53 +++++++++++++++++++++++++++++++++++++++++++-
>>  1 file changed, 52 insertions(+), 1 deletion(-)
>>
>> +    case 1272:
>> +        sc->index = INDEX_DNXHR_HQ;
>> +        break;
>> +    case 1271:
>> +        sc->index = INDEX_DNXHR_HQX;
>> +        sc->component_depth = 10;
>> +        break;
>> +    case 1270:
>> +        sc->index = INDEX_DNXHR_444;
>> +        sc->component_depth = 10;
>> +        break;
> 
> DNxHR HQX/444 can be 12bit.
> 

Missed that as the dnxhd encoder doesn't accept 12bit today.
The mxf mxuer should handle both 10/12. fixed in version 5.

-Jason




More information about the ffmpeg-devel mailing list