[FFmpeg-trac] #6090(avcodec:new): ffmpeg duplicates the first frame when decoding attached hevc-file.
FFmpeg
trac at avcodec.org
Wed Jan 18 12:43:33 EET 2017
#6090: ffmpeg duplicates the first frame when decoding attached hevc-file.
------------------------------------+-----------------------------------
Reporter: figgis | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: hevc dts | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by figgis):
I increased the loglevel.
{{{
$ ffmpeg -loglevel 40 -y -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 @ 0x2ce3380] 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 @ 0x2df3300] 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
*** 1 dup!
No more output streams to write to, finishing.
frame= 602 fps=0.0 q=-0.0 Lsize= 352170kB time=00:00:10.05
bitrate=287062.4kbits/s dup=1 drop=0 speed=32.4x
video:352170kB 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): 602 frames encoded; 602 packets muxed
(360622080 bytes);
Total: 602 packets (360622080 bytes) muxed
}}}
This is interesting. ffmpeg reports a {{{*** 1 dup!}}} None of my other
decoders or analysis tools does this.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6090#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list