Go Back   BuyScripts Forums > vShare YouTube Clone > Installation Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-25-2007, 03:17 AM
Junior Member
 
Join Date: Sep 2007
Posts: 5
Default 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.
Reply With Quote
  #2 (permalink)  
Old 09-25-2007, 08:57 PM
Senior Member
 
Join Date: May 2007
Posts: 594
Default Re: Blank screen after upload of large videos

background convertion is the way to go
Reply With Quote
  #3 (permalink)  
Old 09-27-2007, 08:11 PM
Administrator
 
Join Date: Apr 2007
Posts: 2,122
Default 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.
__________________
vShare Youtube Clone
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add text to blank screen after uploading? grynmoors Template Modifications 5 12-12-2007 12:52 AM
2.5 installation blank screen wondo Installation Support 4 10-13-2007 07:31 AM
Getting a blank screen when importing videos Rodesh General Discussions 3 09-16-2007 01:56 AM
Upload from folder option still bringing a blank screen sydawn Fixed Bugs 13 08-31-2007 11:30 AM
Cannot upload large videos local_master Installation Support 1 04-30-2007 06:57 AM


All times are GMT. The time now is 02:17 PM.


Powered by vBulletin. Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO