[FFmpeg-trac] #6465(undetermined:new): wrong metadata for the DNxHD codec prevent playback on Specialized Broadcast Hardware
FFmpeg
trac at avcodec.org
Thu Jun 15 15:48:35 EEST 2017
#6465: wrong metadata for the DNxHD codec prevent playback on Specialized
Broadcast Hardware
-------------------------------------+-------------------------------------
Reporter: NNois | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
hi,
the "encoder" text metadata reported by ffmpeg with the dnxhd codec are
wrong and this is blocking the playback possibility with many Specialized
Broacast Hardware
the DNxHD encoder has profiles (doc):
{{{
-profile <int> E..V.... (from 0 to 5) (default dnxhd)
dnxhd E..V....
dnxhr_444 E..V....
dnxhr_hqx E..V....
dnxhr_hq E..V....
dnxhr_sq E..V....
dnxhr_lb E..V....
}}}
but all profiles Output the same "encoder" text Metadata, and this is not
respecting the original Avid DNxHD encoder profiles..
for example the dnxhr_444 reports
{{{
encoder : Lavf57.72.101
Stream #0:0(eng): Video: dnxhd (DNXHR 444) (AVdh / 0x68645641),
yuv444p10le(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-1024, 200
kb/s, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2017-06-15T13:05:36.000000Z
handler_name : Gestionnaire d▒alias Apple
timecode : 00:00:00:00
encoder : DNxHD 709
}}}
but the apple codecs (with avid codecs) reports the "encoder" text
{{{
Stream #0:0(eng): Video: dnxhd (DNXHR 444) (AVdh / 0x68645641),
yuv444p12le(tv, bt709/unknown/unknown), 1920x1080, 367001 kb/s, SAR 1:1
DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 2017-06-15T13:01:01.000000Z
handler_name : Gestionnaire d▒alias Apple
encoder : DNxHR
timecode : 00:00:00:00
}}}
to continue the avid codec reports the dnxhd "encoder" text with two
spaces between DNxHD and 709, here's an ouput
{{{
Stream #0:0(eng): Video: dnxhd (DNXHD) (AVdn / 0x6E645641),
yuv444p10le(tv, bt709/unknown/unknown), 1920x1080, 367001 kb/s, SAR 1:1
DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 2017-06-15T13:05:36.000000Z
handler_name : Gestionnaire d▒alias Apple
encoder : DNxHD 709
timecode : 00:00:00:00
}}}
so, the "encoder" text should be:
dnxhd "DNxHD 709"
dnxhr_444 "DNxHR"
dnxhr_hqx "DNxHR"
dnxhr_hq "DNxHR"
dnxhr_sq "DNxHR"
dnxhr_lb "DNxHR"
One second problem is that normaly the switch
-metadata:s encoder="DNxHD 709" works (for example the prores encoder
needs special encoder by codec) but in the case with the mdxhd encoder
this option has no effect and we can't change the "encoder" text
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6465>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list