Uploaded video not working on PHPVibe / Missing Video/ FFMPEG debug

9 Sep 2014
@PHPVibe
38569
2

One of the most common issues when using PHPVibe for the first time is to see that your videos uploaded are not playable.

Do not worry!

Here is what you should do:

IF you don’t have ffmpeg, make sure you turn it off!

Else, if you have ffmpeg installed, and is the right version (1.0+) under Settings -> FFMPEG add you real paths for the ffmpeg command and the php bin.

If all this correct, your new videos should work fine and the thumbnail and duration is extracted + the video is converted to a playable mp4 and shows up properly.

Note: Old videos would need to be recreated.

What happens if this doesn’t fix it?

Download the PHPVibe tester from requirements and copy a file called test.avi to that folder (read the tester’s instructions).

The tester will output an error, this error is most probably the answer you seek, if you don’t understand it, post it in the the forum for a developer to check it and guide you.

Make sure in ff.php this line:

/*
The ffmpeg command supported by your server
*/$ffmpegmd = "ffmpeg";

is edited to your ffmpeg command. Else it will just return that the ffmpeg executable is not found.

 

See also:

FFMPEG installation for a video script

Choosing and configuring a server for PHPVibe

2 Comments

  • if you use nginx as reverse proxy , you may change this value for large (big) file

    Change in Nginx config

    Add following line to http{..} block in nginx config:

    http {
    #…
    client_max_body_size 100m;
    #…
    }

    Note: For very large files, you may need to change value of client_body_timeout parameter. Default is 60s.

Leave a Reply

Your email address will not be published. Required fields are marked *