[FFmpeg-user] Last frame with wrong duration - video from images

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jun 23 00:50:49 EEST 2020


Am Mo., 22. Juni 2020 um 21:35 Uhr schrieb Michael Koch
<astroelectronic at t-online.de>:
>
> Am 22.06.2020 um 20:59 schrieb Michael Koch:
> > Am 22.06.2020 um 20:33 schrieb Leonardo via ffmpeg-user:
> >>   Here is the full output
> >>
> >> $ ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt
> >> yuv420p -r 30 -vf scale=1920:1080 video.mp4
> >
> > It works when you remove the scale filter, but don't ask me why.
>
> It also works when you replace
> -vf scale=1920:1080
> by
> -s 1920x1080
>
> Looks like a bug.

It is hard for the filter-chain to know when a stream ends but I
believe other work-arounds exist.

Carl Eugen


More information about the ffmpeg-user mailing list