> On Dec 21, 2021, at 12:37 PM, Cecil Westerhof via ffmpeg-user 
> <ffmpeg-user@ffmpeg.org> wrote:
> 
> Cecil Westerhof via ffmpeg-user <ffmpeg-user@ffmpeg.org> writes:
> 
> After some experiments I solved it by putting -ss and -to behind -i
> and not forgetting to alter the between values.
> But this takes about a third more time.
> Is there be a better solution?
> 
> I am now using:
>    ffmpeg -y                                         \
>        -i input.mp4                                  \
>        -ss 00:26:05                                  \
>        -to 00:44:04                                  \
>        -vf "
>             drawbox=enable='between(t, 1565, 1566.6)':
>                color     = black                     :
>                w         = in_w                      :
>                h         = in_h                      :
>                thickness = fill
>        "                                             \
>        -acodec copy                                  \
>        -vcodec libx264                               \
>        -crf 23                                       \
>        -preset veryfast                              \
>        output.mkv
> 


I’m sure I woudn't call it better, but lately I’ve been using negative 
timestamps (such as "-00:00:00.10”)  for the -ss value when it is close to the 
beginning. I’m sure someone will explain why I shouldn’t do that.

Laine Lee
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to