#7227 closed defect (fixed)
`skip_frames nokey` not working correctly for some videos
| Reported by: | Anton | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | avcodec |
| Version: | git-master | Keywords: | hevc |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
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
Change History (5)
comment:2 by , 8 years ago
comment:3 by , 8 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | hevc added |
| Priority: | normal → minor |
Use -skip_frame nointra to get more frames.
comment:4 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Should be fixed in fbb283cfefb1865375718c4a56ce608d96a4a8ed
Note:
See TracTickets
for help on using tickets.



oops, file limit is too low, I will look for a solution to provide mkv file.