[FFmpeg-devel] vhook imlib2

Víctor Paesa wzrlpy
Sat Aug 11 08:55:10 CEST 2007


Hi,

Jason said:
> I've got this command working on two other servers.
>
> ffmpeg -i in.flv -vhook '/usr/lib/vhook/imlib2.so -i vid_footer.jpg'
> out.mpeg
>
> of course the img is in the same directory I"m running it from. and the
> files are there however this is what I get.
>
> [root at web1 videos]# ffmpeg -y -i in.flv -s 320x240 -t 00:00:51 -vhook
> '/usr/lib/vhook/imlib2.so -i vid_footer.jpg' out.mpeg
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2006 Fabrice Bellard, et
> al.
>   configuration:  --prefix=/usr --libdir=/usr/lib
> --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-mp3lame
> --enable-libogg --enable-vorbis --enable-faad --enable-faac
> --enable-libgsm --enable-xvid --enable-x264 --enable-a52 --enable-a52bin
>  --enable-dts --enable-pp --enable-shared --enable-pthreads --enable-gpl
>  --disable-strip
>   libavutil version: 49.1.0
>   libavcodec version: 51.28.0
>   libavformat version: 51.7.0
>   built on Jun  4 2007 14:31:26, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8)
>
> Seems stream 0 codec frame rate differs from container frame rate:
> 1000.00 (1000/1) -> 29.97 (30000/1001)
> Input #0, flv, from 'in.flv':
>   Duration: 00:01:26.6, start: 0.000000, bitrate: 56 kb/s
>   Stream #0.0: Video: flv, yuv420p, 320x240, 29.97 fps(r)
>   Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s
> Couldn't load image 'vid_footer.jpg'
> Failed to Configure /usr/lib/vhook/imlib2.so
> Failed to add video hook function: /usr/lib/vhook/imlib2.so -i
> vid_footer.jpg
>
> I've tried moving the image and fully qualifying the path as well
> without any luck. I get the same thing when I do a -F verdana.ttf rather
>  then an image load. As I said this exact same thing works on two other
> servers running the same OS just fine. I did the install using Yum with
> the DAG repo and it said everything was installed correct. The
> drawtext.so and watermark.so work fine. Any suggestions would be a
> greatly appreciated.

Since you used a package, you should ask the package maintainer.
On the other hand, if you download the latest source
(see http://ffmpeg.mplayerhq.hu/download.html) and build it yourself, the
correct list is ffmpeg-user.

Regards,
V?ctor






More information about the ffmpeg-devel mailing list