[FFmpeg-user] join image and mp3 with -vf

milad arabi milad.arabi at gmail.com
Wed Feb 12 02:07:52 CET 2014


hi all
i want create mp4 file from jpeg and mp3 file.
if i don't use -vf arg every thing is ok but when i use -vf convert failed.
i use -vf command in other comman and every thing is ok.

/srv/ffmpeg -f image2 -loop 1 -i /srv/1392165339.jpg -i /srv/1392165339.mp3
-c:v libx264 -vf
 drawtext="'fontfile=/srv/fonts/tahoma.ttf\:style=bold:text=my_site_adress':
x=5: y=5: fontsize=16: fontcolor=0xfff700: box=0: boxcolor=red at 1" -tune
stillimage -c:a aac -strict experimental -b:a 320k -shortest -movflags
+faststart -y /srv/www/htdocs/site/user_data/169/4761/11424.mp4 2>&1

you think i have mistake or ffmpeg can't do this?
tnx all


More information about the ffmpeg-user mailing list