Hi,
Right here is the problem, im trying to upload a 2mb .wmv file it uploads fine to the video folder
and there is the file in the flvideo folder but it is 0kb in size and it does not show anywhere.
Ive tried using both the new svn build code and the old code for the mendcoder conversion like below
Code:For latest svn version of mplayer $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup";Code:For rpm (old) version of mplayer $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
Also Here is my debug.txt any help please im stuck.
Thanks In AdvanceCode:2007-11-22 3:13:48 Upload Finished 2007-11-22 3:13:48 Video (12) Conversion starting... 2007-11-22 3:13:48 File: /home/xxxxxxx/public_html/video/Butterfly_1.wmv 2007-11-22 3:13:48 ------------------------------------------------------------- 2007-11-22 3:13:48 INSERT INTO video SET UID='1', title='test wmv', description='test', keyword='test', channel='0|3|0', addtime='1195719228', adddate='2007-11-22', vkey='1805668898', type='public', active='0', approve='1' 2007-11-22 3:13:48 ------------------------------------------------------------- 2007-11-22 3:13:48 Video id: 10 2007-11-22 3:13:48 Calling ffmpeg-php -> ffmpeg_movie() 2007-11-22 3:13:48 Get video duration - START 2007-11-22 3:13:48 Get video duration - END 2007-11-22 3:13:48 DURATION: 10.176 2007-11-22 3:13:48 Create Thumbnail - START 2007-11-22 3:13:50 Create Thumbnail - END 2007-11-22 3:13:50 CONVERT COMMAND: /usr/bin/mencoder '/home/dirtypor/public_html/video/Butterfly_1.wmv' -o /home/dirtypor/public_html/flvideo/1195719230360876941.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup 2007-11-22 3:13:51 ------------------------------------------------------------- 2007-11-22 3:13:51 MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team CPU: Intel(R) Xeon(TM) CPU 3.00GHz (Family: 15, Model: 6, Stepping: 4) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. success: format: 0 data: 0x0 - 0x2ab0a4 ASF file format detected. VIDEO: [WMV3] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:6 fourcc:0x33564D57 size:720x480 fps:29.97 ftime:=0.0334 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000) Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== Exiting... 2007-11-22 3:13:51 ------------------------------------------------------------- 2007-11-22 3:13:51 Return value: Exiting... 2007-11-22 3:13:51 File Size too small : 0 Bytes, Upload a big video. 2007-11-22 3:13:51 Calling process_video[12,0]
Stewart




				
				
				
					
  Reply With Quote
Bookmarks