[FFmpeg-user] Warnings when decoding from AVC-Intra

Robert Krüger krueger at lesspain.de
Tue May 6 18:11:44 CEST 2014


On Tue, May 6, 2014 at 4:02 PM, Christoph Gerstbauer
<christophgerstbauer at gmx.at> wrote:
> Hello,
>
> I am trying to decode different AVC-Intra MXF Files (4:2:0/4:2:2 10bit) to
> ffv1/ffvhuff (mathematically lossless transcoding).
>
> FFmpeg can open the files (MXFs are made by different encoder tools) but at
> the decoding of the h264 stream (AVC-I with yuv420p10le and yuv422p10le)
> there is always following warning at every file (6 test files):
>
> *[h264 @ 00000000003b1320]* *Overread VUI by 5 bits*
> *[h264 @ 0000000004a78340] Overread VUI by 5 bits*
>
> And at one special file there are more warning at specific positions in the
> video:
>
> [h264 @ 00000000045c75c0]*non-existing PPS 5 referenced**.*56
> bitrate=372652.0kbits/s
> [h264 @ 00000000045c75c0] *decode_slice_header error*
> [h264 @ 00000000045c8800] *Partitioned H.264 support is
> incomplete*e=378444.9kbits/s
> [h264 @ 00000000045c5140] *A non-intra slice in an IDR NAL
> unit*.ate=378865.7kbits/s
> [h264 @ 00000000045c5140] *decode_slice_header error*
> [h264 @ 00000000045c5140] *non-existing PPS 59 referenced24*
> bitrate=379157.0kbits/s
> [h264 @ 00000000045c5140] *decode_slice_header error*
>
> So I am worried: Is there any loss in the decoding process? (Details below).
>
> Best Regards
> Christoph
>
>
> Details:
>
> ffmpeg -i "inputfile.mxf" -vcodec ffv1 -level 3 -an "I:\test.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 @ 00000000003c7d00] 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 @ 00000000003c7d00] 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.
> [h264 @ 00000000003b1320] *Overread VUI by 5 bits*
>     Last message repeated 1 times
> [mxf @ 00000000003c7d00] Stream #0: not enough frames to estimate rate;
> consider increasing probesize
> Guessed Channel Layout for  Input Stream #0.1 : mono
> Guessed Channel Layout for  Input Stream #0.2 : mono
> Guessed Channel Layout for  Input Stream #0.3 : mono
> Guessed Channel Layout for  Input Stream #0.4 : mono
> Input #0, mxf, from 'inputfile.mx
> f':
>   Metadata:
>     uid             : 3fd61200-8436-05c1-f134-080046020221
>     generation_uid  : 3fd61200-8436-05c2-f134-080046020221
>     company_name    : Matrox Electronic
>     product_name    : DSX
>     product_version : 3.0
>     product_uid     : 060e2b34-0401-0103-0e06-012002010200
>     modification_date: 2013-10-10 19:03:51
>     timecode        : 00:00:00:00
>   Duration: 00:00:22.24, start: 0.000000, bitrate: 118889 kb/s
>     Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709),
> 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
>     Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
>     Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
>     Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
>     Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
> File 'I:\test.avi' already exists. Overwrite ? [y/N] y
> [ffv1 @ 000000000467f980] bits_per_raw_sample > 8, forcing coder 1
> *[h264 @ 0000000004a78340] Overread VUI by 5 bits*
> Output #0, avi, to 'I:\test.avi':
>   Metadata:
>     uid             : 3fd61200-8436-05c1-f134-080046020221
>     generation_uid  : 3fd61200-8436-05c2-f134-080046020221
>     company_name    : Matrox Electronic
>     product_name    : DSX
>     product_version : 3.0
>     product_uid     : 060e2b34-0401-0103-0e06-012002010200
>     modification_date: 2013-10-10 19:03:51
>     ISMP            : 00:00:00:00
>     ISFT            : Lavf55.33.100
>     Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p10le, 1920x1080
> [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 -> ffv1)
> Press [q] to stop, [?] for help
> [h264 @ 00000000045c75c0]*non-existing PPS 5 referenced**.*56
> bitrate=372652.0kbits/s
> [h264 @ 00000000045c75c0] *decode_slice_header error*
> [h264 @ 00000000045c8800] *Partitioned H.264 support is
> incomplete*e=378444.9kbits/s
> [h264 @ 00000000045c5140] *A non-intra slice in an IDR NAL
> unit*.ate=378865.7kbits/s
> [h264 @ 00000000045c5140] *decode_slice_header error*
> [h264 @ 00000000045c5140] *non-existing PPS 59 referenced24*
> bitrate=379157.0kbits/s
> [h264 @ 00000000045c5140] *decode_slice_header error*
> frame=  556 fps= 10 q=0.0 Lsize= 1032824kB time=00:00:22.24
> bitrate=380436.0kbits/s
> video:1032805kB audio:0kB subtitle:0 data:0 global headers:0kB muxing
> overhead 0.001833%

Have you tried to check if the resulting image is the same using the
framemd5 format?

ffmpeg -i <file to check> -f framemd5 md5-out.txt

HTH,

Robert


More information about the ffmpeg-user mailing list