• Welcome to PHPVIBE Forums. Please log in.
avatar_PHPVibe R

Chain conversion commands based on previously converted quality

Started by PHPVibe R,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PHPVibe RTopic starter

When handling conversion MediaVibe takes as source the uploaded video.

You can change this to take the last converted source.

To explain this simple:
1080p - source {upload}
720p - source {upload}
360p - source {upload}
This is the logic in the CMS.

Here is my take:
1080p - source {upload}
720p - source  1080p
360p - source 720p
That's a conversion source chained from bigger to lower.

I would be very useful for faster conversion BUT it has a downside: If one quality fails then all that follow will fail (domino effect).
This is why it didn't make it into the release.
But now you can recreate missing qualities in admin -> edit video. So no biggie!

Here is my take codewise:

videocron.php file

find

foreach ($to as $call) {


BEFORE add

krsort($to);


This will sort descending the qualities.

bit lower find:

$command .=$out.';';


AFTER it add:

$input = $final.'-'.$call.'.mp4'; /* Reset source to last (bigger) conversion) */


I'm releasing a plugin to handle a bit better (my personal take) the video conversion for less-power hosts.

If you test or use this please give feedback.  ;)
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

PHPVibe RTopic starter

Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

 

Similar topics (7)

[ Video Sharing CMS v4 ] List channel videos on external Joomla based website.

Started by hamnawa


Replies: 1
Views: 1075

How to converted old videos

Started by fry


Replies: 6
Views: 2602

[ Video Sharing CMS v4 ] Cleaning up rawmedia after successful conversion?

Started by thexyd


Replies: 5
Views: 1534

[ Video Sharing CMS v4 ] choose Video/music play and Download link with multiple Quality

Started by anzalichi


Replies: 1
Views: 1420

[ Video Sharing CMS v4 ] Long and quality Videos doesnt play well

Started by yildozer


Replies: 3
Views: 1258

[ Video Sharing CMS v4 ] Videos Multiplicating after Upload and Conversion

Started by stiffhd


Replies: 0
Views: 1138

[ Video Sharing CMS v4 ] JwPlayer is not loading correct video quality

Started by teckvo


Replies: 3
Views: 1287