[FFmpeg-trac] #7759(avcodec:open): Wrong length/frames with VP9 when using yuva420p and lossless
FFmpeg
trac at avcodec.org
Mon Mar 9 12:44:33 EET 2020
#7759: Wrong length/frames with VP9 when using yuva420p and lossless
--------------------------------------+-----------------------------------
Reporter: ChristianW | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: libvpx alpha | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
--------------------------------------+-----------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
Comment:
{{{
$ ffmpeg -f lavfi -i testsrc2=d=2 -pix_fmt yuva420p -crf 0 -vcodec libvpx-
vp9 out.mkv
ffmpeg version N-96910-gcfd9a65903 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 9 (SUSE Linux)
configuration: --enable-gpl --enable-gnutls --enable-libx264 --enable-
libx265 --enable-libdav1d --enable-libaom --enable-libvpx --enable-libxml2
libavutil 56. 42.100 / 56. 42.100
libavcodec 58. 73.102 / 58. 73.102
libavformat 58. 39.101 / 58. 39.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, lavfi, from 'testsrc2=d=2':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
Press [q] to stop, [?] for help
[libvpx-vp9 @ 0x365b500] v1.8.2
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf58.39.101
Stream #0:0: Video: vp9 (libvpx-vp9) (VP90 / 0x30395056), yuva420p,
320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc58.73.102 libvpx-vp9
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[Parsed_testsrc2_0 @ 0x3619e40] EOF timestamp not reliable
frame= 50 fps= 34 q=0.0 Lsize= 267kB time=00:00:01.80
bitrate=1214.0kbits/s speed=1.22x
video:263kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.301801%
}}}
Output contains only 46 frames, independently of the used muxer.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7759#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list