Quote:
STARTING VIDEO CONVERSION (process_queue.id = 15)
--------------------------------------------------------------------------------
File: /var/www/video/pic_0001.avi
################################################## ##
SELECT * FROM `video` WHERE `VID`=13
################################################## ##
Video id: 13
Find video duration - START
/usr/bin/ffmpeg -i /var/www/video/pic_0001.avi
FFmpeg version SVN-r13067, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-shared --enable-libxvid --enable-libvorbis --enable-libmp3lame --enable-gpl --enable-libfaac --enable-libfaad --enable-liba52
libavutil version: 49.6.0
libavcodec version: 51.56.0
libavformat version: 52.13.0
libavdevice version: 52.0.0
built on May 6 2008 10:48:22, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Input #0, avi, from '/var/www/video/pic_0001.avi':
Duration: 00:00:17.79, start: 0.000000, bitrate: 1731 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 15.23 tb(r)
Stream #0.1: Audio: pcm_mulaw, 11025 Hz, mono, 88 kb/s
Must supply at least one output file
Duration (ffmpeg): 17
DURATION: 00:17
Create Thumbnail - START
Creating Thumbnail with ffmpeg
/var/www/thumb/13.jpg
/usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:16 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /var/www/thumb/13.jpg
/var/www/thumb/1_13.jpg
/usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:16 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /var/www/thumb/1_13.jpg
/var/www/thumb/2_13.jpg
/usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:07 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /var/www/thumb/2_13.jpg
/var/www/thumb/3_13.jpg
/usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:10 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /var/www/thumb/3_13.jpg
Create Thumbnail with ffmpeg - END
CONVERT COMMAND: /usr/bin/mencoder '/var/www/video/pic_0001.avi' -o /var/www/flvideo/12100979761985721032.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup
################################################## ##
Array
(
[0] => MEncoder dev-SVN-r26674-4.1.2 (C) 2000-2008 MPlayer Team
[1] => CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 4)
[2] => CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
[4] =>
[5] => success: format: 0 data: 0x0 - 0x3ac448
[6] => AVI file format detected.
[7] => [aviheader] Video stream found, -vid 0
[8] => [aviheader] Audio stream found, -aid 1
[9] => VIDEO: [MJPG] 320x240 24bpp 15.228 fps 1643.2 kbps (200.6 kbyte/s)
[10] => [V] filefmt:3 fourcc:0x47504A4D size:320x240 fps:15.228 ftime:=0.0657
[11] => ================================================== ========================
[12] => Opening audio decoder: [alaw] aLaw/uLaw audio decoder
[13] => AUDIO: 11025 Hz, 1 ch, s16le, 88.2 kbit/50.00% (ratio: 11025->22050)
[14] => Selected audio codec: [ulaw] afm: alaw (uLaw)
[15] => ================================================== ========================
)
################################################## ##
Return value: ================================================== ========================
Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.