[FFmpeg-trac] #7173(avcodec:new): Incorrect last frames for vc1 conformance sample

FFmpeg trac at avcodec.org
Sat Apr 28 22:48:50 EEST 2018


#7173: Incorrect last frames for vc1 conformance sample
--------------------------------------+---------------------------------
               Reporter:  cehoyos     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avcodec
                Version:  git-master  |               Keywords:  vc1
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+---------------------------------
 The last frames of the conformance sample SA10100.vc1 are not bit-exact
 when decoded with the software decoder, works fine with {{{-hwaccel
 vdpau}}} here.
 {{{
 $ ffmpeg -i SA10100.vc1 -f framecrc -
 ffmpeg version N-90869-g2d7ba3a Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 6.4.0 (GCC)
   configuration: --enable-gpl
   libavutil      56. 17.100 / 56. 17.100
   libavcodec     58. 19.100 / 58. 19.100
   libavformat    58. 13.100 / 58. 13.100
   libavdevice    58.  4.100 / 58.  4.100
   libavfilter     7. 20.100 /  7. 20.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
 [vc1 @ 0x2413400] Failed to open codec in avformat_find_stream_info
 [NULL @ 0x2414bc0] ignoring invalid SAR: 0/0
 Input #0, vc1, from 'SA10100.vc1':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: vc1 (Advanced), yuv420p(top first), 720x480 [SAR
 1:1 DAR 3:2], 25 tbr, 1200k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (vc1 (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 #software: Lavf58.13.100
 #tb 0: 1/25
 #media_type 0: video
 #codec_id 0: rawvideo
 #dimensions 0: 720x480
 #sar 0: 1/1
 Output #0, framecrc, to 'pipe:':
   Metadata:
     encoder         : Lavf58.13.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480
 [SAR 1:1 DAR 3:2], q=2-31, 103680 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.19.100 rawvideo
 0,          0,          0,        1,   518400, 0x5c9e220b
 0,          2,          2,        1,   518400, 0x56b2482b
 0,          3,          3,        1,   518400, 0xfcce8f91
 0,          4,          4,        1,   518400, 0x5240aa52
 0,          5,          5,        1,   518400, 0x5336b65e
 0,          6,          6,        1,   518400, 0x6c54cc5c
 0,          7,          7,        1,   518400, 0x6c54cc5c
 0,          8,          8,        1,   518400, 0x2d014749
 0,          9,          9,        1,   518400, 0x2d014749
 0,         10,         10,        1,   518400, 0x19ac7442
 0,         11,         11,        1,   518400, 0x19ac7442
 0,         12,         12,        1,   518400, 0x19ac7442
 0,         13,         13,        1,   518400, 0x19ac7442
 0,         14,         14,        1,   518400, 0x19ac7442
 0,         15,         15,        1,   518400, 0x19ac7442
 0,         16,         16,        1,   518400, 0x19ac7442
 0,         17,         17,        1,   518400, 0x19ac7442
 0,         18,         18,        1,   518400, 0x89dac48f
 0,         19,         19,        1,   518400, 0x89dac48f
 0,         20,         20,        1,   518400, 0x8c1bd7f8
 0,         21,         21,        1,   518400, 0x669358d6
 0,         22,         22,        1,   518400, 0x5896c6e9
 0,         23,         23,        1,   518400, 0xc56ae392
 0,         24,         24,        1,   518400, 0x74b6da86
 0,         25,         25,        1,   518400, 0x74b6da86
 0,         26,         26,        1,   518400, 0xe0c813b5
 0,         27,         27,        1,   518400, 0x62cf58d0
 0,         28,         28,        1,   518400, 0x62cf58d0
 0,         29,         29,        1,   518400, 0x62cf58d0
 0,         30,         30,        1,   518400, 0x62cf58d0
 frame=   30 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:01.24 bitrate=
 12.0kbits/s speed=27.1x
 video:15188kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}
 The output of the reference decoder is different for the last frames:
 {{{
 $ ffmpeg -s 720x480 -i testout.yuv -f framecrc -
 ffmpeg version N-90869-g2d7ba3a Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 6.4.0 (GCC)
   configuration: --enable-gpl
   libavutil      56. 17.100 / 56. 17.100
   libavcodec     58. 19.100 / 58. 19.100
   libavformat    58. 13.100 / 58. 13.100
   libavdevice    58.  4.100 / 58.  4.100
   libavfilter     7. 20.100 /  7. 20.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
 [rawvideo @ 0x3fe9480] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, rawvideo, from 'testout.yuv':
   Duration: 00:00:01.20, start: 0.000000, bitrate: 103680 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480,
 103680 kb/s, 25 tbr, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 #software: Lavf58.13.100
 #tb 0: 1/25
 #media_type 0: video
 #codec_id 0: rawvideo
 #dimensions 0: 720x480
 #sar 0: 0/1
 Output #0, framecrc, to 'pipe:':
   Metadata:
     encoder         : Lavf58.13.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480,
 q=2-31, 103680 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.19.100 rawvideo
 0,          0,          0,        1,   518400, 0x5c9e220b
 0,          1,          1,        1,   518400, 0x56b2482b
 0,          2,          2,        1,   518400, 0xfcce8f91
 0,          3,          3,        1,   518400, 0x5240aa52
 0,          4,          4,        1,   518400, 0x5336b65e
 0,          5,          5,        1,   518400, 0x6c54cc5c
 0,          6,          6,        1,   518400, 0x6c54cc5c
 0,          7,          7,        1,   518400, 0x2d014749
 0,          8,          8,        1,   518400, 0x2d014749
 0,          9,          9,        1,   518400, 0x19ac7442
 0,         10,         10,        1,   518400, 0x19ac7442
 0,         11,         11,        1,   518400, 0x19ac7442
 0,         12,         12,        1,   518400, 0x19ac7442
 0,         13,         13,        1,   518400, 0x19ac7442
 0,         14,         14,        1,   518400, 0x19ac7442
 0,         15,         15,        1,   518400, 0x19ac7442
 0,         16,         16,        1,   518400, 0x19ac7442
 0,         17,         17,        1,   518400, 0x89dac48f
 0,         18,         18,        1,   518400, 0x89dac48f
 0,         19,         19,        1,   518400, 0x8c1bd7f8
 0,         20,         20,        1,   518400, 0x669358d6
 0,         21,         21,        1,   518400, 0x5896c6e9
 0,         22,         22,        1,   518400, 0xc56ae392
 0,         23,         23,        1,   518400, 0x74b6da86
 0,         24,         24,        1,   518400, 0x74b6da86
 0,         25,         25,        1,   518400, 0x572c15d4
 0,         26,         26,        1,   518400, 0xac855ca4
 0,         27,         27,        1,   518400, 0xac855ca4
 0,         28,         28,        1,   518400, 0xac855ca4
 0,         29,         29,        1,   518400, 0xac855ca4
 frame=   30 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:01.20 bitrate=
 12.4kbits/s speed= 122x
 video:15188kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7173>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list