[FFmpeg-trac] #2185(avfilter:new): Select filter cannot seek to a point in the video

FFmpeg trac at avcodec.org
Fri Jan 25 01:47:02 CET 2013


#2185: Select filter cannot seek to a point in the video
------------------------------------+------------------------------------
             Reporter:  evilsoup    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  select      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by evilsoup):

 Replying to [comment:2 saste]:
 >
 > I suspect this issue is not related at all with select, but depends
 either on ffmpeg or on the mp4 muxer. Try to play with the -copyts and
 -vsync options and report if that fixes the problem.

 Actually, I've found that using the setpts filter solved this issue - it
 seems that select doesn't reset the timestamp on the video.

 {{{
 filter:v 'select=gte(t\,14),setpts=PTS-STARTPTS'
 }}}

 However, based on your comment I've tested it using an MKV output... and
 it played fine in ffplay (even without using setpts)! So I think that you
 are right - this is an issue with the MP4 container. However, ffplay
 starts playing with the timestamp starting at 14.00; and I just tested,
 and not using setpts caused issues with a complex filtergraph (involving
 concat), so I'll stick to appending setpts whenever I use select (and
 asetpts for each aselect).

 I don't know if this is the intended behaviour or what, but it really
 seems like a bug.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2185#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list