because the conversion of a file double takes because singol a video file is
converted into two formats (flv mpg)? |
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?
|
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 |
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 / ???
|
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
|
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 |
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? :-(
|
but believe nobody this forum creates problems because dual conversion. is a serious problem, more time to convert, double-space |
pm me with your email and I can send them to ya I have video tutorials to help you mrpowless.com |
pm me with your email and I can send them to ya
thank you mrpowless, i send my e-mail
|
I have video tutorials to help you mrpowless.com |
sorry not work i upload files wmv - mpg - flv large 5 mb i receved same error "undefined" :-( |