• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Uploading & Processing Glitch

Started by TheBritain,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TheBritainTopic starter

Hi there, everything seems to be working well, except when I upload.

The video does not list, and this happens on the backend.



It made 800 unpublished entries.

Thanks for your help!
  •  

TheBritainTopic starter

And a few seconds later we are up to 1700 entries.
  •  

TheBritainTopic starter

I just did a delete from on both the vibe_videos_tmp, and the vibe_videos, and they are still racking up.
  •  

PHPVibe A.


TheBritainTopic starter

Gotta say, besides the little errors here and there, this is a pretty awesome framework to start off of.
  •  

TheBritainTopic starter

  •  

PHPVibe A.


PHPVibe A.

Quote from: TheBritain on
Gotta say, besides the little errors here and there, this is a pretty awesome framework to start off of.

Point them out. This is the only way to get them fixed.

TheBritainTopic starter

Alrighty, so I setup the videocron.php in the CPanel, made the correct changes and such, but I still have some issues. As of right now, when I upload a video, it does not show up on the front end or backend. I even gave it an hour just to see what would happen.

I am using FFMPEG.

After I get this worked out, I will compile a package or tutorial for users experiencing the same issues.
  •  

PHPVibe A.

Did you use the tester? All is well in the ffmpeg setup? videocron.php has chmod 0555?
So there is no sql insert of the video? Is the database user having full permissions on the db?

TheBritainTopic starter

I checked everything and re-read the instructions, still no cake. I checked the error_log in the root, and it doesn't contain any relevant entries.
  •  

PHPVibe A.

Walk me trough it step by step, cause I feel a bit lost.

TheBritainTopic starter

Alright, after getting them to clear up the ModSec problems, I can now upload a video and it will appear on the front page, however, it is stuck in perpetual processing. I ran the tester again, and the FFMPEG tester worked. My site meets all requirements for PHPVibe. I tried a vanilla script, and the manual cron-job. Feel free to check out my site, the processing video is still there.

Thanks for the help so far, I hope that I can help contribute to the error database.
  •  

PHPVibe A.

Here is what's happening:

1. The video gets uploaded in /rawmedia and inserted to database
2. The videocron.php is triggered (by cpanel in your case) and processes the video with ffmpeg and updates the video in database, also publishes videos and sets the ffmpeg details (thumb, duration, source).

Does videocron.php gets fired by the cpanel? Cause if it doesn't, for wrong bin path reasons, file not being able to execute, it will remain stuck.

If you execute domain.com/videocron.php what happens?

PS: PM me your url.

TheBritainTopic starter

Upon firing, it erased every video's thumbnail and name. It doesn't matter whether it was upload or if it was embedded.
  •  

PHPVibe A.

What?  :o
Send me a cpanel access by PM.
Also admin login and admin url (if changed).

awsjulio

I'm having some issues with uploading as well

- I uploaded an mp4, and it prossesed quickly but had no thumbnail, it also created 300+ pages of entries that are just blank video thumbnails.

- Have tried uploading AVI extensions in the past with no luck

I can import youtube videos no problems, thumbnails and everything.

If relevant:
Brasil theme
Recently removed Cron Jobs from index.php as found in an article here because of CPU issues.
  •  

PHPVibe A.

Quote from: Alexander on
Hi, haven't heard about this shel_exec issues in a few months.
Here you go http://www.phprevolution.com/forum/troubleshooting-issues/not-using-the-right-ffmpeg/msg15349/#msg15349

Did you try this? It could also be because of a wrong specified bin path or/and ffmpeg command under "cons & ffmpeg". Does the tester work http://www.phpvibe.com/#requirements ?

awsjulio

Quote from: Alexander on
Did you try this? It could also be because of a wrong specified bin path or/and ffmpeg command under "cons & ffmpeg". Does the tester work http://www.phpvibe.com/#requirements ?

Could not locate FFMPEG via a php command. FFMPEG is optional.

does that actually mean that FFMPEG is missing or that the string being used by the php command is different? Contacted host, account FFMPEG is set up
  •  

awsjulio

Quote from: awsjulio on
Could not locate FFMPEG via a php command. FFMPEG is optional.

does that actually mean that FFMPEG is missing or that the string being used by the php command is different? Contacted host, account FFMPEG is set up

Making some progress here, turns out I took "FFMPEG comand to run, ex: ffmpeg, usr/bin/ffmpeg. Make sure it works." in FFMPEG settings too literal and removed the / before usr...

adding it now provides a thumbnail for the video, but no video: Error loading media: File could not be played.
  •  

PHPVibe A.

It means, the command is wrong.
I've never seen without an slash in front, except when it's ffmpeg word only.
Change the path in tester, see why it doesn't convert.

TheBritainTopic starter

I am still having this issue, and I have tried all manner of FFMPEG commands. I was hoping if I held off for a bit and worked on other projects, that I might come back to a later build of PHPVibe. Have there been any advancements on the processing front?
  •  

PHPVibe A.

Not sure what you expect in the next upgrade, I don't believe anybody will touch the way PHPVibe interacts with FFMPEG, there is no global need.
What you need to do is figure what's up with your FFMPEG (using the tester is the best way since it outputs the ffmpeg errors to http://www.phpvibe.com/#requirements), I'm sure there is something small there in the path/command.
Or try another host? We still have for now that starter kit free hosting offer.

TheBritainTopic starter

I have a VPS with full access to Apache. There is no need for me to switch hosting. I will continue to try and get it to work. I will post the results if I am successful.
  •  

TheBritainTopic starter

Ok, running the tester had these results: (I ran the FFMPEG tester 3 times, with the three lines detailed in this file.)
http://www.phprevolution.com/installing-phpvibe/

The first long line, does not produce an error or a file.
The second line produces an MP4 with 0 bytes of data.
The third line produces an error log. The error reads:

[21-Aug-2014 04:18:23 America/Detroit] PHP Parse error:  syntax error, unexpected '"' in /home/ROOT/public_html/tester/ff.php on line 105
[21-Aug-2014 04:18:34 America/Detroit] PHP Parse error:  syntax error, unexpected '"' in /home/ROOT/public_html/tester/ff.php on line 105
  •  

Similar topics (7)