Go Back   BuyScripts Forums > vShare YouTube Clone > Announcements

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 08-24-2007, 11:34 PM
Senior Member
 
Join Date: Aug 2007
Posts: 334
Default

Ok, I wanted to give the new update a day or so before I upgraded. I just installed the upgrade and set up my cron job. Here is the problem I am having.

When I upload a video, the upload goes fine, except the video is not added to the front page under the "New Videos" section. The only way to see it there is to look on the profile of the person who uploaded it.

Also, even though the video plays fine, after you watch the video it is not added to the "Recently Viewed" list on the main page. The list does seem to get updated, but only if you watch one of the old videos.

My cron job is set up as (where sporvcom is my user name)

Quote:
/user/bin/php -q /home/sporvcom/public_html/cron.php > /dev/null &
So my problem is:

- Uploads not featured on the New Videos list
- New videos that are played are not listed as Recently Viewed.

What do you think is the cause of this?

Update

I noticed that "Auto Approve" was disabled in the admin control panel. I switched this to enabled, and now it appears to be working fine. I dont remember this being in the other version.

The only problem is that three videos uploaded by myself and other members during the interim still do not show in any place. I do not see a place to approve them. Is there a solution other than asking them to delete and reupload?
__________________
This member is now known as Sitting Out
Reply With Quote
  #22 (permalink)  
Old 08-25-2007, 02:12 AM
Junior Member
 
Join Date: Jun 2007
Posts: 13
Default

Quote:
Originally Posted by admin
Quote:
Originally Posted by mashim
Quote:
Originally Posted by admin
You need to check if the new table have same collations as your existing ones.
I changed the collation of the new table to latin1_swedish_ci
and this sloved the problem

thank you a lot
What control panel you are using ?
I am using cpannel and accsising database using phpadmin
u can change the collation from phpadmin

currently I have problem with converssion
when I upload files they are uploaded succefully but in the process queue
the status always remain "Convert Started" ... I try to update the status to "convert again" then the status changed to "Video downloaded sucessfully." after that it return to "Convert Started" ... it has been more than 12 hours for this file!
I guess may be the cron job is not set correctly!
this is what I did for the cron job


Code:
/usr/bin/php -q /home/shiatube/public_html/cron.php  > /dev/null &
Also when I upload an .rm file it says in the process queue "convert error"

the follwing is the debug content for that file I guess :?

Code:
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)

==========================================================================

Opening video decoder: [realvid] RealVideo decoder

Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Opening video decoder: [realvid] RealVideo decoder

Win32 LoadLibrary failed to load: drv3.so.6.0, /usr/lib/codecs/drv3.so.6.0, /usr/lib/win32/drv3.so.6.0, /usr/local/lib/win32/drv3.so.6.0

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Opening video decoder: [realvid] RealVideo decoder

Win32 LoadLibrary failed to load: drv33260.dll, /usr/lib/codecs/drv33260.dll, /usr/lib/win32/drv33260.dll, /usr/local/lib/win32/drv33260.dll

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Opening video decoder: [realvid] RealVideo decoder

Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Read DOCS/HTML/en/codecs.html!

==========================================================================


Exiting...


2007-08-24 21:16:47 -------------------------------------------------------------

2007-08-24 21:16:47 Return value: Exiting...

2007-08-24 21:16:47 Calling process_video[18,0]
Reply With Quote
  #23 (permalink)  
Old 08-25-2007, 03:04 AM
Senior Member
 
Join Date: Aug 2007
Posts: 147
Default

Hello-

This is the Cron format I am using in Cpanel (Latest Release). It works fantastic.

cd /home/cpanel username/public_html/ ; php cron.php

or if addon domain use:

cd /home/cpanel username/public_html/addon domain/ ; php cron.php

These work terrifically! Now if I could just import Google through the URL.

Hope this helps!
Reply With Quote
  #24 (permalink)  
Old 08-25-2007, 09:56 AM
Junior Member
 
Join Date: Aug 2007
Posts: 8
Default

Quote:
Originally Posted by SportsGamingTV.com

So my problem is:

- Uploads not featured on the New Videos list
- New videos that are played are not listed as Recently Viewed.

What do you think is the cause of this?
Im having same problem, only it also affects featured videos
Reply With Quote
  #25 (permalink)  
Old 08-25-2007, 10:19 AM
Administrator
 
Join Date: Apr 2007
Posts: 2,124
Default

You need to enable

Admin > Settings

Auto Approve = Enabled

If not, you need to approve videos your self at

Admin > Video Management > Approve Videos
__________________
vShare Youtube Clone
Reply With Quote
  #26 (permalink)  
Old 08-25-2007, 10:52 AM
Administrator
 
Join Date: Apr 2007
Posts: 2,124
Default

mashim, the mencoder installed on your server is not able to convert .rm files. You need to get your server admin check and fix the mencoder problem.

Code:
/usr/bin/mencoder '/home/shiatube/public_html/video/movis_01_2.rm' -o /home/shiatube/public_html/flvideo/1188008207779339874.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
Ask them to run this command and see if video get converted to FLV.

vShare can show video only if mencoder and do the conversion.
__________________
vShare Youtube Clone
Reply With Quote
  #27 (permalink)  
Old 08-25-2007, 03:49 PM
Junior Member
 
Join Date: Jun 2007
Posts: 13
Default

can we have an option not to have a cron job ?
The file is converted after a very long time from uploading !
and I dont know why ?
always the status say "convert started" !!
Reply With Quote
  #28 (permalink)  
Old 08-25-2007, 04:19 PM
Administrator
 
Join Date: Apr 2007
Posts: 2,124
Default

Quote:
Originally Posted by mashim
can we have an option not to have a cron job ?
The file is converted after a very long time from uploading !
and I dont know why ?
always the status say "convert started" !!
If you are asking for user upload, yes

In Admin > Miscellaneous > Video Processing


Set to real time.

If that is not working, you need to do following

Video not getting converted to flv
__________________
vShare Youtube Clone
Reply With Quote
  #29 (permalink)  
Old 08-25-2007, 04:57 PM
Junior Member
 
Join Date: Jun 2007
Posts: 13
Default

the convert working but it take a long time
I changed the value to real time
but it remains the same situation !
when I uploaded it shows in the process queue with convert started and take several hours to be converted !
Reply With Quote
  #30 (permalink)  
Old 08-25-2007, 05:10 PM
Senior Member
 
Join Date: Aug 2007
Posts: 334
Default

Quote:
Originally Posted by admin
You need to enable

Admin > Settings

Auto Approve = Enabled

If not, you need to approve videos your self at

Admin > Video Management > Approve Videos

I had figured this out and switched the auto approve to be enabled. However, I think this feature is flawed.

For one thing, even when auto approve was set to disabled, I could still watch the new video. They would not be listed on the home page, but if I clicked on the recent videos list or the persons profile, they were there and could be watched. So basically, if I had wanted to use the auto approve feature, it wouldn't be working properly. It would only keep the videos from making the front page, but the person could still get the video on the site.

For another thing, the approved list was also populated with about 8 other videos (roughly, didnt count) that had already been in the system for some time. Why those and not others? It seems like it grabbed random videos to force the approval.

Everything is working fine after I enabled auto approve and then approved all of those waiting videos, but I think there's something funky going on with this feature that you may want to look at for a future release.
__________________
This member is now known as Sitting Out
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:34 PM.


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