help me pleaseee

because the conversion of a file double takes because singol a video file is converted into two formats (flv mpg)?

Quote · 18 Feb 2009
it is not possible for anyone answer me this question is very important, if I load a single video file and convert over my two converted files (one and one FLV MPG) is consumed twice the space.
all scripts on the market and convert to FLV enough, because this script converts simultaneously in two formats?
Quote · 18 Feb 2009

I have only posted finished lines
##################################################################
ray/modules/movie/functions.inc.php
comment:


/*mrp    $sFile = $sTempFile . SAVE_EXTENSION;
$sCommand = $sFfmpegPath . $sInput . $sTempFile . $sSize . $sRate . $sQuality . $sTempFile . SAVE_EXTENSION;
@exec($sCommand);
if(!file_exists($sFilesPath . $sFile) || filesize($sFilesPath . $sFile) == 0) return false;*/

comment:
// mrp @unlink($sFilesPath . $sTempFile . SAVE_EXTENSION);

comment:
// mrp $bResult = @unlink($sFileName . SAVE_EXTENSION);
##################################################################
ray/modules/movie/constants.inc.php

change:
if(!defined("SAVE_EXTENSION")) define("SAVE_EXTENSION", ".flv"); //mrp

##################################################################
ray/modules/movie/actions.inc.php
change:
$sContents .= parseXml($aXmlTemplates['file'], $sFileId, $sFileId . PLAY_EXTENSION, $sFileId . IMAGE_EXTENSION, $sFileId . THUMB_FILE_NAME . IMAGE_EXTENSION);

now you can rename your .mpg to test then delte after you see it work.
This assumes you already have save off in ray suite settings

Have fun

I have video tutorials to help you mrpowless.com
Quote · 18 Feb 2009

I have only posted finished lines
##################################################################
ray/modules/movie/functions.inc.php
comment:


/*mrp    $sFile = $sTempFile . SAVE_EXTENSION;
$sCommand = $sFfmpegPath . $sInput . $sTempFile . $sSize . $sRate . $sQuality . $sTempFile . SAVE_EXTENSION;
@exec($sCommand);
if(!file_exists($sFilesPath . $sFile) || filesize($sFilesPath . $sFile) == 0) return false;*/

comment:
// mrp @unlink($sFilesPath . $sTempFile . SAVE_EXTENSION);

comment:
// mrp $bResult = @unlink($sFileName . SAVE_EXTENSION);
##################################################################
ray/modules/movie/constants.inc.php

change:
if(!defined("SAVE_EXTENSION")) define("SAVE_EXTENSION", ".flv"); //mrp

##################################################################
ray/modules/movie/actions.inc.php
change:
$sContents .= parseXml($aXmlTemplates['file'], $sFileId, $sFileId . PLAY_EXTENSION, $sFileId . IMAGE_EXTENSION, $sFileId . THUMB_FILE_NAME . IMAGE_EXTENSION);

now you can rename your .mpg to test then delte after you see it work.
This assumes you already have save off in ray suite settings

Have fun

thanks for your answer, but the file functions.inc.php in path ray / modules / movie / I do not find it, maybe you refer to this path ray / modules / movie / inc / ???
Quote · 18 Feb 2009

I have only posted finished lines
##################################################################
ray/modules/movie/functions.inc.php
comment:


/*mrp    $sFile = $sTempFile . SAVE_EXTENSION;
$sCommand = $sFfmpegPath . $sInput . $sTempFile . $sSize . $sRate . $sQuality . $sTempFile . SAVE_EXTENSION;
@exec($sCommand);
if(!file_exists($sFilesPath . $sFile) || filesize($sFilesPath . $sFile) == 0) return false;*/

comment:
// mrp @unlink($sFilesPath . $sTempFile . SAVE_EXTENSION);

comment:
// mrp $bResult = @unlink($sFileName . SAVE_EXTENSION);
##################################################################
ray/modules/movie/constants.inc.php

change:
if(!defined("SAVE_EXTENSION")) define("SAVE_EXTENSION", ".flv"); //mrp

##################################################################
ray/modules/movie/actions.inc.php
change:
$sContents .= parseXml($aXmlTemplates['file'], $sFileId, $sFileId . PLAY_EXTENSION, $sFileId . IMAGE_EXTENSION, $sFileId . THUMB_FILE_NAME . IMAGE_EXTENSION);

now you can rename your .mpg to test then delte after you see it work.
This assumes you already have save off in ray suite settings

Have fun

I changed how I wrote to you, the file constants.inc.php and the file actions.inc.php, but when I upload error (uploading file error ) the file functions.inc.php I did not change because I did not understand what change
Quote · 18 Feb 2009

to comment in php you have to either use // or /* php */

see how the first section is commented?

/*mrp    $sFile = $sTempFile . SAVE_EXTENSION;
$sCommand = $sFfmpegPath . $sInput . $sTempFile . $sSize . $sRate . $sQuality . $sTempFile . SAVE_EXTENSION;
@exec($sCommand);
if(!file_exists($sFilesPath . $sFile) || filesize($sFilesPath . $sFile) == 0) return false;*/

everything else please try to see what is different and change it.

I have video tutorials to help you mrpowless.com
Quote · 18 Feb 2009

to comment in php you have to either use // or /* php */

see how the first section is commented?

/*mrp    $sFile = $sTempFile . SAVE_EXTENSION;
$sCommand = $sFfmpegPath . $sInput . $sTempFile . $sSize . $sRate . $sQuality . $sTempFile . SAVE_EXTENSION;
@exec($sCommand);
if(!file_exists($sFilesPath . $sFile) || filesize($sFilesPath . $sFile) == 0) return false;*/

everything else please try to see what is different and change it.

sorry does not work I changed everything as you said but you give me the same error. I am sure something error. Can I send you the files in private and give me a hand? :-(
Quote · 18 Feb 2009

but believe nobody this forum creates problems because dual conversion. is a serious problem, more time to convert, double-space

Quote · 19 Feb 2009

pm me with your email and I can send them to ya

I have video tutorials to help you mrpowless.com
Quote · 19 Feb 2009

pm me with your email and I can send them to ya

thank you mrpowless, i send my e-mail

Quote · 19 Feb 2009

files sent

I have video tutorials to help you mrpowless.com
Quote · 19 Feb 2009

sorry not work i upload files wmv - mpg - flv large 5 mb i receved same error "undefined" :-(

Quote · 19 Feb 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.