Opened 5 years ago

Closed 5 years ago

#3676 closed defect (duplicate)

av_read_frame after av_seek_frame failed

Reported by: hxuanyu Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Built my test program with latest ffmpeg git header
commit e222cfefcdcb496e47391b53f0391e9c3cb66397
Merge: e6a0846 4d8c28d
Author: Michael Niedermayer <michaelni@gmx.at>
Date: Tue May 27 02:26:45 2014 +0200

the video I tested with has following packt dts/pts

packet 0 [DTS: 1 PTS: 1, Key=yes]
packet 1 [DTS: 1 PTS: 132, Key=no]
packet 2 [DTS: 66 PTS: 66, Key=no]
packet 3 [DTS: 132 PTS: 266, Key=no]
packet 4 [DTS: 200 PTS: 200, Key=no]
packet 5 [DTS: 266 PTS: 400, Key=no]
packet 6 [DTS: 332 PTS: 332, Key=no]
packet 7 [DTS: 400 PTS: 532, Key=no]
packet 8 [DTS: 466 PTS: 466, Key=no]

if av_seek_frame(1) is called then subsequent call to av_read_frame fails.
if av_seek_frame(0) is called then subsequent call to av_read_frame succeeds

Change History (1)

comment:1 Changed 5 years ago by hxuanyu

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.