• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] converting videos

Started by shpeedie,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shpeedieTopic starter

hi - my videos are not getting converted after upload. I have the version of ffmpeg installed below.
ffmpeg version 2.2.git
built on Mar 19 2014 15:22:35 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)

A .WMV or .AVI file get uploaded into rawmedia and stay there. ffmpeg extracts the thumbnail, but no conversion appears to happen, its a 30mb file. When attempting to play the video i get the error
"Error loading media - File could not be played"

Can you help me ?
  •  

PHPVibe A.


shpeedieTopic starter

Thanks Alexander, my ffmpeg was pointing to a old version of ffmpeg on the server, i have updated the path to the new version of ffmpeg and conversion is now working, however the when clicking on the Thumbnail to load the video, the error message "Error loading media - File could not be played" still appears but if you click on the error message, the video will then play.

Any ideas?
  •  

TigerClaw

  •  

shpeedieTopic starter

IE doesnt play at all
Firefox plays but keeps having errors during playback
Chrome also plays but keeps erroring out too.
  •  

PHPVibe A.

A safe choice (browser wide) if to link directly to the mp4 file, but that will show the real path.

You can try it:

in lib/class.providers.php

if(!isIOS()) {
				  $real_link        = site_url() . 'stream.php?file=' . base64_encode(base64_encode($path));
				  } else {
				  $real_link        = thumb_fix(get_option('mediafolder').'/'.$this->getVideoId("localfile/"));

              }

changed to
$real_link        = thumb_fix(get_option('mediafolder').'/'.$this->getVideoId("localfile/"));

            

shpeedieTopic starter

i made those changes Alex, but it still keeps erroring out. do you want to see the link ?
103.26.237.51/video/5929/wildlife-wmv/

Thanks
  •  

shpeedieTopic starter

Quote from: shpeedie on
i made those changes Alex, but it still keeps erroring out. do you want to see the link ?
103.26.237.51/video/5929/wildlife-wmv/

Thanks

sorry - link is 103.26.237.51/trapdoor/video/5929/wildlife-wmv/
  •  

PHPVibe A.

Video plays for me?
But there's an weird padding under the video because video height it's 720px in config.

Similar topics (7)