Thanks Todd,
The following is the new output. It appears to have outputed a FLV
file from the command line which produces sound etc. Which is good.
The response was as below, however I still am confused why FLV tool is
still throwing errors.
[root@vps1384 ~]# /usr/local/bin/ffmpeg -i /var/www/vhosts/<my-url>/
httpdocs/ffmpeg/robot.avi -ar 44100 -ab 32 -f flv -s 160x112 /var/www/
vhosts/<my-url>/httpdocs/ffmpeg/overview.flv | /usr/local/bin/flvtool2
-U stdin /var/www/vhosts/<my-url>/httpdocs/ffmpeg/overview.flv
FFmpeg version SVN-r12891, Copyright (c) 2000-2008 Fabrice Bellard, et
al.
configuration: --enable-libmp3lame --enable-libvorbis --enable-
libxvid --enable-shared --enable-libfaac --enable-libfaad --enable-gpl
--enable-libtheora --enable-libx264 --enable-avfilter-lavf
libavutil version: 49.6.0
libavcodec version: 51.55.0
libavformat version: 52.13.0
libavdevice version: 52.0.0
built on Apr 18 2008 20:13:03, gcc: 3.4.6 20060404 (Red Hat 3.4.6-9)
Compiler did not align stack variables. Libavcodec has been
miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
Input #0, mpeg, from '/var/www/vhosts/<my-url>/httpdocs/ffmpeg/
robot.avi':
Duration: 00:00:09.60, start: 0.177778, bitrate: 183 kb/s
Stream #0.0[0x1c0]: Audio: mp2, 32000 Hz, mono, 32 kb/s
Stream #0.1[0x1e0]: Video: mpeg1video, yuv420p, 160x112 [PAR 1:1
DAR 10:7], 104857 kb/s, 25.00 tb(r)
WARNING: The bitrate parameter is set too low. It takes bits/s as
argument, not kbits/s
File '/var/www/vhosts/<my-url>/httpdocs/ffmpeg/overview.flv' already
exists. Overwrite ? [y/N] y
Output #0, flv, to '/var/www/vhosts/<my-url>/httpdocs/ffmpeg/
overview.flv':
Stream #0.0: Video: flv, yuv420p, 160x112 [PAR 1:1 DAR 10:7],
q=2-31, 200 kb/s, 25.00 tb(c)
Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, 0 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 243 fps= 0 q=2.0 Lsize= 449kB time=9.7 bitrate=
378.2kbits/s
video:362kB audio:76kB global headers:0kB muxing overhead 2.257578%
ERROR: /usr/local/bin/flvtool2:2
====
The problem I have now is when I try and run it from my PHP script it
returns an empty flv. Any ideas
On Apr 21, 9:54 am, "Todd Kirby" <
ffmpeg....@gmail.com> wrote:
> Try first running:
>
> export LD_LIBRARY_PATH=/usr/local/lib/
>
> Then rerun your ffmpeg command and see if that gets rid of the..
>
> /usr/local/bin/ffmpeg: error while loading shared libraries:
> libavdevice.so.52: cannot open shared object file: No such file or
> directory
>
> ...portion of the error.
>
> -T-
>
> On Sun, Apr 20, 2008 at 9:45 PM,
clarkeym...@googlemail.com <