Go Back   BuyScripts Forums > vShare YouTube Clone > Installation Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-14-2009, 06:18 PM
Member
 
Join Date: Jul 2008
Posts: 35
Red face Moved server videos not converting

here is what i get :-

Code:
STARTING VIDEO CONVERSION (process_queue.id = 999)

File: /home/amattube/public_html/video/mahsdg.wmv
$file_extn = wmv
SELECT * FROM `videos` WHERE 			       `video_id`=996
Video id: 996
Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv$video_flv = Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv
Find video duration - START/usr/local/bin/mplayer -vo null -ao null -frames 0 -identify /home/amattube/public_html/video/mahsdg.wmv
Duration (mplayer): 0
DURATION: 00:00Create Thumbnail - START

Create Thumbnail with mplayer - END
$cmd_convert_v = convert_wmv
428 $cmd_convert = /usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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 
Return value: 
Running flvtool2: /usr/local/flvtool2 -U /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv

UPDATE `process_queue` SET 		       `status`='6' WHERE 		       `id`='999'
ERROR: failed video conversion.

Reply With Quote
  #2 (permalink)  
Old 12-15-2009, 07:55 AM
Super Moderator
 
Join Date: Sep 2007
Posts: 660
Default

Look like requirements installation is not proper.

Run following command on command line and see if it works.

Code:
/usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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
__________________
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
install@hostonnet.com
Reply With Quote
  #3 (permalink)  
Old 12-17-2009, 06:41 PM
Member
 
Join Date: Jul 2008
Posts: 35
Default

Quote:
Originally Posted by hostonnet View Post
Look like requirements installation is not proper.

Run following command on command line and see if it works.

Code:
/usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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


i get this error :-

-bash: /usr/local/bin/mencoder: No such file or directory
Reply With Quote
  #4 (permalink)  
Old 12-17-2009, 07:45 PM
Super Moderator
 
Join Date: Sep 2007
Posts: 660
Default

You have no mplayer installed at /usr/local/bin/mencoder

Check if mplayer is installed

Code:
which mencoder
will list the path if already installed. Some times it can be in /usr/bin/mencoder
__________________
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
install@hostonnet.com
Reply With Quote
  #5 (permalink)  
Old 12-18-2009, 06:10 AM
Member
 
Join Date: Jul 2008
Posts: 35
Red face

my server admins did some thing and gave me this details :-

Code:
ffmpeg 
/usr/local/bin/ffmpeg 
mencoder 
/usr/local/bin/mencoder 
mplayer 
/usr/local/bin/mplayer 
flvtool2 
/usr/bin/flvtool2 
lame 
/usr/local/bin/lame 
 libogg 
libogg: /usr/local/lib/libogg.so /usr/local/lib/libogg.la /usr/local/lib/libogg.a 
 libvorbis 
libvorbis: /usr/local/lib/libvorbis.so /usr/local/lib/libvorbis.la /usr/local/lib/libvorbis.a 
 
i change config file as mentioned above location and tried conversion again, see this error i get :-

Code:
STARTING VIDEO CONVERSION (process_queue.id = 999)

File: /home/amattube/public_html/video/mahsdg.wmv
$file_extn = wmv
SELECT * FROM `videos` WHERE                    `video_id`=996
Video id: 996
Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv$video_flv = Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv
Find video duration - START/usr/local/bin/mplayer -vo null -ao null -frames 0 -identify /home/amattube/public_html/video/mahsdg.wmv
Duration (mplayer): 0
DURATION: 00:00Create Thumbnail - START

Create Thumbnail with mplayer - END
$cmd_convert_v = convert_wmv
428 $cmd_convert = /usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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 
Return value: 
Running flvtool2: /usr/bin/flvtool2 -U /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv

UPDATE `process_queue` SET                `status`='6' WHERE                `id`='999'
ERROR: failed video conversion.

Reply With Quote
  #6 (permalink)  
Old 12-19-2009, 05:54 AM
Super Moderator
 
Join Date: Sep 2007
Posts: 660
Default

As per the log, mplayer can't get the video duration. It can be due to mplayer not installed properly or having some problem.
__________________
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
install@hostonnet.com
Reply With Quote
  #7 (permalink)  
Old 12-24-2009, 07:05 AM
Member
 
Join Date: Jul 2008
Posts: 35
Cool

ok my server admins fixed conversion issue but now strange errors started , when i try approve any videos i see :-


Code:
Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/amattube/public_html/include/class.tags.php on line 70
Reply With Quote
  #8 (permalink)  
Old 12-28-2009, 05:30 AM
Super Moderator
 
Join Date: Sep 2007
Posts: 660
Default

If you have problem contact install@hostonnet.com, we can check your site.
__________________
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
install@hostonnet.com
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



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


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