mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Changed format and compression
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2289 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
485a814251
commit
42c705330f
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ namespace Greenshot.Helpers {
|
||||||
throw exceptionToThrow;
|
throw exceptionToThrow;
|
||||||
}
|
}
|
||||||
// Create a GDI Bitmap so we can use GDI and GDI+ operations on the same memory
|
// Create a GDI Bitmap so we can use GDI and GDI+ operations on the same memory
|
||||||
GDIBitmap = new Bitmap(recordingSize.Width, recordingSize.Height, 32, PixelFormat.Format32bppPArgb, bits0);
|
GDIBitmap = new Bitmap(recordingSize.Width, recordingSize.Height, 32, PixelFormat.Format32bppArgb, bits0);
|
||||||
// select the bitmap object and store the old handle
|
// select the bitmap object and store the old handle
|
||||||
hOldObject = GDI32.SelectObject(hDCDest, hDIBSection);
|
hOldObject = GDI32.SelectObject(hDCDest, hDIBSection);
|
||||||
stop = false;
|
stop = false;
|
||||||
|
@ -297,7 +297,7 @@ namespace Greenshot.Helpers {
|
||||||
if (ffmpegexe != null) {
|
if (ffmpegexe != null) {
|
||||||
try {
|
try {
|
||||||
string webMFile = filename.Replace(".avi", ".webm");
|
string webMFile = filename.Replace(".avi", ".webm");
|
||||||
ProcessStartInfo processStartInfo = new ProcessStartInfo(ffmpegexe, "-i \"" + filename + "\" -vcodec libvpx -g 30 \"" + webMFile + "\"");
|
ProcessStartInfo processStartInfo = new ProcessStartInfo(ffmpegexe, "-i \"" + filename + "\" -vcodec libvpx \"" + webMFile + "\"");
|
||||||
processStartInfo.CreateNoWindow = false;
|
processStartInfo.CreateNoWindow = false;
|
||||||
processStartInfo.RedirectStandardOutput = false;
|
processStartInfo.RedirectStandardOutput = false;
|
||||||
processStartInfo.UseShellExecute = false;
|
processStartInfo.UseShellExecute = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue