D7 Video Quality and other Questions

Hi all,

Few questions regarding video quality.

1. I have edited functions.inc.php line 169 to amend it to look like this....

$sTmpl = $sFfmpegPath . " -y -i " . $sInputFile . " -r " . getVideoFps() . " -s " . getVideoSize($sSize) . $sSound . " -qmin 1 -qmax 1 ";

I kept qmin and qmax both at 1 to indicated maximum quality conversion.  I also uncheck "save video original quality while converting" and set Recording FPS to 25, and Recording Quality to 100 in the administration panel > modules > Flash Apps > Video Player > Settings

So I believe this should produce a decent video, the results....

Original .avi file = 4.7 MB  screenshot below

Dolphin 7 converted the original to flv = 3.61 MB screenshot below

As you can see there is a huge quality difference, so I go and have a look at the error logs

under /public_html/flash/modules/video/inc

error_log reads

[02-Jan-2010 12:25:08] PHP Warning:  Module 'ffmpeg' already loaded in Unknown on line 0
[02-Jan-2010 20:25:08] PHP Warning:  require_once(BX_DIRECTORY_PATH_INCdb.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/atslash/public_html/flash/modules/video/inc/customFunctions.inc.php on line 2
[02-Jan-2010 20:25:08] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'BX_DIRECTORY_PATH_INCdb.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/atslash/public_html/flash/modules/video/inc/customFunctions.inc.php on line 2
[02-Jan-2010 12:25:09] PHP Warning:  Module 'ffmpeg' already loaded in Unknown on line 0

no clue what this garble is lol

and another error log under /public_html/flash/modules/video/files

error_log reads

[01-Jan-2010 13:46:38] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01-Jan-2010 16:14:42] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01-Jan-2010 21:52:02] PHP Warning:  Module 'ffmpeg' already loaded in Unknown on line 0

again i still am not sure what this entirely means, arvixe is my hosting so there should not be any issues with ffmpeg or php or shouldnt be any errors at all because they support d7 100%

With the quality being of such huge difference and the file size of small difference I wish i could just embed the original avi file and skip D7 doing the conversions and let me do them on my desktop.  Maybe there is a way of doing that?

Next question... with the 2 images above... would this be a normal conversion loss or does it look like something is seriously wrong.


I have tried variations of the qmin qmax and without it completely, and having the setting in admin panel on max.  This is the absolute best result i could produce up to this point.

The uploads and conversions and crons are all working just the quality is lacking for me and need to get it a bit better for tutorials that I make.

Any suggestions would be simply fantastic, I really like Dolphin 7 and the community has be great.  I enjoy the software very much, i just need it a tiny bit better :)

Quote · 5 Jan 2010

Using "Save Original Video Quality" is variable bitrate and the highest quality FFMPEG can create at the cost of file size. It is the same as -qmin 1 -qmax 1 so it is redundant.

 

The 100% Quality only affects Real Time Video (RMS Server)

 

AVI files are actually two files in a AVI "wrapper". It is possible that the format used for the video portion isn't 100% compliant, so try a different video and/or try converting your avi to wmv using Windows Movie Maker to see what happens then.

 

 

Quote · 5 Jan 2010

Thanks for the info, Ill try that and post the findings in a few minutes

Quote · 5 Jan 2010

converted a video from fraps to wmv uploaded, and produced the exact same results

new question....

I can encode a fraps file to flv... nice, sharp and clean small file video 1280 x 720 on my desktop

the result when I upload is a new flv that turns into 640 x 360 using sorenson H.263 25 fps rather than 1280 x 720  x264 and 25 fps

why is it resizing my video so much? this is whats causing it to be fuzzy

Quote · 5 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.