Opened 10 years ago

Closed 10 years ago

#3100 closed enhancement (fixed)

Support AVID mxf files

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mxf AVID
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/48728

A user uploaded two mxf files that are both unsupported by FFmpeg.

$ ffmpeg -i 1sec_mxf_test_Video5270C795.mxf -i 1sec_mxf_test_A5270C779.1.mxf
ffmpeg version N-57650-gcb52d6d Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 31 2013 01:03:43 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 48.100 / 52. 48.100
  libavcodec     55. 39.100 / 55. 39.100
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[mpeg2video @ 0x324b520] Codec type or id mismatches
Input #0, mxf, from '1sec_mxf_test_Video5270C795.mxf':
  Metadata:
    uid             : f82c1caa-7bae-45ab-9a1c-9f581335d1a5
    generation_uid  : 81b0ffc4-844d-627a-ac44-2d7de82e4351
    application_platform: Win32
    modification_date: 2013-10-30 08:47:17
    product_uid     : acfbf03a-4f42-a231-d0b7-c06ecd3d4ad7
    product_version : Unknown version
    product_name    : Avid Media Composer 6.0.4
    company_name    : Avid Technology, Inc.
    timecode        : 00:02:00:00
  Duration: 00:00:01.00, start: 0.000000, bitrate: 58729 kb/s
    Stream #0:0: Data: mpeg2video
Input #1, mxf, from '1sec_mxf_test_A5270C779.1.mxf':
  Metadata:
    uid             : 7608c7da-06fe-41f9-a603-fc51ecce9efb
    generation_uid  : b73a1681-a662-716b-d601-0c52132d4d20
    application_platform: Win32
    modification_date: 2013-10-30 08:46:49
    product_uid     : acfbf03a-4f42-a231-d0b7-c06ecd3d4ad7
    product_version : Unknown version
    product_name    : Avid Media Composer 6.0.4
    company_name    : Avid Technology, Inc.
    timecode        : 00:02:00:00
  Duration: 00:00:01.00, start: 0.000000, bitrate: 12587 kb/s
    Stream #1:0: Data: none
At least one output file must be specified

Change History (4)

comment:2 by llogan, 10 years ago

Reproduced by developer: set
Status: newopen

comment:3 by rmk, 10 years ago

Both files are, as suspected, OP-Atom files. Below is the output of the mxf2raw utility of the bmx project in the hope it might help someone, who implements this, to know as much about these files as possible:

MXF File Information:

Filename : /Users/krueger/tmp/avid/1sec_mxf_test_Video5270C795.mxf
MXF version : 1.1
OP label : OP-Atom (>1 source clips, >1 essence tracks)
Wrapping type : Clip
Material package name : 1sec_mxf_test,Video Mixdown,1
Material start timecode : 00:02:00:00 (@ 25fps)
Edit rate : 25/1
Precharge : 0
Duration : 25
Rollout : 0
Identifications :

Identification 0:

Generation UID : 81b0ffc4.844d627a.ac442d7d.e82e4351
Company name : Avid Technology, Inc.
Product name : Avid Media Composer 6.0.4
Product version : 6.0.0.0.1 (released version)
Version string : Unknown version
Product UID : acfbf03a.4f42a231.d0b7c06e.cd3d4ad7
Modification date : 2013-10-30 08:47:17.000
Toolkit version : 1.1.6.7750.0 (unknown version)
Platform : Win32

Track 0:

Essence kind : Picture
Essence type : MPEG-2 Long GOP 422P@HL 1080i
Essence label : 060e2b34.04010101.0e040301.02030000
Material package uid : 060a2b34.01010101.01010f00.13000000.5270c795.58c00a80.060e2b34.7f7f2a80
Material track id : 1
Material track number: 1
File package uid : 060a2b34.01010101.01010f00.13000000.5270c795.58c10a80.060e2b34.7f7f2a80
File track id : 1
File track number : 0x15010301
Edit rate : 25/1
Duration : 25
Lead filler offset : 0
Picture coding label : 060e2b34.04010103.04010202.01040300
Signal standard : 0 (None)
Frame layout : 1 (Separate Fields)
Stored dimensions : 1920x1080
Display dimensions : 1920x1080
Display x offset : 0
Display y offset : 0
Aspect ratio : 16/9
AFD : (not set)
Component depth : 8
Horiz subsampling : 2
Vert subsampling : 1
Color siting : 4 (Rec 601)

---

MXF File Information:

Filename : /Users/krueger/tmp/avid/1sec_mxf_test_A5270C779.1.mxf
MXF version : 1.1
OP label : OP-Atom (>1 source clips, >1 essence tracks)
Wrapping type : Clip
Material package name : 1sec_mxf_test,Audio Mixdown,1
Material start timecode : 00:02:00:00 (@ 25fps)
Edit rate : 48000/1
Precharge : 0
Duration : 48000
Rollout : 0
Identifications :

Identification 0:

Generation UID : b73a1681.a662716b.d6010c52.132d4d20
Company name : Avid Technology, Inc.
Product name : Avid Media Composer 6.0.4
Product version : 6.0.0.0.1 (released version)
Version string : Unknown version
Product UID : acfbf03a.4f42a231.d0b7c06e.cd3d4ad7
Modification date : 2013-10-30 08:46:49.000
Toolkit version : 1.1.6.7750.0 (unknown version)
Platform : Win32

Track 0:

Essence kind : Sound
Essence type : WAVE PCM
Essence label : 060e2b34.04010101.0d010301.02060200
Material package uid : 060a2b34.01010101.01010f00.13000000.5270c779.eb6e0a7f.060e2b34.7f7f2a80
Material track id : 2
Material track number: 2
File package uid : 060a2b34.01010101.01010f00.13000000.5270c779.eb8d0a7f.060e2b34.7f7f2a80
File track id : 1
File track number : 0x16010201
Edit rate : 48000/1
Duration : 48000
Lead filler offset : 0
Sampling rate : 48000/1
Bits per sample : 16
Block align : 2
Channel count : 1
Sequence offset : 0
Locked : false
Audio ref level : -20
Dial norm : 27

comment:4 by Carl Eugen Hoyos, 10 years ago

Resolution: fixed
Status: openclosed

Fixed by Mark Reid in 882fb53c

Note: See TracTickets for help on using tickets.