felx / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

ffmbc can't decode the audio from Avid Interplay created MXF #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

This is a report forwarded to me from a colleague:
"A DNxHD MXF generated by an Avid Interplay system in Glasgow.
FFmbc will not play the audio correctly, it decodes it horrible."

This is what FFmbc makes of the file: note the pcm_alaw audio.

$ ~/Documents/src/ffmbc/v0.7/FFmbc-0.7-rc9-pre2/ffmbc -i pq_squiffy.mxf 
FFmbc version git-2013-09-17-03e3c87-static 
Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers 
Input #0, mxf, from 'pq_squiffy.mxf': 
  Metadata: 
    operational_pattern: Op1a 
    system_timecode: 00:00:00:00 
    timecode: 10:00:00:00 
  Duration: 00:00:02.40, bitrate: 124545 kb/s 
    Stream #0.0(und): Video: dnxhd, yuv422p, 1920x1080i tff, 25.00 fps 
    Stream #0.1(und): Audio: pcm_alaw, 48000 Hz, 1 channels, s16, 384 kb/s 
    Stream #0.2(und): Audio: pcm_alaw, 48000 Hz, 1 channels, s16, 384 kb/s 
At least one output file must be specified 

This is what trunk FFmpeg finds: note the pcm_s16le audio.

~/Documents/src/ffmpeg/ffmpeg -i pq_squiffy.mxf 
ffmpeg version N-56192-g2a1c24a-static Copyright (c) 2000-2013 the FFmpeg 
developers 
  built on Sep 11 2013 13:51:20 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1) 
  configuration: --disable-shared --enable-static --extra-version=static --extra-cflags='--static -I/usr/local/include' --extra-libs='-static -L/usr/local/lib' --prefix=/usr/local --disable-ffplay --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libxvid --enable-libfreetype 
  libavutil 52. 43.100 / 52. 43.100 
  libavcodec 55. 31.101 / 55. 31.101 
  libavformat 55. 16.102 / 55. 16.102 
  libavdevice 55. 3.100 / 55. 3.100 
  libavfilter 3. 84.100 / 3. 84.100 
  libswscale 2. 5.100 / 2. 5.100 
  libswresample 0. 17.103 / 0. 17.103 
  libpostproc 52. 3.100 / 52. 3.100 
Guessed Channel Layout for Input Stream #0.1 : mono 
Guessed Channel Layout for Input Stream #0.2 : mono 
Input #0, mxf, from 'pq_squiffy.mxf': 
  Metadata: 
    uid : 0400c604-f3a6-db4e-b32d-38718dd8e608 
    generation_uid : 2c19dfc2-af20-e448-b964-3320ed544c1d 
    company_name : AVID 
    product_name : TRMG 
    product_version : 3.00 
    product_uid : 00000000-0000-0000-0000-000000000000 
    modification_date: 2013-09-19 14:17:47 
    timecode : 10:00:00:00 
  Duration: 00:00:02.40, start: 0.000000, bitrate: 124545 kb/s 
    Stream #0:0: Video: dnxhd, yuv422p, 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc 
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s 
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s 

Original issue reported on code.google.com by mark.him...@gmail.com on 23 Sep 2013 at 2:43

GoogleCodeExporter commented 8 years ago
This file is using the wrong codec ul, I can workaround, but this is a broken 
file.
I don't know why ffmpeg says alaw is the default audio codec, I don't see that 
in RP224.

Original comment by baptiste...@gmail.com on 23 Sep 2013 at 10:49

GoogleCodeExporter commented 8 years ago

Original comment by baptiste...@gmail.com on 1 Apr 2014 at 4:32