[FFmpeg-trac] #5815(avcodec:closed): vp8: auto-alt-ref does not work with transparency (was: Corrupted like VP8 video)

FFmpeg trac at avcodec.org
Fri Sep 16 15:26:35 EEST 2016


#5815: vp8: auto-alt-ref does not work with transparency
---------------------------------------+-----------------------------------
             Reporter:  MasterBlatter  |                    Owner:
                 Type:  defect         |                   Status:  closed
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:  invalid
             Keywords:  libvpx         |               Blocked By:
             Blocking:                 |  Reproduced by developer:  1
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------
Changes (by cehoyos):

 * component:  undetermined => avcodec
 * reproduced:  0 => 1


Comment:

 Patch sent, work-around is to force {{{-pix_fmt yuv420p}}}.
 {{{
 $ ffmpeg -f lavfi -i testsrc=d=10 -auto-alt-ref 1 -pix_fmt yuva420p
 -vcodec vp8 -pass 1 -f null -
 ffmpeg version N-81675-g5b509fa Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libvpx
   libavutil      55. 29.100 / 55. 29.100
   libavcodec     57. 56.100 / 57. 56.100
   libavformat    57. 49.100 / 57. 49.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 62.100 /  6. 62.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, lavfi, from 'testsrc=d=10':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 [libvpx @ 0x3732e80] v1.3.0
 [null @ 0x3731c20] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf57.49.100
     Stream #0:0: Video: vp8 (libvpx), yuva420p, 320x240 [SAR 1:1 DAR 4:3],
 q=-1--1, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.56.100 libvpx
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> vp8 (libvpx))
 Press [q] to stop, [?] for help
 frame=  250 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=
 0x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded
 }}}
 {{{
 $ ffmpeg -f lavfi -i testsrc=d=10 -auto-alt-ref 1 -pix_fmt yuva420p
 -vcodec vp8 -pass 2 out.webm
 ffmpeg version N-81675-g5b509fa Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libvpx
   libavutil      55. 29.100 / 55. 29.100
   libavcodec     57. 56.100 / 57. 56.100
   libavformat    57. 49.100 / 57. 49.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 62.100 /  6. 62.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, lavfi, from 'testsrc=d=10':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 [libvpx @ 0x3dba420] v1.3.0
 [webm @ 0x3db8c00] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
 Output #0, webm, to 'out.webm':
   Metadata:
     encoder         : Lavf57.49.100
     Stream #0:0: Video: vp8 (libvpx), yuva420p, 320x240 [SAR 1:1 DAR 4:3],
 q=-1--1, 200 kb/s, 25 fps, 1k tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.56.100 libvpx
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> vp8 (libvpx))
 Press [q] to stop, [?] for help
 frame=  250 fps=170 q=0.0 Lsize=     128kB time=00:00:09.96 bitrate=
 105.5kbits/s speed=6.78x
 video:110kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 16.137133%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5815#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list