That converted, but it won't play...
Hi, thanks for taking the time to respond. I tried that command, the video did convert. However, it still won't play on the site or automatically convert to flv, I am not sure of the reason why.
I changed the video_conversion.php file as requested:
$cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -y -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
The following is the successful command:
-sh-3.00$ /usr/local/bin/ffmpeg -i /var/www/vhosts/emusicmajors.com/subdomains/videos/htt
pdocs/video/DuckLanding_4.MOV -acodec libmp3lame -ar 22050 -ab 32 -f flv /var/www/vhosts/
emusicmajors.com/subdomains/videos/httpdocs/flvideo/DuckLanding_4.flv
FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --e
nable-shared
libavutil version: 49.5.0
libavcodec version: 51.41.0
libavformat version: 51.12.2
built on Aug 21 2007 18:23:24, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/emusicmajors.com/subdomains/vide
os/httpdocs/video/DuckLanding_4.MOV':
Duration: 00:00:02.8, start: 0.000000, bitrate: 8066 kb/s
Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 30.00 fps(r)
Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, 64 kb/s
Output #0, flv, to '/var/www/vhosts/emusicmajors.com/subdomains/videos/httpdocs/flvideo/D
uckLanding_4.flv':
Stream #0.0(eng): Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 30.00 fps(c)
Stream #0.1(eng): Audio: libmp3lame, 22050 Hz, mono, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[flv @ 0xb7e53390]removing common factors from framerate
Press [q] to stop encoding
frame= 84 fps= 24 q=31.0 Lsize= 433kB time=2.8 bitrate=1266.7kbits/s
video:418kB audio:11kB global headers:0kB muxing overhead 0.767313%