Opened 8 years ago

Last modified 8 years ago

#5827 new defect

Remuxing file from Sony PXW-X70 to mov causes file with playback errors in Quicktime, Final Cut and Premiere

Reported by: rmk Owned by:
Priority: normal Component: avformat
Version: unspecified Keywords: mov h264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Command line and output:

ffmpeg -i Clip0001.MXF -c copy Clip0001-rewrap-ffmpeg-head.mov
ffmpeg version N-81564-geed7e08 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: 
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.102 / 57. 54.102
  libavformat    57. 48.102 / 57. 48.102
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 60.100 /  6. 60.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mxf, from 'Clip0001.MXF':
  Metadata:
    uid             : 36aa6a8a-4aa6-122d-a8f6-000000000000
    generation_uid  : 36aa6a94-4aa6-122d-9c76-000000000000
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : ffffffff-ffff-ffff-ffff-ffffffffffff
    modification_date: 2016-04-17T21:55:21.000000Z
    material_package_umid: 0x060A2B340101010501010D43130000003D0AD7E9957405DAFCC2DEFFFEC165C3
    timecode        : 00:00:00:00
  Duration: 00:00:16.80, start: 0.000000, bitrate: 53556 kb/s
    Stream #0:0: Video: h264 (High 4:2:2), yuv422p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
    Stream #0:5: Data: none
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
      data_type       : vbi_vanc_smpte_436M
[mov @ 0x7fb1e386cc00] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mov, to 'Clip0001-rewrap-ffmpeg-head.mov':
  Metadata:
    uid             : 36aa6a8a-4aa6-122d-a8f6-000000000000
    generation_uid  : 36aa6a94-4aa6-122d-9c76-000000000000
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : ffffffff-ffff-ffff-ffff-ffffffffffff
    modification_date: 2016-04-17T21:55:21.000000Z
    material_package_umid: 0x060A2B340101010501010D43130000003D0AD7E9957405DAFCC2DEFFFEC165C3
    timecode        : 00:00:00:00
    encoder         : Lavf57.48.102
    Stream #0:0: Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 0.04 fps, 25 tbr, 12800 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
    Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000003E0AD7E9957405DAFCC2DEFFFEC165C3
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov @ 0x7fb1e386cc00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mov @ 0x7fb1e386cc00] pts has no value
frame=  420 fps=0.0 q=-1.0 Lsize=  100349kB time=00:00:16.80 bitrate=48932.0kbits/s speed=70.6x    
video:97977kB audio:2362kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.009111%

The resulting file has different playback errors in Quicktime, Final Cut and Premiere.

Quicktime X should probably refuse to play the file because it is 10bit H.264 which Quicktime X apparently does not support and remuxed files from Sony FS-7 files with similar properties have that behaviour and play back fine in Final Cut and Premiere.

One thing I noticed is that the resulting file has “ai12” as fourcc which I assume is incorrect, because it is no AVC-Intra file. The remuxed FS-7 file has “avc1” as fourCC and another difference between those two is that the one remuxed from FS-7 contains avcC info in the sample description but the one with the problems doesn’t. No idea if that is the cause or the fourcc or something else.

The sample can be downloaded at https://www.dropbox.com/s/5xxob2taad46flb/Clip0001.MXF?dl=1

Change History (2)

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: h264 added; h.264 removed

Does it help if you overwrite the "fourcc"?

comment:2 by rmk, 8 years ago

I just tried. It does not help.

  • Quicktime X displays black
  • FCPX displays black
  • Premiere seems to have an internal error while importing
Note: See TracTickets for help on using tickets.