[FFmpeg-user] Question regarding format as used for '-i'
jb
jonbae77 at gmail.com
Wed Jul 27 10:15:59 EEST 2022
Am 23.07.22 um 06:56 schrieb tuxic at posteo.de:
> Hi,
>
> My blender animation render process normally results in files like
>
> 0002.png 0003.png ..... 0459.png
>
> I use this script to join them into a mp4 video:
>
> ffmpeg -r 25 -f image2 -s 1280x1280 -i %04d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p $1
>
> with $1 given the name of the resulting video file.
>
> But when I do a partial render for example only resulting in the files
>
> 0027.png ..... 0459.png
>
> the same script give me this error:
>
> [image2 @ 0x555a3fbf2840] Could find no file with path '%04d.png' and index in the range 0-4
> %04d.png: No such file or directory
>
> .
>
> Why is that ?
> What is wrong with my script?
Hi,
when your start frame is not 0000.png then you should use: -start_number 27.
>
> Cheers!
> Tuxic
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list