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

milad arabi milad.arabi at gmail.com
Wed Feb 12 15:49:50 CET 2014


in fact,i can't understand which state you want me to test,i test all state.

only with quotes:
ffmpeg -i /srv/www/htdocs/site/test/concat/base.mp4  -q:v 0 -c:v libx264 -g
150 -movflags +faststart -vf
 drawtext="fontfile=/srv/www/htdocs/site/fonts/tahoma.ttf\:style=bold:text=
site.ir/channel/dog_cat: x=5: y=5: fontsize=15: fontcolor=0xffee00: box=0:
boxcolor=red at 1"  -y /srv/www/htdocs/site/test/concat/22084.mp4

ffmpeg 1.1.2:
[drawtext @ 0x912dea0] Key 'style' not found.
[AVFilterGraph @ 0x911a740] Error initializing filter 'drawtext' with args
'fontfile=/srv/www/htdocs/hiclip/fonts/tahoma.ttf:style=bold:text=
hiclip.ir/channel/dog_cat: x=5: y=5: fontsize=15: fontcolor=0xffee00:
box=0: boxcolor=red at 1'

new version:
[Parsed_drawtext_0 @ 0x9a717c0] Option 'style' not found
[AVFilterGraph @ 0x99bfde0] Error initializing filter 'drawtext' with args
'fontfile=/srv/www/htdocs/hiclip/fonts/tahoma.ttf:style=bold:text=
hiclip.ir/channel/dog_cat: x=5: y=5: fontsize=15: fontcolor=0xffee00:
box=0: boxcolor=red at 1'

only with single quotes(or remove all quote and single quote):
ffmpeg -i /srv/www/htdocs/site/test/concat/base.mp4  -q:v 0 -c:v libx264 -g
150 -movflags +faststart -vf
 drawtext='fontfile=/srv/www/htdocs/site/fonts/tahoma.ttf\:style=bold:text=
site.ir/channel/dog_cat': x=5: y=5: fontsize=15: fontcolor=0xffee00: box=0:
boxcolor=red at 1  -y /srv/www/htdocs/site/test/concat/22084.mp4

ffmpeg 1.1.2:
[NULL @ 0x9113840] Unable to find a suitable output format for 'x=5:'
x=5:: Invalid argument

new version:
[NULL @ 0x9acaac0] Unable to find a suitable output format for 'x=5:'
x=5:: Invalid argument

carl,if you want test any other command,please send me.
thank you for follow up.


More information about the ffmpeg-user mailing list