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

milad arabi milad.arabi at gmail.com
Wed Feb 12 13:25:12 CET 2014


i install ffmpeg version 1.1.2 from source on my opensuse.
for some reason i download ffmpeg version N-60530-g6c12b1d- built on Feb 11
2014 05:16:07  and put it in /usr/local/bin.
when i use ffmpeg 1.1.2 with below command,every thing is ok.
but when i replace newest ffmpeg in /usr/local/bin i get:

ffmpeg -i /srv/www/hiclip_upload/p18givgib7ri11ohq1gd513u0igg3.mp4  -q:v 0
-c:v libx264 -g 150 -movflags +faststart -vf
 drawtext="'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"  -y
/srv/www/htdocs/hiclip//user_data/1417/4762/22084.mp4 2>&1
ffmpeg version N-60530-g6c12b1d Copyright (c) 2000-2014 the FFmpeg
developers
  built on Feb 11 2014 05:16:07 with gcc 4.6 (Debian 4.6.3-1)
  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32
--extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static'
--extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared
--disable-ffserver --disable-doc --enable-bzlib --enable-zlib
--enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl
--enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray
--enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3
--enable-libvpx
  libavutil      52. 63.101 / 52. 63.101
  libavcodec     55. 50.100 / 55. 50.100
  libavformat    55. 31.100 / 55. 31.100
  libavdevice    55.  8.100 / 55.  8.100
  libavfilter     4.  1.102 /  4.  1.102
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/srv/www/hiclip_upload/p18givgib7ri11ohq1gd513u0igg3.mp4':
  Metadata:
    major_brand     : FACE
    minor_version   : 1337
    compatible_brands: isomavc1FACE
    creation_time   : 2014-02-11 11:55:17
  Duration: 00:00:17.21, start: 0.000000, bitrate: 392 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 400x224, 296 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
59.94 tbc (default)
    Metadata:
      creation_time   : 2014-02-11 11:55:17
      handler_name    : /tmp/PqQyq9_video.264 - Imported with GPAC
0.4.6-DEV-rev3544
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 93 kb/s (default)
    Metadata:
      creation_time   : 2014-02-11 11:55:17
      handler_name    : /tmp/PqQyq9_audio.aac - Imported with GPAC
0.4.6-DEV-rev3544
[Parsed_drawtext_0 @ 0x9a7efe0] Could not load font
"/srv/www/htdocs/hiclip/fonts/tahoma.ttf:style=bold": cannot open resource
[AVFilterGraph @ 0x99c4860] 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'
Error opening filters!


More information about the ffmpeg-user mailing list