[FFmpeg-trac] #7227(undetermined:new): `skip_frames nokey` not working correctly for some videos
FFmpeg
trac at avcodec.org
Thu May 24 09:43:42 EEST 2018
#7227: `skip_frames nokey` not working correctly for some videos
-------------------------------------+-------------------------------------
Reporter: Hett | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
`skip_frames nokey` not working correctly for some videos
How to reproduce:
{{{
ffprobe -v error -select_streams v:0 -skip_frame nokey -show_frames
~/Downloads/Marco.Polo.S01E05.720p.mkv
[FRAME]
media_type=video
stream_index=0
key_frame=1
pkt_pts=0
pkt_pts_time=0.000000
pkt_dts=N/A
pkt_dts_time=N/A
best_effort_timestamp=0
best_effort_timestamp_time=0.000000
pkt_duration=41
pkt_duration_time=0.041000
pkt_pos=7364
pkt_size=2043
width=1280
height=640
pix_fmt=yuv420p10le
sample_aspect_ratio=1:1
pict_type=I
coded_picture_number=0
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
color_range=tv
color_space=unknown
color_primaries=unknown
color_transfer=unknown
chroma_location=unspecified
[/FRAME]
}}}
Out contain only one frame.
Run ffprobe without `skip_frames nokey` frames will be recognized
correctly:
{{{
$ ffprobe -v error -select_streams v:0 -show_frames
~/Downloads/Marco.Polo.S01E05.720p.mkv | grep key_frame=1
key_frame=1
key_frame=1
key_frame=1
key_frame=1
key_frame=1
^C
}}}
Version: `ffmpeg-git-20180521-64bit-static`
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7227>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list