[FFmpeg-trac] #4820(avformat:open): Converting a H264 MXF to a H264 MOV with "-vcodec copy" results in mov unreadable by QuickTime

FFmpeg trac at avcodec.org
Wed Sep 2 10:27:26 CEST 2015


#4820: Converting a H264 MXF to a H264 MOV with "-vcodec copy" results in mov
unreadable by QuickTime
-------------------------------------+-------------------------------------
             Reporter:  Arnaud       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mxf h264     |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mxf h264 regression
 * priority:  normal => important
 * version:  2.5.7 => git-master
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Replying to [comment:3 Arnaud]:
 > In any case the video in available (see comment 1) so you should be able
 to easily reproduce the problem.

 I disagree and please understand that while I am thankful that you opened
 this ticket, I have to add that I find it rude to use open source software
 without providing the local patches to the developers (no matter if the
 patches will be used or not).
 {{{
 $ ffmpeg -i h264_vid.mxf -vcodec copy out.mov
 ffmpeg version N-74769-gc3cd1a7 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 59.100 / 56. 59.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
 [mxf @ 0x25783c0] "OPAtom" with 2 ECs - assuming OP1a
 [mxf @ 0x25783c0] Could not find codec parameters for stream 0 (Video:
 none, none, 1920x1080): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 h264_vid.mxf: could not find codec parameters
 Input #0, mxf, from 'h264_vid.mxf':
   Metadata:
     uid             : 6cb3041f-371a-4db9-b067-49cefe64abab
     generation_uid  : 12ae10af-ca72-4ea3-b60a-e02cb822de57
     company_name    : Doremi Labs, Inc.
     product_name    : LibMedia
     product_version : 1.0.0
     product_uid     : a1ed80d7-c157-6f4c-9b6b-03955342f5b9
     modification_date: 2015-08-27 08:36:22
     application_platform: QT
     material_package_umid:
 0x060A2B340101010501010F201300000063D64B46740D4757919DA38E176A189C
     material_package_name: Material Package
     timecode        : 00:00:00:00
   Duration: 00:00:10.00, start: 0.000000, bitrate: 15664 kb/s
     Stream #0:0: Video: none, none, 1920x1080, SAR 1:1 DAR 16:9, 24 fps,
 24 tbr, 24 tbn, 24 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010F20130000009FE4956565C24E42BB0580426CF25316
       file_package_name: File Package: SMPTE 381M frame wrapping of AVC
 video elementary stream
 [mov @ 0x25b4ac0] Codec for stream 0 does not use global headers but
 container format requires global headers
 [mov @ 0x25b4ac0] Could not find tag for codec none in stream #0, codec
 not currently supported in container
 Output #0, mov, to 'out.mov':
   Metadata:
     uid             : 6cb3041f-371a-4db9-b067-49cefe64abab
     generation_uid  : 12ae10af-ca72-4ea3-b60a-e02cb822de57
     company_name    : Doremi Labs, Inc.
     product_name    : LibMedia
     product_version : 1.0.0
     product_uid     : a1ed80d7-c157-6f4c-9b6b-03955342f5b9
     modification_date: 2015-08-27 08:36:22
     application_platform: QT
     material_package_umid:
 0x060A2B340101010501010F201300000063D64B46740D4757919DA38E176A189C
     material_package_name: Material Package
     timecode        : 00:00:00:00
     encoder         : Lavf56.40.101
     Stream #0:0: Video: none, none, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31,
 24 fps, 24 tbr, 24 tbn, 24 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010F20130000009FE4956565C24E42BB0580426CF25316
       file_package_name: File Package: SMPTE 381M frame wrapping of AVC
 video elementary stream
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid argument
 }}}

 Anyway: This could be considered a regression since
 ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878 related to tickets #1294 and
 #1666, could also be considered a duplicate of ticket #3499.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4820#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list