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

FFmpeg trac at avcodec.org
Fri Jan 25 01:01:55 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 saste):

 Replying to [ticket:2185 evilsoup]:
 > As per the [http://ffmpeg.org/ffmpeg-filters.html#aselect_002c-
 select|filter documentation], using a line like:
 >
 > {{{
 > filter:v 'select=gte(t\,12)'
 > }}}
 >
 > ...should output video starting at the 12th second, akin to using `-ss
 12` as an output option.
 >
 > However, when used in the following command, on a 30-second clip of
 ''Big Buck Bunny'' (so I would expect to end up with an 18-second clip,
 starting at a point 12 seconds into the input:
 >
 > {{{
 >  ffmpeg -y -i test_BBB.mp4 -filter:v 'select=gte(t\,12)' -c:v libx264
 -preset veryfast -an test_BBB-t12c.mp4
 > }}}
 >
 > ...but instead, it gives me a 30-second clip (the same length as the
 input), but with the first frame that should be displayed (the frame at 12
 seconds into the video) being displayed all throughout the first twelve
 seconds - and then the video proceeds as would be expected.
 [...]

 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.

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


More information about the FFmpeg-trac mailing list