[FFmpeg-devel] [PATCH] libavcodec/dnxhd: add support more dnxhr header prefixes
Mark Reid
mindmark at gmail.com
Tue Jul 12 05:07:20 EEST 2016
Hi,
The following patch adds support for detecting more dnxhr header prefixes.
After generating many random resolution dnxhr files via quicktime,
I have deduced that second 4 bytes in prefix is the header size or
data offset to the end of the scan table. On heights smaller then 1080 the
header size is always 0x0280
here are some samples with prefixes that aren't currently supported.
https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/new_header_prefixs/lb_2k_2048x1536.mxf
https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/new_header_prefixs/lb_4k_Full_Aperture_4096x3112.mxf
https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/new_header_prefixs/lb_custom_2766x3234.mov
https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/new_header_prefixs/lb_custom_3462x2134.mov
Mark Reid (1):
libavcodec/dnxhd: add support more dnxhr header prefixes
libavcodec/dnxhddata.h | 15 +++++++++++----
libavcodec/dnxhddec.c | 2 +-
2 files changed, 12 insertions(+), 5 deletions(-)
--
2.7.3
More information about the ffmpeg-devel
mailing list