Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#4353 closed defect (fixed)

DNxHD 444 from Blackmagic Resolve decodes first frame only

Reported by: simonburley Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mxf dnxhd
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

On a fresh pull from git ffmpeg will only decode the first picture frame of a DNxHD 444 mxf from Davinci Resolve and ignore the rest of the frames. I'm simply trying to transcode DNxHD 4:4:4 to Prores Quicktime but anything would suffice, even a sequence of jpeg files. All output types fail the same way.

Sample file with colour bars is uploaded, filename is ffmpeg_decodes_first_frame_only.mxf

How to reproduce:

/usr/export/linux/ffmpeg-git-050315/bin/ffmpeg -i /tmp/ffmpeg_decodes_first_frame_only.mxf -c:v prores /tmp/t.mov
ffmpeg version N-70445-g2af260e Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
  configuration: --prefix=/usr/export/linux/ffmpeg-git-050315 --enable-libx264 --enable-gpl --extra-ldflags=-L/usr/export/linux/libx264/lib --extra-cflags=-I/usr/export/linux/libx264/include --enable-ffplay
  libavutil      54. 19.100 / 54. 19.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mxf @ 0x2ad41c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, mxf, from '/tmp/ffmpeg_decodes_first_frame_only.mxf':
  Metadata:
    project_name    : 
    uid             : c1f81c01-a484-4a02-aa63-8eb69901c479
    generation_uid  : d1715100-e7c9-4f6f-be11-a5241a8cfa4c
    company_name    : Blackmagic Design
    product_name    : DaVinci Resolve
    product_version : 11.1b_lite
    product_uid     : 057cd849-178a-4b88-b4c7-825af8761b34
    modification_date: 2015-02-25 11:30:45
    application_platform: libMXF (Unknown)
    material_package_umid: 0x060A2B340101010101010F001300000054EDB265AFC32CD9060E2B347F7F2A80
    material_package_name: Bars and Tone (HD 25p-50i)
  Duration: 00:00:05.00, start: 0.000000, bitrate: 367631 kb/s
    Stream #0:0: Video: dnxhd, yuv444p10le, 1920x1080, SAR 1:1 DAR 16:9, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010101010F001300000054EDB265AFC52CD9060E2B347F7F2A80
      file_package_name: Bars and Tone (HD 25p-50i)
      reel_umid       : 0x060A2B340101010101010F001300000054EDB265AFC42CD9060E2B347F7F2A80
      timecode        : 00:00:00:00
[prores @ 0x2adbf00] encoding with ProRes standard (apcn) profile
[prores @ 0x2afd700] encoding with ProRes standard (apcn) profile
[prores @ 0x2adab00] encoding with ProRes standard (apcn) profile
Output #0, mov, to '/tmp/t.mov':
  Metadata:
    project_name    : 
    uid             : c1f81c01-a484-4a02-aa63-8eb69901c479
    generation_uid  : d1715100-e7c9-4f6f-be11-a5241a8cfa4c
    company_name    : Blackmagic Design
    product_name    : DaVinci Resolve
    product_version : 11.1b_lite
    product_uid     : 057cd849-178a-4b88-b4c7-825af8761b34
    modification_date: 2015-02-25 11:30:45
    application_platform: libMXF (Unknown)
    material_package_umid: 0x060A2B340101010101010F001300000054EDB265AFC32CD9060E2B347F7F2A80
    material_package_name: Bars and Tone (HD 25p-50i)
    encoder         : Lavf56.25.101
    Stream #0:0: Video: prores (apcn) (apcn / 0x6E637061), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010101010F001300000054EDB265AFC52CD9060E2B347F7F2A80
      file_package_name: Bars and Tone (HD 25p-50i)
      reel_umid       : 0x060A2B340101010101010F001300000054EDB265AFC42CD9060E2B347F7F2A80
      timecode        : 00:00:00:00
      encoder         : Lavc56.26.100 prores
Stream mapping:
  Stream #0:0 -> #0:0 (dnxhd (native) -> prores (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=      75kB time=00:00:00.04 bitrate=15361.2kbits/s    
video:74kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.781029%


Change History (3)

comment:1 Changed 4 years ago by michael

  • Keywords mxf dnxhd added

comment:2 Changed 3 years ago by richardpl

  • Resolution set to worksforme
  • Status changed from new to closed

Can not reproduce, command works fine here.

comment:3 Changed 3 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Reproduced by developer set
  • Resolution changed from worksforme to fixed
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.