thank's all is fine now
François-marie
Le 09/07/2020 à 11:38, Gyan Doshi a écrit :
On 09-07-2020 02:50 pm, François-Marie BILLARD wrote:
Hello,
i'm new on this list and would use ffmpeg for making a video from
pictures.
I have used this command line; with 54 pictures from DSC_0527.JPG :
ffmpeg -f image2 -i DSC_05%2d.JPG -start_number 0527 -r 12 -vcodec
mpeg4 -b 15000k ouverture_four.mp4
i have this error, when i launch the command in the directory with the
pictures :
[image2 @ 0x55b7146af8c0] Could find no file with path
'DSC_05%2d.JPG' and index in the range 0-4
DSC_05%2d.JPG: No such file or directory
It should be
ffmpeg -f image2 -start_number 27 -i DSC_05%2d.JPG -r 12 -vcodec
mpeg4 -b 15000k ouverture_four.mp4
`-start_number` qualifies the input so it belongs before the
corresponding input `-i`
In ` DSC_05%2d`, 05 is a literal and so not recognized as part of the
numbering pattern.
Also, `-r 12` will cause ffmpeg to drop 13 out of every 25 images, since
ffmpeg assumes a default frame rate of 25 for image sequences.
You can override it by adding -framerate 12 for this input. (And then
drop -r 12)
ffmpeg -f image2 -start_number 27 -framerate 12 -i DSC_05%2d.JPG
-c:v mpeg4 -b:v 15000k ouverture_four.mp4
Gyan
_______________________________________________
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".
--
François-Marie
_______________________________________________
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".