Blank screen after upload of large videos
Hello,
When uploading small videos (around 2mb or less), everything works fine. Once we go bigger, it fails. Here are our lines from .htaccess:
Code:
php_value memory_limit 999M
php_value max_execution_time 0
php_value max_input_time 0
php_value upload_max_filesize 999M
php_value post_max_size 999M
php_value error_reporting 6143
I checked the phpinfo script, and all of these changes are reflected in what's displayed there. Here's the last line from debug.txt:
Code:
2007-09-24 22:51:55 Upload Finished
2007-09-24 22:51:55 Video (29) Conversion starting...
2007-09-24 22:51:55 File: /home/fatpenguin/filmwad.com/public_html/vshare/video/blam_blam666.wmv
2007-09-24 22:51:55 -------------------------------------------------------------
2007-09-24 22:51:55 INSERT INTO video SET
UID='1',
title='blam',
description='blam',
keyword='blam',
channel='0|2|0',
space = '4',
addtime='1190688715',
adddate='2007-09-24',
vkey='1898450632',
type='public',
active='0',
approve='1'
2007-09-24 22:51:55 -------------------------------------------------------------
2007-09-24 22:51:55 Video id: 28
2007-09-24 22:51:55 Calling ffmpeg-php -> ffmpeg_movie()
2007-09-24 22:51:55 Get video duration - START
2007-09-24 22:51:55 Get video duration - END
2007-09-24 22:51:55 DURATION: 103.04
2007-09-24 22:51:55 Create Thumbnail - START
2007-09-24 22:52:02 Create Thumbnail - END
2007-09-24 22:52:02 CONVERT COMMAND:
/usr/bin/mencoder '/home/fatpenguin/filmwad.com/public_html/vshare/video/blam_blam666.wmv' -o /home/fatpenguin/filmwad.com/public_html/vshare/flvideo/11906887221731556464.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
It never proceeds beyond this point. Interestingly, if I try that command from the shell (using a unique output filename), it seems to complete normally.
Please advise.
Re: Blank screen after upload of large videos
background convertion is the way to go
Re: Blank screen after upload of large videos
Your problem may be with mencoder.
Code:
/usr/bin/mencoder '/home/fatpenguin/filmwad.com/public_html/vshare/video/blam_blam666.wmv' -o /home/fatpenguin/filmwad.com/public_html/vshare/flvideo/11906887221731556464.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
This will work if you are using latest version of mencoder. Just send a mail to your web host with this command. Ask him to run it on command prompt of the server and see if video is getting converted to FLV or getting some error.