[FFmpeg-user] Audio decoding and MXFcontainer problem with DNxHD MXF

Christoph Gerstbauer christophgerstbauer at gmx.at
Wed May 7 15:25:34 CEST 2014


Hello,

I have a audio decoding/MXFcontainer problems with a MXF Op1a file which 
was encoded by Adobe Premiere (Videocodec DNxHD, AudioCodec pcm_s24le).

When I open the file with ffprobe it shows me following warning messages:
1.) [mxf @ 0000000002a58080] Field dominance 0 support is not implemented
2.) [mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit 
unit 1 extending into next edit unit is not implemented

When I transcode it (video and audio) I get an additional error at 
decoding the audio:
3.) [pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 
but at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input

In the final target file, the audio error is hearable between 
00:00:05.000 - END OF FILE. Sounds like clipping.
When I decode the file with FFmbc, there is no problem with the audio 
(but an other warning:
[dnxhd @ 00000000003893E0] frame size changed: 1920x540 -> 1920x1080)

For error 1.) (Field order)
I checked with mxfdump: there is no KLV field order information (like "[ 
k = FieldDominance 32.12, l = 1 (0001) ] 0  01") in the MXF Container 
itself. That would fit. -> "Field dominance 0", but I am not shure if 
ffmpeg reads out this information from the MXF, does it?

Regarding errors 2.) and 3.): What is the cause for these warning/error?

The file (with dump) can be downloaded here:
https://dl.dropboxusercontent.com/u/26129407/ffmpeg_user_mailing_sample_DNxHD_MXF.zip

Best Regards
Christoph


Command Line output (short version because of error redundancy):

C:\Users\gersti>ffmpeg -i "I:\New 
folder\Adobe-PremierePro-1A-DNxHD-1080i25.mxf" -vcodec ffvhuff -acodec 
pcm_s24le "I:\New folder\Adobe-PremierePro-1A-DNxHD-1080i25.avi"
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
   built on Apr 11 2014 00:32:01 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype 
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp 
--enable-libschroedinger --enable-libsoxr --enable-libspeex 
--enable-libtheora --enable-libtwolame --enable-libvidst
ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs 
--enable-libxvid --enable-zlib
   libavutil      52. 66.100 / 52. 66.100
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 33.100 / 55. 33.100
   libavdevice    55. 10.100 / 55. 10.100
   libavfilter     4.  2.100 /  4.  2.100
   libswscale      2.  5.102 /  2.  5.102
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
[mxf @ 0000000002a58080] Field dominance 0 support is not implemented. 
Update your FFmpeg version to the newest one from Git. If the problem 
still occurs, it means that your file h
as a feature which has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
0 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
1 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
2 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
3 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
4 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
Guessed Channel Layout for  Input Stream #0.1 : 7.1
Input #0, mxf, from 'I:\New folder\Adobe-PremierePro-1A-DNxHD-1080i25.mxf':
   Metadata:
     uid             : f566fc81-46e1-11e3-b1d4-28cfe91730a1
     generation_uid  : f566fc82-46e1-11e3-b8a7-28cfe91730a1
     company_name    : Adobe Systems Incorporated
     product_name    : Premiere Pro
     product_version : 7.1.0
     application_platform: Mac OS X
     product_uid     : 10ab07a9-e89e-7510-a923-ea9220524153
     modification_date: 2013-11-06 12:50:05
     timecode        : 00:00:00:00
   Duration: 00:00:10.04, start: 0.000000, bitrate: 196637 kb/s
     Stream #0:0: Video: dnxhd, yuv422p, 1920x1080, 25 fps, 25 tbr, 25 
tbn, 25 tbc
     Stream #0:1: Audio: pcm_s24le, 48000 Hz, 7.1, s32, 9216 kb/s
File 'I:\New folder\Adobe-PremierePro-1A-DNxHD-1080i25.avi' already 
exists. Overwrite ? [y/N] y
Output #0, avi, to 'I:\New folder\Adobe-PremierePro-1A-DNxHD-1080i25.avi':
   Metadata:
     uid             : f566fc81-46e1-11e3-b1d4-28cfe91730a1
     generation_uid  : f566fc82-46e1-11e3-b8a7-28cfe91730a1
     company_name    : Adobe Systems Incorporated
     product_name    : Premiere Pro
     product_version : 7.1.0
     application_platform: Mac OS X
     product_uid     : 10ab07a9-e89e-7510-a923-ea9220524153
     modification_date: 2013-11-06 12:50:05
     ISMP            : 00:00:00:00
     ISFT            : Lavf55.33.100
     Stream #0:0: Video: ffvhuff (FFVH / 0x48564646), yuv422p, 
1920x1080, q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 
7.1, s32, 9216 kb/s
Stream mapping:
   Stream #0:0 -> #0:0 (dnxhd -> ffvhuff)
   Stream #0:1 -> #0:1 (pcm_s24le -> pcm_s24le)
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
5 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
6 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
7 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
8 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
9 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which 
has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
10 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git.
  If the problem still occurs, it means that your file has a feature 
which has not been implemented.
.
.
.
.

[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
[mxf @ 0000000002a58080] OPAtom misinterpreted as OP1a?KLV for edit unit 
249 extending into next edit unit is not implemented. Update your FFmpeg 
version to the newest one from Git
. If the problem still occurs, it means that your file has a feature 
which has not been implemented.
[mxf @ 0000000002a58080] If you want to help, upload a sample of this 
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the 
ffmpeg-devel mailing list.
[pcm_s24le @ 00000000003b8d20] Invalid PCM packet, data has size 4 but 
at least a size of 24 was expected
Error while decoding stream #0:1: Invalid data found when processing input
frame=  251 fps=109 q=0.0 Lsize=  619130kB time=00:00:10.04 
bitrate=505170.5kbits/s
video:608119kB audio:10989kB subtitle:0 data:0 global headers:0kB muxing 
overhead 0.003470%


More information about the ffmpeg-user mailing list