[FFmpeg-user] Convert AVID MXF (audio only) to wav (preserving metadata)

Luigi Rensinghoff gigixiv at gmail.com
Thu Mar 6 15:59:17 CET 2014


Hi List 
 -- 

i have a question

 - i would like to batch-convert a lot of files, that are in mxf format

I have put one example-file here: 

https://dl.dropboxusercontent.com/u/1675926/56_2_002_0A01.CE843525E718A.mxf

The file was inspected with mediainfo: 

    
and Calibrated MXF-Stat:



General Properties

MXF Type: MXF Specialized OP Atom

Video Type: --

Audio Type: AVID AES-BWF Audio



VIDEO PROPERTIES

NO VIDEO FOUND



TIMECODE PROPERTIES

TimeCode: 17:47:16:21   24 FPS



AUDIO PROPERTIES

Audio Track #: 1 of 1

Track ID: 1

Track Name: NONE

Codec: PCM (Uncompressed)

Channels: 1

Sample Rate: 48000.00

Bit Depth: 24

Samples: 1250000

Origin: NONE




GENERAL METADATA

Clip Name: 56/2/2

Company: Avid Technology, Inc.

Product: Avid Media Composer 6.5.0.24380

Version: 6.5.0.0

Creation Date: 2013-10-16 10:59:22.000

Global Clip ID: 060A2B340101010101010F0013000000525E718AEA2B00A9060E2B347F7F2A80

Top Clip: NONE

Next Clip: NONE

Previous Clip: NONE

Is ffmpeg (OS X) capable of converting this / extracting the audio without changing it - keeping the metadata intact ???

What would be the command  -  which "lib" needs to be compiled in to do that ???

              I tried:

ffmpeg -i /file.mxf  -map_channel 0.1.0 -map_channel 0.1.1 -af "volume=volume=6dB:precision=fixed" /Users/file.wav

and

ffmpeg -i /file.mxf -acodec copy -f wav /file.wav


but that gives the following error:

ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  5 2014 23:08:55 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[mxf @ 0x7f9f7a800000] broken or empty index
[mxf @ 0x7f9f7a800000] cannot demux OPAtom without an index
/Users/gigi_mini/Desktop/file.mxf: Invalid data found when processing input


Any Ideas ???


Thanks

Luigi








More information about the ffmpeg-user mailing list