[FFmpeg-user] Convert Single Image

Reindl Harald h.reindl at thelounge.net
Mon Dec 4 20:41:25 EET 2017



Am 04.12.2017 um 19:30 schrieb Damien Gallagher:
> Thank you for getting back to me
> Based on running the following command
> ffmpeg.exe -y -i intro.jpg -r 1/5 -pix_fmt yuv420p intro_1.mp4

years ago i wrote a PHP wrapper to get a image with a audio file merged 
and a lot of players did only show a single image and then only the 
audio - in that case "-loop_input -i imagefile" did the trick to repeat 
the image for the full length of audio

the last time i tried this script it did no longer work at all with 
recent ffmpeg but i had no time to look what was wrong - probably 
something else in the generated command line and -loop_input still works


More information about the ffmpeg-user mailing list