[FFmpeg-trac] #6090(undetermined:open): ffmpeg duplicates the first frame when decoding attached hevc-file.
FFmpeg
trac at avcodec.org
Thu Jan 19 10:26:49 EET 2017
#6090: ffmpeg duplicates the first frame when decoding attached hevc-file.
-------------------------------------+-------------------------------------
Reporter: figgis | Owner:
Type: defect | Status: open
Priority: important | Component:
Version: git-master | undetermined
Keywords: hevc dts | Resolution:
regression | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by figgis):
using -vsync passthrough seems to solve the problem. Still curious about
this behaviour though.
{{{
$ ffmpeg -loglevel 40 -y -vsync passthrough -i BQMall_832x480_60_QP46.hevc
tmp.yuv
ffmpeg version N-83136-gbdbbb8f Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --enable-gpl --enable-libx264
libavutil 55. 43.100 / 55. 43.100
libavcodec 57. 73.100 / 57. 73.100
libavformat 57. 62.100 / 57. 62.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 69.100 / 6. 69.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[hevc @ 0x25173e0] max_analyze_duration 5000000 reached at 5000000
microseconds st:0
Input #0, hevc, from 'BQMall_832x480_60_QP46.hevc':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: hevc (Main), 1 reference frame, yuv420p(tv),
832x480, 60 fps, 60 tbr, 1200k tbn, 60 tbc
[graph 0 input from stream 0:0 @ 0x2627780] w:832 h:480 pixfmt:yuv420p
tb:1/1200000 fr:60/1 sar:0/1 sws_param:flags=2
Output #0, rawvideo, to 'tmp.yuv':
Metadata:
encoder : Lavf57.62.100
Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449),
yuv420p, 832x480, q=2-31, 200 kb/s, 60 fps, 60 tbn, 60 tbc
Metadata:
encoder : Lavc57.73.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
frame= 601 fps=0.0 q=-0.0 Lsize= 351585kB time=00:00:10.03
bitrate=287061.6kbits/s speed= 34x
video:351585kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
Input file #0 (BQMall_832x480_60_QP46.hevc):
Input stream #0:0 (video): 601 packets read (322614 bytes); 601 frames
decoded;
Total: 601 packets (322614 bytes) demuxed
Output file #0 (tmp.yuv):
Output stream #0:0 (video): 601 frames encoded; 601 packets muxed
(360023040 bytes);
Total: 601 packets (360023040 bytes) muxed
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6090#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list