Video encode settings

Anyone know where the settings for the video encoding are hidden?


Not the stuff in the flash apps settings.


The default settings took a 99Mb video and made it 258Mb flv.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 20 Jan 2010

http://www.boonex.com/unity/forums/topic/Flash-Video-Quality-Mod-.htm

Quote · 20 Jan 2010

http://www.boonex.com/unity/forums/topic/Flash-Video-Quality-Mod-.htm

Thanks.

It seams that the following is only part of the command that the server will run to convert the file.

Line 169 $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound;

That sets the input for ffmpeg to convert, but not the output.

I found the Mobile output part:

Line 243 $sMobileCommand = getConverterTmpl($sSourceFile, "qcif") . "-b 180 -sameq -ab 64 -acodec libmp3lame -ac 1 " . $sMobileFile;

I would like to know where I can change the output settings for the .flv file.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 20 Jan 2010

Some test results

Stock /25:        $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound;
Second /25:     $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound. " -qmin 3 -qmax 9 ";
Third /25:        $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . " -qscale 9 " . $sSound;
Foruth /25:        $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound;
Fith /25:        $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . " -qscale 11 " . $sSound;

Sixth /15:        $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . " -qscale 11 " . $sSound;
Seventh /15:        $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound;
Eight /15:     $sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound. " -qmin 6 -qmax 12 ";

Stock            Second        Third        Foruth        Fith        Sixth(18)        Seventh        Eighth
.Src 5.3 MB     5.3         5.3         5.3            5.3            5.3                5.3            5.3
.flv 1.6 MB        3.3         3.4         1.6            2.9            2.9                1.6            2.6
.mp4 3.4 MB     2.2         3.4          3.4            3.4            2.1                1.1            1.2
.mpg 1.5 MB     3.6         3.7         1.5            3.0            3.0                1.5            2.7

You can watch the actual test clip to see quality differences at: http://alpha.worldtribes.net/m/videos/browse/album/tester-s-videos/owner/tester

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 20 Jan 2010

I've posted this issue before as uploading .flv video file becoming much bigger than original one, but no answer from

Boonex. Anyone found the way to fix it?

Quote · 21 Jan 2010
 
 
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.