I noticed that .mp4 videos stay in .mp4 format. How can I change the code to force the script to convert all .mp4 files to .flv
I noticed that .mp4 videos stay in .mp4 format. How can I change the code to force the script to convert all .mp4 files to .flv
I am currently running version 2.7
Hi,
This fix only for vshare 2.7
open file include/functions_upload.php
find
replacePHP Code:
if ($file_extn == 'mp4')
{
$rand_flv_name = $rand_name . '.mp4';
$outExtn = '.mp4';
}
again findPHP Code:
/*
if ($file_extn == 'mp4')
{
$rand_flv_name = $rand_name . '.mp4';
$outExtn = '.mp4';
}
*/
replacePHP Code:
if ($file_extn == 'flv' || $file_extn == 'mp4')
ThanksPHP Code:
if ($file_extn == 'flv')
What about for version 2.8.1?
Hi,
Open include/settings/video_format.php
change mp4 instead flv
$video_output_format = 'flv';
Thanks
Buyscripts Team
Last edited by vshare2; 02-19-2013 at 05:02 AM.
Bookmarks