# HG changeset patch # User sness@sness.net # Date 1369435089 0 # Node ID c313d4ffd5345ca9bf1e9797e825dd9523e8a575 # Parent edfe3a98504b356b9384a695c85ee6f9bd8f5710 ffmpeg no longer accepts a qscale value of 0. Changed qscale to 1, which also gives a very high quality output diff -r edfe3a98504b -r c313d4ffd534 trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc --- a/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc Fri May 24 20:22:16 2013 +0000 +++ b/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc Fri May 24 22:38:09 2013 +0000 @@ -168,7 +168,7 @@ char sCmdLine[1024]; //!\todo check that snprintf does not want a larger buffer snprintf(sCmdLine, sizeof(sCmdLine)/sizeof(sCmdLine[0]), "%s -y -i \"%s\" -r %.2f -i \"%s%%06d.png\" " - "-qscale 0 -r %.2f -ar 44100 -acodec pcm_s16le %s \"%s\"", + "-qscale 1 -r %.2f -ar 44100 -acodec pcm_s16le %s \"%s\"", sffmpegPath, sound_filename_.c_str(), frame_rate, directory_.c_str(), frame_rate, sCodecOptions, movie_filename_.c_str()); printf("%s", sCmdLine);