[FFmpeg-user] Specify Starting Frame

Sam Logan shapableline at gmail.com
Tue Jun 17 03:28:08 CEST 2014


On 6/16/14, Lou <lou at lrcd.com> wrote:
> Otherwise you may be able to use the select filter:
> http://ffmpeg.org/ffmpeg-filters.html#aselect_002c-select
>
> Such as (untested example): -vf select='gte(n\,25)'

Thanks, but there's no specific named option to do this? To clarify,
what I'm looking for:

For duration: -t specifies duration in timestamp form, while -frames
specifies duration in frame form.

For start: -ss specifies start in timestamp form, while -[???]
specifies start in frame form.

Is there no named option corresponding to -ss in the way that -frames
corresponds to -t?

On 6/16/14, Lou <lou at lrcd.com> wrote:
> On Mon, 16 Jun 2014 19:26:02 -0400
> Sam Logan <shapableline at gmail.com> wrote:
>
>> The -ss option lets you start at a specific timestamp.
>>
>> How do you start at a specific frame?
>
> Since you did not specify, assuming you are using the image2 demuxer for
> image file inputs you can use the -start_number option:
> http://ffmpeg.org/ffmpeg-formats.html#image2-2
>
> Otherwise you may be able to use the select filter:
> http://ffmpeg.org/ffmpeg-filters.html#aselect_002c-select
>
> Such as (untested example): -vf select='gte(n\,25)'
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list