• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] How to add categories???

Started by RumbaGumba,

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

RumbaGumbaTopic starter

Hi guys,
First I can not find where to create categories from. I am in the admin panel and can't see anywhere categories. Also I do have the problem with uploading videos from PC too. I read the previous threads and didn't see any solution of this problem.
  •  

RumbaGumbaTopic starter

OK, I found that categories are actually CHANNELS which doesn't make much sense but anyway. Still have the upload from pc problem. I tried uploading small videos under 1MB but no success. I can upload images though. Only one of all files that I tried to upload from my HDD happen to succeed after one hour and it does not have thumbnail. I can not upload other video again
  •  

PHPVibe A.

Hi!

I need more details.

Do you upload and convert via FFMPEG or not?
A link please?

If using ffmpeg, have you checked steps 4 and 5 http://www.phprevolution.com/installing-phpvibe/ ?

RumbaGumbaTopic starter

I gave execute permissions to all the files and folders that needed it. Still same problem. I can upload videos under 10MB. Videos over 20MB are not uploading at all. I uploaded a video 12MB but when I click to watch it I wait 20sec until it runs because it is loading it first - http://overvivid.com/video/16/dfhdfhb/......Is this normal? I turned off mode_security of my server and tried almost anything but still no success. The support now told me that the ffmpeg version have been old and they are installing a new one so that they can see what error it shows. If you have any more ideas please tell me because this is one of the most important features of the script and I can't go without it
  •  

PHPVibe A.

Hi!

Sounds like
-movflags faststart
commands in your ffmpeg have no effect/do not work.
Wait for the ffmpeg update, it's not something you can modify php/script side, except maybe try some other conversion commands if you have specific ffmpeg plugins?
Check step 5 http://www.phprevolution.com/installing-phpvibe/
But my advice is wait for ffmpeg update and ask your support to have "movflags faststart " support in the ffmpeg build.

For upload, you need to increase your server's limits, it's limiting you somewhere, upload max filesize, max execution time, post max size, one of this.
You can do this via php.ini or .htaccess (if server's config allows overwriting defaults)
This is a good general how to https://drupal.org/node/97193 even if it's for drupal.

RumbaGumbaTopic starter

Still trying to fix the issue without success. Also I am having some cache problems. I have to hit ctrl+F5 all the time so that I see all the videos I have uploaded recently. Many times I can't log in the admin panel again because of the cache problem. When I clean it it is ok but I can't do this all the time. Imagine I have 100 users uploading videos......Also what version are you running here http://www.videoinedit.com/ 3.3 or 3.4. I am with 3.4 but seem a little different then this. I managed to upload bigger file in your site so the problem is either in my server or in the version I have installed
  •  

RumbaGumbaTopic starter

Hey Alex, I am going bananas already. The server support can't fix it too. I am willing to pay you extra money only to make this script work. Can you set up my server because i guess your script is too complicated and needs a lot of settings made to the server in order to be working properly. I am using Managed Hybrid Server Hosting with Wiredtree https://www.wiredtree.com/managedhybrid/ Please check the upload problems and the cache problems and tell me what will I have to pay extra for this help. If you can not help me further I will have to ask for a refund. I have used hundreds of different scripts but never had so much problems
  •  

PHPVibe A.

It's upcoming 3.5 unfinished.
I can upload 12 gb files on server with that html5 uploader ( did not try bigger files) and convert them good.
What is your url? Did you try other browsers/devices?
What is your conversion setting on video size? If it's pretty large, that may affect you.

There are a couple of things when it comes to video loading, main ones are:

- server location relative to your location
- internet speed
- converted video size

So under:

Size for converted videos: width and height, ex: 630x320


what do you have?

RumbaGumbaTopic starter

I tried different browsers, different pc's and it is always the same. I have fast internet, fast server and pc. This is my domain http://overvivid.com/ Under Configuration/Video page settings my videos are set to 640x390 if this is what do you ask
  •  

PHPVibe A.

My guess is that you have an global caching system on the server.
All changes update very hard, even on non-cached items as upload avatar or upload cover, took about 3-4 minutes to see the changes.
If I go back to a visited page after login, it shows me as visitor (but session still exists, just the page seems to be fully served from a cache engine)
Checking further.

PHPVibe A.

#10
You have ffmpeg disabled in cms, cannot check conversion.
Uploaded two small .mp4 videos, one of 19mb, both play good for me.
http://overvivid.com/video/21/baby-test/
http://overvivid.com/video/22/models-falling-test/

Uploaded a 300 mb mobile full movie (.mp4), upload took about 4 minutes (I'm far from server, it's good time) and upload seemed to went well  but video was not inserted (I need the error log) , and you should check if you have a 373 mb file in /media.

Best guess, some timeout on server occurs.
What are the server values for:

max file size
max post size
timeout / max execution time


RumbaGumbaTopic starter

I see your 373MB file plus all the other big files that I have tried to upload but they are not inserted in the site.
post max size = 128mb
upload_max_filesize = 200mb
max_execution_time = 600

Error log -
[03-Feb-2014 16:52:28 America/Chicago] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[03-Feb-2014 16:52:28 America/Chicago] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
  •  

PHPVibe A.

Make them bigger:

post max size = 3000mb
upload_max_filesize = 3000mb
max_execution_time = 900

this is 3 gb.

That is an error from probably trying to install ffmpeg, you should remove the extension from php.ini as it's clearly not working and that may cause you many issues.


RumbaGumbaTopic starter

Changes made:
post max size = 3000mb
upload_max_filesize = 3000mb
max_execution_time = 900
max_input_time = 900

No results!
It is uploading the videos in media folder and that's all. They don't appear in the site.
What extension in php.ini file I have to remove. Couldn't get that.
  •  

RumbaGumbaTopic starter

You mean to remove the ffmpeg? Will the site work without it
  •  

PHPVibe A.

The ffmpeg is installed faulty, this is why you have that error. Here you go, details

The script is anyways put on "no ffmpeg" in settings on your website.
Did you restart apache/httpd after?

RumbaGumbaTopic starter

Some very strange things are happening here. After restarting the hhtp apache and mysql service I can upload bigger files from any computer but my own :D. I uploaded a 50mb video from my laptop but can't do it from my PC. Anyway this is my problem. The thing that bothers me now as I told you earlier is that after video upload I have to refresh the page (ctrl +F5) in order to see it. This problem occurs to all the PC's I have used. Any ideas?
  •  

PHPVibe A.

I've already replied on this matter  ;)

Quote from: Alexander on
My guess is that you have an global caching system on the server.
All changes update very hard, even on non-cached items as upload avatar or upload cover, took about 3-4 minutes to see the changes.
If I go back to a visited page after login, it shows me as visitor (but session still exists, just the page seems to be fully served from a cache engine)
Checking further.

RumbaGumbaTopic starter

About the CACHE problem
Server support answer:
"There is no server-wide caching system here; there may be one located within the script that you are using. On my end, it looks like the entire video downloads before it will play. This may be a configuration issue within the script or within the encoding of the files. I know, for example, that MP4 files have to be encoded in a certain way for them to load and play while they are still being downloaded."
  •  

RumbaGumbaTopic starter

As I told you I can upload now bigger videos but here is an example of such video and it loads before playing http://overvivid.com/video/26/test-2/
  •  

RumbaGumbaTopic starter

Hey Alex, check the latest video that I uploaded (Test 2) Why it is loading first and then playing. Please try to answer faster in the forum because it has been almost a week since I bought the script and still can't make it work like it should. And I haven't checked all the features yet. When will be version 3,5 be ready?
  •  

PHPVibe A.

I've added it to my signature since it seems nobody gets it  :)
Our support team works monday to friday, 12:00 to 20:00 , GMT +2 (Bucharest time).


Hi! I'm not sure, I can tell you it's going to be tomorrow and take 2 weeks more, coding times is really hard to approximate, as you may never know what shows up on testing and you need to go back to code big sections. ETA should be 15 Feb, hope we make it, but with everybody pushing for it, I'm not sure we will have time to do all we have planned.

PHPVibe A.

Quote from: RumbaGumba on
As I told you I can upload now bigger videos but here is an example of such video and it loads before playing http://overvivid.com/video/26/test-2/

Indeed, it buffers.
Does your ffmpeg support
-movflags faststart

?
I've downloaded that video and it does the same for me when testing it (not reconverted).

RumbaGumbaTopic starter

Yes my FFMPEG support movflags faststart. But I have to manually re-encode every video in order to play correctly. Here is how I did it:
I re-encoded the file by creating a backup:

# mv 75f7ab6ab1247a418fe55eee0a63f7b3.mp4 75f7ab6ab1247a418fe55eee0a63f7b3.mp4.bak

Then, re-encoded the video:

# ffmpeg -i 75f7ab6ab1247a418fe55eee0a63f7b3.mp4 -movflags faststart 75f7ab6ab1247a418fe55eee0a63f7b3.faststart.mp4

Then replaced the existing file with the re-encoded one:

# mv 75f7ab6ab1247a418fe55eee0a63f7b3.faststart.mp4 75f7ab6ab1247a418fe55eee0a63f7b3.mp4

This is server support instructions.

Shouldn't this be an automatic process.
  •  

PHPVibe A.

It is. By default this is the ffmpeg command template used in PHPVibe:

$output ="{ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 4 -movflags faststart {output}.mp4";


See step 5 : http://www.phprevolution.com/installing-phpvibe/

Similar topics (7)