[FFmpeg-user] Ffmpeg stopping at exactly 400 frames

Gyan gyandoshi at gmail.com
Tue Oct 2 17:15:25 EEST 2018


On Tue, Oct 2, 2018 at 7:12 PM David <davidventura27 at gmail.com> wrote:

>
>
> ffmpeg -stats -loglevel error -re -i tcp://david-dotopc.labs:5001 -vf
> "select=gt(scene\,0.003),setpts=N/(20*TB)" -an -c:v libx264 -preset
> veryfast -t 20 -threads 0 -y $(date +"%Y%m%d-%H%M%S").mkv;
>
> What is the problem with this? Why is it always stopping?
>

You are retiming frames to have a density of 20/s using setpts and stopping
execution using -t 20. Drop the latter option.

Gyan


More information about the ffmpeg-user mailing list