From c2edf674679ec4d14eb37d57969d6894dd4b6fda Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 12:40:22 +0100 Subject: [PATCH 01/16] Added: Support ts input extension (github issue #23) --- Application/FileConverter/Helpers.cs | 3 ++- CHANGELOG.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index 58a64e4..dea463c 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -25,7 +25,7 @@ namespace FileConverter "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dng","doc","docx","exr", "flac","flv","gif","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpeg","nef", "odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf","svg", - "tga","tif","tiff","vob","wav","webm","webp","wma","wmv","xls","xlsx" + "tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; public static string GetExtensionCategory(string extension) @@ -55,6 +55,7 @@ namespace FileConverter case "mov": case "mkv": case "ogv": + case "ts": case "vob": case "webm": case "wmv": diff --git a/CHANGELOG.md b/CHANGELOG.md index a9b55b8..170f935 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. - Added: Support tif input extension (only tiff was handled) (github issue #29). +- Added: Support ts input extension (github issue #23) - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). - Added: Highlight in red elements that contains errors in the preset list. From 0edc325d2a0eb365c1372de12e0411058888c2ed Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 14:54:54 +0100 Subject: [PATCH 02/16] - Added: Possibility to use conversion date in output file path template (github issue #56). --- Application/FileConverter/PathHelpers.cs | 3 +++ CHANGELOG.md | 1 + 2 files changed, 4 insertions(+) diff --git a/Application/FileConverter/PathHelpers.cs b/Application/FileConverter/PathHelpers.cs index 9c2d6ed..ea0b9aa 100644 --- a/Application/FileConverter/PathHelpers.cs +++ b/Application/FileConverter/PathHelpers.cs @@ -16,6 +16,7 @@ namespace FileConverter private static Regex pathRegex = new Regex(@"^(?:\\\\[^\\/:*?""<>|\r\n]+\\|[a-zA-Z]:\\)(?:[^\\/:*?""<>|\r\n]+\\)*[^\.\\/:*?""<>|\r\n][^\\/:*?""<>|\r\n]*$"); private static Regex filenameRegex = new Regex(@"[^\\]*", RegexOptions.RightToLeft); private static Regex directoryRegex = new Regex(@"^(?\\\\[^\\/:*?""""<>|\r\n]+\\|[A-Za-z]:\\)(?:(?[^\\]*)\\)*"); + private static Regex dateRegex = new Regex(@"\(d:(?[^)]*)\)"); public static bool IsPathDriveLetterValid(string path) { @@ -207,6 +208,8 @@ namespace FileConverter outputPath = outputPath.Replace("(n:i)", numberIndex.ToString()); outputPath = outputPath.Replace("(n:c)", numberMax.ToString()); + outputPath = dateRegex.Replace(outputPath, match => DateTime.Now.ToString(match.Groups["format"].Value).Replace('/', '-').Replace(':', '\'')); + outputPath += "." + outputExtension; return outputPath; diff --git a/CHANGELOG.md b/CHANGELOG.md index 170f935..579b349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - Added: "Say thanks" button if you can't donate and want to keep my motivation up :). - Added: Messages logged from main thread are now displayed in the console standard output. - Added: Add the bookmarks in pdf when converting from word file (thanks to wangweirui). +- Added: Possibility to use conversion date in output file path template (github issue #56). - Added: Brazilian Portuguese translation (thanks to Marhc). - Added: Spanish translation (thanks to Chachak). - Added: Italian translation (thanks to Davide). From f50a43ac85c2460433fe0f405a6efdbbe9c1c7f1 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 14:58:04 +0100 Subject: [PATCH 03/16] - Added: Support mpg input extension as an alias for mpeg (github issue #59) --- Application/FileConverter/Helpers.cs | 5 +++-- CHANGELOG.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index dea463c..06a4fab 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -23,8 +23,8 @@ namespace FileConverter { public static readonly string[] CompatibleInputExtensions = { "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dng","doc","docx","exr", - "flac","flv","gif","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpeg","nef", - "odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf","svg", + "flac","flv","gif","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", + "nef","odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf","svg", "tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; @@ -51,6 +51,7 @@ namespace FileConverter case "flv": case "m4v": case "mp4": + case "mpg": case "mpeg": case "mov": case "mkv": diff --git a/CHANGELOG.md b/CHANGELOG.md index 579b349..3ea2ffe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Added: Display estimated remaining time for each jobs. - Added: Support tif input extension (only tiff was handled) (github issue #29). - Added: Support ts input extension (github issue #23) +- Added: Support mpg input extension as an alias for mpeg (github issue #59) - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). - Added: Highlight in red elements that contains errors in the preset list. From 0157fdfb6086636f5e16ee46de9d5673f6d701b1 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 16:59:25 +0100 Subject: [PATCH 04/16] - Fixed: Issue where there was a maximum number of files to convert at the same time depending on the length of file paths (github issue #86). --- Application/FileConverter/Application.xaml.cs | 32 ++++++++ .../FileConverterExtension.cs | 75 ++++++++++++++++--- CHANGELOG.md | 1 + 3 files changed, 97 insertions(+), 11 deletions(-) diff --git a/Application/FileConverter/Application.xaml.cs b/Application/FileConverter/Application.xaml.cs index eb42f30..b4c0780 100644 --- a/Application/FileConverter/Application.xaml.cs +++ b/Application/FileConverter/Application.xaml.cs @@ -18,6 +18,7 @@ namespace FileConverter using System; using System.Collections.Generic; using System.Diagnostics; + using System.IO; using System.Security.Principal; using System.Threading; using System.Windows; @@ -328,6 +329,37 @@ namespace FileConverter index++; break; + case "input-files": + if (index >= args.Length - 1) + { + quitAfterStartup = true; + quitExitCode = 0x02; + Debug.LogError(quitExitCode, $"Invalid format."); + break; + } + + string fileListPath = args[index + 1]; + try + { + using (FileStream file = File.OpenRead(fileListPath)) + using (StreamReader reader = new StreamReader(file)) + { + while (!reader.EndOfStream) + { + filePaths.Add(reader.ReadLine()); + } + } + } + catch (Exception exception) + { + quitAfterStartup = true; + quitExitCode = 0x03; + Debug.LogError(quitExitCode, $"Can't read input files list: {exception}"); + } + + index++; + break; + case "verbose": { this.verbose = true; diff --git a/Application/FileConverterExtension/FileConverterExtension.cs b/Application/FileConverterExtension/FileConverterExtension.cs index a91b242..d04576e 100644 --- a/Application/FileConverterExtension/FileConverterExtension.cs +++ b/Application/FileConverterExtension/FileConverterExtension.cs @@ -21,6 +21,8 @@ namespace FileConverterExtension [COMServerAssociation(AssociationType.AllFiles)] public class FileConverterExtension : SharpContextMenu { + private const int MaximumProcessArgumentsLength = 8000; // https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation + private PresetReference[] presetReferences = null; private List menuEntries = new List(); @@ -301,29 +303,80 @@ namespace FileConverterExtension return; } - ProcessStartInfo processStartInfo = new ProcessStartInfo(PathHelpers.FileConverterPath) + void BuildConversionPresetArgument(StringBuilder sb) { - CreateNoWindow = false, - UseShellExecute = false, - RedirectStandardOutput = false, - }; + sb.Append("--conversion-preset "); + sb.Append(" \""); + sb.Append(presetName); + sb.Append("\""); + } // Build arguments string. StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("--conversion-preset "); - stringBuilder.Append(" \""); - stringBuilder.Append(presetName); - stringBuilder.Append("\""); - + BuildConversionPresetArgument(stringBuilder); + + string fileListPath = null; foreach (var filePath in this.SelectedItemPaths) { stringBuilder.Append(" \""); stringBuilder.Append(filePath); stringBuilder.Append("\""); + + if (stringBuilder.Length >= MaximumProcessArgumentsLength) + { + // Alternative way of passing arguments to not overflow the command line. + stringBuilder.Clear(); + BuildConversionPresetArgument(stringBuilder); + + // Store list of file to convert in a file in Temp folder. + fileListPath = Path.Combine(Path.GetTempPath(), "file-converter-input-list.txt"); + int index = 1; + while (File.Exists(fileListPath)) + { + fileListPath = Path.Combine(Path.GetTempPath(), $"file-converter-input-list-{index}.txt"); + index++; + } + + using (FileStream file = File.OpenWrite(fileListPath)) + using (StreamWriter writer = new StreamWriter(file)) + { + foreach (var path in this.SelectedItemPaths) + { + writer.WriteLine(path); + } + } + + stringBuilder.Append(" --input-files "); + stringBuilder.Append(" \""); + stringBuilder.Append(fileListPath); + stringBuilder.Append("\""); + break; + } } - processStartInfo.Arguments = stringBuilder.ToString(); + var processStartInfo = new ProcessStartInfo(PathHelpers.FileConverterPath) + { + CreateNoWindow = false, + UseShellExecute = false, + RedirectStandardOutput = false, + Arguments = stringBuilder.ToString(), + }; + Process exeProcess = Process.Start(processStartInfo); + exeProcess.EnableRaisingEvents = true; + exeProcess.Exited += (sender, args) => + { + if (fileListPath != null) + { + try + { + File.Delete(fileListPath); + } + catch + { + } + } + }; } } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ea2ffe..d50c0c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ - Change: Replace Pledgie donation button by Paypal donation button since Pledgie does not exist anymore. - Change: Correction of spell mistakes in the french translation (thanks to Sylvain Pollet-Villard). - Change: Change output files timestamp to match original file (github issue #33) (thanks to Diego López Bugna). +- Fixed: Issue where there was a maximum number of files to convert at the same time depending on the length of file paths (github issue #86). - Fixed: Issue where File Converter version upgrade download was not working due to an issue with https encryption. - Fixed: Issue where output video was not working correclty on some video players like Quick time (github issue #34) (thanks to Diego López Bugna). - Fixed: Issue where icons and images were blurry on high dpi device. From 3659900108e710f3a61414f3fb89e9589e8ab0a9 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 17:05:54 +0100 Subject: [PATCH 05/16] - Added: Support new raw image input formats: heic. --- Application/FileConverter/Helpers.cs | 3 ++- CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index 06a4fab..b69979a 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -23,7 +23,7 @@ namespace FileConverter { public static readonly string[] CompatibleInputExtensions = { "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dng","doc","docx","exr", - "flac","flv","gif","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", + "flac","flv","gif","heic","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", "nef","odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf","svg", "tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; @@ -67,6 +67,7 @@ namespace FileConverter case "cr2": case "dng": case "exr": + case "heic": case "ico": case "jpg": case "jpeg": diff --git a/CHANGELOG.md b/CHANGELOG.md index d50c0c6..89e1284 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,9 @@ - Added: Ability to drag and drop to move conversion presets. - Added: Possibility to export and import conversion presets to share it with other users. - Added: More presets for scale and rotation in File Converter default configuration. -- Added: Support new raw image input formats: arw, dng, nef, raf and cr2. - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. +- Added: Support new raw image input formats: arw, dng, nef, raf, cr2 and heic (github issue #96). - Added: Support tif input extension (only tiff was handled) (github issue #29). - Added: Support ts input extension (github issue #23) - Added: Support mpg input extension as an alias for mpeg (github issue #59) From 608ec160c359857cc57b097c9a9c4dfde63f1e13 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 17:13:40 +0100 Subject: [PATCH 06/16] - Added: Support rm input extension (github issue #101). --- Application/FileConverter/Helpers.cs | 3 ++- CHANGELOG.md | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index b69979a..1e119c2 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -24,7 +24,7 @@ namespace FileConverter public static readonly string[] CompatibleInputExtensions = { "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dng","doc","docx","exr", "flac","flv","gif","heic","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", - "nef","odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf","svg", + "nef","odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf", "rm", "svg", "tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; @@ -56,6 +56,7 @@ namespace FileConverter case "mov": case "mkv": case "ogv": + case "rm": case "ts": case "vob": case "webm": diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e1284..5a31e86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,7 @@ - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. - Added: Support new raw image input formats: arw, dng, nef, raf, cr2 and heic (github issue #96). -- Added: Support tif input extension (only tiff was handled) (github issue #29). -- Added: Support ts input extension (github issue #23) -- Added: Support mpg input extension as an alias for mpeg (github issue #59) +- Added: Support mpg, rm, tif, ts input extension (github issue #23 #29 #59 #101). - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). - Added: Highlight in red elements that contains errors in the preset list. From 3c9235d53bb2ac36fdac560672a6a92af07f22ae Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 17:19:58 +0100 Subject: [PATCH 07/16] - Added: Support opus input extension (github issue #111). --- Application/FileConverter/Helpers.cs | 5 +++-- CHANGELOG.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index 1e119c2..40a6d64 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -24,8 +24,8 @@ namespace FileConverter public static readonly string[] CompatibleInputExtensions = { "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dng","doc","docx","exr", "flac","flv","gif","heic","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", - "nef","odp","ods","odt","oga","ogg","ogv","pdf","png","ppt","pptx","psd","raf", "rm", "svg", - "tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" + "nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd","raf", "rm", + "svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; public static string GetExtensionCategory(string extension) @@ -41,6 +41,7 @@ namespace FileConverter case "m4a": case "oga": case "ogg": + case "opus": case "wav": case "wma": return InputCategoryNames.Audio; diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a31e86..8167985 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. - Added: Support new raw image input formats: arw, dng, nef, raf, cr2 and heic (github issue #96). -- Added: Support mpg, rm, tif, ts input extension (github issue #23 #29 #59 #101). +- Added: Support mpg, opus, rm, tif, ts input extension (github issue #23 #29 #59 #101 #111). - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). - Added: Highlight in red elements that contains errors in the preset list. From 7502b8475f8147f1aa18b273ca0fbc6c04749138 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 17:30:25 +0100 Subject: [PATCH 08/16] - Added: Support new image input formats: dds (github issue #113). --- Application/FileConverter/Helpers.cs | 3 ++- CHANGELOG.md | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index 40a6d64..0611f6f 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -22,7 +22,7 @@ namespace FileConverter public static class Helpers { public static readonly string[] CompatibleInputExtensions = { - "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dng","doc","docx","exr", + "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dds","dng","doc","docx","exr", "flac","flv","gif","heic","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", "nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd","raf", "rm", "svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" @@ -67,6 +67,7 @@ namespace FileConverter case "arw": case "bmp": case "cr2": + case "dds": case "dng": case "exr": case "heic": diff --git a/CHANGELOG.md b/CHANGELOG.md index 8167985..8382709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,9 @@ - Added: More presets for scale and rotation in File Converter default configuration. - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. -- Added: Support new raw image input formats: arw, dng, nef, raf, cr2 and heic (github issue #96). -- Added: Support mpg, opus, rm, tif, ts input extension (github issue #23 #29 #59 #101 #111). +- Added: Support new image input formats: arw, cr2, dds, dng, nef, raf, tif and heic (github issue #29 #96 #113). +- Added: Support new video input formats: mpg, rm, ts (github issue #23 #59 #101). +- Added: Support new audio input formats: opus (github issue #111). - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). - Added: Highlight in red elements that contains errors in the preset list. From c73d444b8330b54eebaa4cf99f0028716fe9aec6 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 18:48:12 +0100 Subject: [PATCH 09/16] Fixes: Issue where file 'Error' in there name were generating false negative result (github issue #247). --- .../FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs | 7 +++++-- CHANGELOG.md | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs b/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs index dd84eb2..a935aad 100644 --- a/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs +++ b/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.cs @@ -505,9 +505,12 @@ namespace FileConverter.ConversionJobs } } - if (input.Contains("Exiting.") || input.Contains("Error") || input.Contains("Unsupported dimensions") || input.Contains("No such file or directory")) + // Remove file names from log to avoid false negative when some words like 'Error' are in file name (github issue #247). + string inputWithoutFileNames = input.Replace(this.InputFilePath, string.Empty).Replace(this.OutputFilePath, string.Empty); + + if (inputWithoutFileNames.Contains("Exiting.") || inputWithoutFileNames.Contains("Error") || inputWithoutFileNames.Contains("Unsupported dimensions") || inputWithoutFileNames.Contains("No such file or directory")) { - if (input.StartsWith("Error while decoding stream") && input.EndsWith("Invalid data found when processing input")) + if (inputWithoutFileNames.StartsWith("Error while decoding stream") && inputWithoutFileNames.EndsWith("Invalid data found when processing input")) { // It is normal for a transport stream to start with a broken frame. // https://trac.ffmpeg.org/ticket/1622 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8382709..2464f01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ - Fixed: Issue where File Converter version upgrade download was not working due to an issue with https encryption. - Fixed: Issue where output video was not working correclty on some video players like Quick time (github issue #34) (thanks to Diego López Bugna). - Fixed: Issue where icons and images were blurry on high dpi device. +- Fixed: Issue where file 'Error' in there name were generating false negative result (github issue #247). - Tech: Complete rework of the project architecture to be able to improve it in a long term perspective. The project is now using the MVVM Community Toolkit and is following more closely this design pattern. - Tech: Update ffmpeg to v6.1.1 and ImageMagick to v13.5. - Tech: Update SharpShell to v2.7.2. From dad944d8cff395453b319f2efa53061fb93c09d8 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 18:48:56 +0100 Subject: [PATCH 10/16] Add: Support new image input formats: jfif (github issue #130). --- Application/FileConverter/Helpers.cs | 7 ++++--- CHANGELOG.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index 0611f6f..cc2701d 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -23,9 +23,9 @@ namespace FileConverter { public static readonly string[] CompatibleInputExtensions = { "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dds","dng","doc","docx","exr", - "flac","flv","gif","heic","ico","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4","mpg","mpeg", - "nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd","raf", "rm", - "svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" + "flac","flv","gif","heic","ico","jfif","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4", + "mpg","mpeg","nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd", + "raf", "rm","svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; public static string GetExtensionCategory(string extension) @@ -72,6 +72,7 @@ namespace FileConverter case "exr": case "heic": case "ico": + case "jfif": case "jpg": case "jpeg": case "nef": diff --git a/CHANGELOG.md b/CHANGELOG.md index 2464f01..a6c7979 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Added: More presets for scale and rotation in File Converter default configuration. - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. -- Added: Support new image input formats: arw, cr2, dds, dng, nef, raf, tif and heic (github issue #29 #96 #113). +- Added: Support new image input formats: arw, cr2, dds, dng, jfif, nef, raf, tif and heic (github issue #29 #96 #113 #130). - Added: Support new video input formats: mpg, rm, ts (github issue #23 #59 #101). - Added: Support new audio input formats: opus (github issue #111). - Added: Icons on context menu elements and conversion preset list actions. From 586c73e77714fcc4cf21aaf5d8d3912464ee5d0d Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 19:01:11 +0100 Subject: [PATCH 11/16] Fixes: spelling mistake in english localization (github issue #260) --- Application/FileConverter/Properties/Resources.Designer.cs | 2 +- Application/FileConverter/Properties/Resources.ar-EG.resx | 2 +- Application/FileConverter/Properties/Resources.en.resx | 2 +- Application/FileConverter/Properties/Resources.fr-FR.resx | 2 +- Application/FileConverter/Properties/Resources.it-IT.resx | 2 +- Application/FileConverter/Properties/Resources.resx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/FileConverter/Properties/Resources.Designer.cs b/Application/FileConverter/Properties/Resources.Designer.cs index a7b3c29..3e8daa1 100644 --- a/Application/FileConverter/Properties/Resources.Designer.cs +++ b/Application/FileConverter/Properties/Resources.Designer.cs @@ -70,7 +70,7 @@ namespace FileConverter.Properties { } /// - /// Looks up a localized string similar to Allow you to chose what you want to do with your input files if the conversion succeed. + /// Looks up a localized string similar to Allow you to choose what you want to do with your input files if the conversion succeed. /// public static string ActionWhenConversionSucceedDescription { get { diff --git a/Application/FileConverter/Properties/Resources.ar-EG.resx b/Application/FileConverter/Properties/Resources.ar-EG.resx index 843de98..bb30876 100644 --- a/Application/FileConverter/Properties/Resources.ar-EG.resx +++ b/Application/FileConverter/Properties/Resources.ar-EG.resx @@ -123,7 +123,7 @@ السماح لك لاختيار ماذا تريد أن تفعل مع الملف المدخل عند انتهاء التحويل - Allow you to chose what you want to do with your input files if the conversion succeed + Allow you to choose what you want to do with your input files if the conversion succeed افعل عند انتهاء التحويل بنجاح diff --git a/Application/FileConverter/Properties/Resources.en.resx b/Application/FileConverter/Properties/Resources.en.resx index f6bae56..34892b2 100644 --- a/Application/FileConverter/Properties/Resources.en.resx +++ b/Application/FileConverter/Properties/Resources.en.resx @@ -121,7 +121,7 @@ About - Allow you to chose what you want to do with your input files if the conversion succeed + Allow you to choose what you want to do with your input files if the conversion succeed Action when conversion succeed diff --git a/Application/FileConverter/Properties/Resources.fr-FR.resx b/Application/FileConverter/Properties/Resources.fr-FR.resx index 3166a68..ad9b6cf 100644 --- a/Application/FileConverter/Properties/Resources.fr-FR.resx +++ b/Application/FileConverter/Properties/Resources.fr-FR.resx @@ -122,7 +122,7 @@ Cette option vous permet de choisir ce que vous souhaitez faire du fichier d'origine après une conversion réussie - Allow you to chose what you want to do with your input files if the conversion succeed + Allow you to choose what you want to do with your input files if the conversion succeed Action après conversion réussie diff --git a/Application/FileConverter/Properties/Resources.it-IT.resx b/Application/FileConverter/Properties/Resources.it-IT.resx index a74c6f5..b197135 100644 --- a/Application/FileConverter/Properties/Resources.it-IT.resx +++ b/Application/FileConverter/Properties/Resources.it-IT.resx @@ -123,7 +123,7 @@ Permette di scegliere cosa vuoi fare con i tuoi file di input se la conversione ha successo - Allow you to chose what you want to do with your input files if the conversion succeed + Allow you to choose what you want to do with your input files if the conversion succeed Azione dopo la conversione diff --git a/Application/FileConverter/Properties/Resources.resx b/Application/FileConverter/Properties/Resources.resx index a06c49b..26f3cfb 100644 --- a/Application/FileConverter/Properties/Resources.resx +++ b/Application/FileConverter/Properties/Resources.resx @@ -121,7 +121,7 @@ About - Allow you to chose what you want to do with your input files if the conversion succeed + Allow you to choose what you want to do with your input files if the conversion succeed Action when conversion succeed From d1638712fb38bad1aae55f67a60820a0e45c9390 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 19:31:25 +0100 Subject: [PATCH 12/16] Adde Support new video input formats: 3gpp (github issue #318). --- Application/FileConverter/Helpers.cs | 5 +++-- CHANGELOG.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index cc2701d..cc48711 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -22,8 +22,8 @@ namespace FileConverter public static class Helpers { public static readonly string[] CompatibleInputExtensions = { - "3gp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dds","dng","doc","docx","exr", - "flac","flv","gif","heic","ico","jfif","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4", + "3gp","3gpp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dds","dng","doc","docx", + "exr","flac","flv","gif","heic","ico","jfif","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4", "mpg","mpeg","nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd", "raf", "rm","svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; @@ -47,6 +47,7 @@ namespace FileConverter return InputCategoryNames.Audio; case "3gp": + case "3gpp": case "avi": case "bik": case "flv": diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c7979..c535a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - Added: Display conversion progress on the Windows taskbar item. - Added: Display estimated remaining time for each jobs. - Added: Support new image input formats: arw, cr2, dds, dng, jfif, nef, raf, tif and heic (github issue #29 #96 #113 #130). -- Added: Support new video input formats: mpg, rm, ts (github issue #23 #59 #101). +- Added: Support new video input formats: 3gpp, mpg, rm, ts (github issue #23 #59 #101 #318). - Added: Support new audio input formats: opus (github issue #111). - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). From a225ef18499daa9dd7bdb832873f624d5725a920 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 19:40:09 +0100 Subject: [PATCH 13/16] Add demo gif in readme (github issue #335) temp temp --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 275e748..c89e065 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ **File Converter** is a very simple tool which allows you to convert and compress one or several file(s) using the context menu of windows explorer. -You can download it here: [www.file-converter.org](https://file-converter.org/?from=readme.md). +![File Converter Usage](Resources/FileConverterUsage.gif) + +You can download it here: [file-converter.org](https://file-converter.org/?from=readme.md). You can find more information about what's in File converter and how to use it on the [wiki](https://github.com/Tichau/FileConverter/wiki). From 38246f5a8092c0f2a46b58e5663b7291a3791da4 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 19:55:28 +0100 Subject: [PATCH 14/16] Add: Support new audio input formats: m4b, opus (github issue #351). --- Application/FileConverter/Helpers.cs | 3 ++- CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/FileConverter/Helpers.cs b/Application/FileConverter/Helpers.cs index cc48711..6d7bb62 100644 --- a/Application/FileConverter/Helpers.cs +++ b/Application/FileConverter/Helpers.cs @@ -23,7 +23,7 @@ namespace FileConverter { public static readonly string[] CompatibleInputExtensions = { "3gp","3gpp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dds","dng","doc","docx", - "exr","flac","flv","gif","heic","ico","jfif","jpg","jpeg","m4a","m4v","mkv","mov","mp3","mp4", + "exr","flac","flv","gif","heic","ico","jfif","jpg","jpeg","m4a","m4b","m4v","mkv","mov","mp3","mp4", "mpg","mpeg","nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd", "raf", "rm","svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx" }; @@ -39,6 +39,7 @@ namespace FileConverter case "flac": case "mp3": case "m4a": + case "m4b": case "oga": case "ogg": case "opus": diff --git a/CHANGELOG.md b/CHANGELOG.md index c535a1d..6b25a5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ - Added: Display estimated remaining time for each jobs. - Added: Support new image input formats: arw, cr2, dds, dng, jfif, nef, raf, tif and heic (github issue #29 #96 #113 #130). - Added: Support new video input formats: 3gpp, mpg, rm, ts (github issue #23 #59 #101 #318). -- Added: Support new audio input formats: opus (github issue #111). +- Added: Support new audio input formats: m4b, opus (github issue #111 #351). - Added: Icons on context menu elements and conversion preset list actions. - Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). - Added: Highlight in red elements that contains errors in the preset list. From 0b01da762ff65d29c1543faa724aadb7cd43f537 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 19:57:55 +0100 Subject: [PATCH 15/16] Update issue numbers in changelog. --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b25a5a..6e0b0a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next version -- Added: Possibility to create custom command line preset for types converted with FFMPEG (video and audio). +- Added: Possibility to create custom command line preset for types converted with FFMPEG (video and audio) (github issue #19 #18 #41 #61 #73 #128 #140 #153 #177 #182 #225 #255 #310 #314 #316 #325). - Added: Possibility to create preset folders in File Converter context menu. - Added: Ability to drag and drop to move conversion presets. - Added: Possibility to export and import conversion presets to share it with other users. @@ -27,7 +27,7 @@ - Added: Turkish translation (thanks to MayaC0re). - Added: Hindi translation (thanks to vishveshjain). - Added: Arabic translation (thanks to Mahmoud0Sultan). -- Change: Rework extension so it uses the settings file on disk instead of registry settings (github issue #22 #32). +- Change: Rework extension so it uses the settings file on disk instead of registry settings (github issue #22 #32 #176 #340 #343). - Change: Some UX improvements. - Change: Replace Pledgie donation button by Paypal donation button since Pledgie does not exist anymore. - Change: Correction of spell mistakes in the french translation (thanks to Sylvain Pollet-Villard). From 0574762ba5d6e0a74f61d6a361f103e9f5e4b4b3 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Fri, 19 Jan 2024 19:59:38 +0100 Subject: [PATCH 16/16] Clean changelog nomenclature. --- CHANGELOG.md | 116 +++++++++++++++++++++++++-------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e0b0a4..2f9628c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,41 +2,41 @@ ## Next version -- Added: Possibility to create custom command line preset for types converted with FFMPEG (video and audio) (github issue #19 #18 #41 #61 #73 #128 #140 #153 #177 #182 #225 #255 #310 #314 #316 #325). -- Added: Possibility to create preset folders in File Converter context menu. -- Added: Ability to drag and drop to move conversion presets. -- Added: Possibility to export and import conversion presets to share it with other users. -- Added: More presets for scale and rotation in File Converter default configuration. -- Added: Display conversion progress on the Windows taskbar item. -- Added: Display estimated remaining time for each jobs. -- Added: Support new image input formats: arw, cr2, dds, dng, jfif, nef, raf, tif and heic (github issue #29 #96 #113 #130). -- Added: Support new video input formats: 3gpp, mpg, rm, ts (github issue #23 #59 #101 #318). -- Added: Support new audio input formats: m4b, opus (github issue #111 #351). -- Added: Icons on context menu elements and conversion preset list actions. -- Added: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). -- Added: Highlight in red elements that contains errors in the preset list. -- Added: "Say thanks" button if you can't donate and want to keep my motivation up :). -- Added: Messages logged from main thread are now displayed in the console standard output. -- Added: Add the bookmarks in pdf when converting from word file (thanks to wangweirui). -- Added: Possibility to use conversion date in output file path template (github issue #56). -- Added: Brazilian Portuguese translation (thanks to Marhc). -- Added: Spanish translation (thanks to Chachak). -- Added: Italian translation (thanks to Davide). -- Added: German translation (thanks to nikotschierske). -- Added: Simplified Chinese translation (thanks to Snoopy1866). -- Added: Turkish translation (thanks to MayaC0re). -- Added: Hindi translation (thanks to vishveshjain). -- Added: Arabic translation (thanks to Mahmoud0Sultan). +- New: Possibility to create custom command line preset for types converted with FFMPEG (video and audio) (github issue #19 #18 #41 #61 #73 #128 #140 #153 #177 #182 #225 #255 #310 #314 #316 #325). +- New: Possibility to create preset folders in File Converter context menu. +- New: Ability to drag and drop to move conversion presets. +- New: Possibility to export and import conversion presets to share it with other users. +- New: More presets for scale and rotation in File Converter default configuration. +- New: Display conversion progress on the Windows taskbar item. +- New: Display estimated remaining time for each jobs. +- New: Support new image input formats: arw, cr2, dds, dng, jfif, nef, raf, tif and heic (github issue #29 #96 #113 #130). +- New: Support new video input formats: 3gpp, mpg, rm, ts (github issue #23 #59 #101 #318). +- New: Support new audio input formats: m4b, opus (github issue #111 #351). +- New: Icons on context menu elements and conversion preset list actions. +- New: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32). +- New: Highlight in red elements that contains errors in the preset list. +- New: "Say thanks" button if you can't donate and want to keep my motivation up :). +- New: Messages logged from main thread are now displayed in the console standard output. +- New: Add the bookmarks in pdf when converting from word file (thanks to wangweirui). +- New: Possibility to use conversion date in output file path template (github issue #56). +- New: Brazilian Portuguese translation (thanks to Marhc). +- New: Spanish translation (thanks to Chachak). +- New: Italian translation (thanks to Davide). +- New: German translation (thanks to nikotschierske). +- New: Simplified Chinese translation (thanks to Snoopy1866). +- New: Turkish translation (thanks to MayaC0re). +- New: Hindi translation (thanks to vishveshjain). +- New: Arabic translation (thanks to Mahmoud0Sultan). - Change: Rework extension so it uses the settings file on disk instead of registry settings (github issue #22 #32 #176 #340 #343). - Change: Some UX improvements. - Change: Replace Pledgie donation button by Paypal donation button since Pledgie does not exist anymore. - Change: Correction of spell mistakes in the french translation (thanks to Sylvain Pollet-Villard). - Change: Change output files timestamp to match original file (github issue #33) (thanks to Diego López Bugna). -- Fixed: Issue where there was a maximum number of files to convert at the same time depending on the length of file paths (github issue #86). -- Fixed: Issue where File Converter version upgrade download was not working due to an issue with https encryption. -- Fixed: Issue where output video was not working correclty on some video players like Quick time (github issue #34) (thanks to Diego López Bugna). -- Fixed: Issue where icons and images were blurry on high dpi device. -- Fixed: Issue where file 'Error' in there name were generating false negative result (github issue #247). +- Fixes: Issue where there was a maximum number of files to convert at the same time depending on the length of file paths (github issue #86). +- Fixes: Issue where File Converter version upgrade download was not working due to an issue with https encryption. +- Fixes: Issue where output video was not working correclty on some video players like Quick time (github issue #34) (thanks to Diego López Bugna). +- Fixes: Issue where icons and images were blurry on high dpi device. +- Fixes: Issue where file 'Error' in there name were generating false negative result (github issue #247). - Tech: Complete rework of the project architecture to be able to improve it in a long term perspective. The project is now using the MVVM Community Toolkit and is following more closely this design pattern. - Tech: Update ffmpeg to v6.1.1 and ImageMagick to v13.5. - Tech: Update SharpShell to v2.7.2. @@ -49,24 +49,24 @@ ## Version 1.2.3 -- Fixed: Issue where the scale was not working for image conversions depending on the application current language. +- Fixes: Issue where the scale was not working for image conversions depending on the application current language. - Tech: Include office library dependencies in package config (now you don't need to install office to build the project). - Tech: Upgrade Ghostscript to version 9.21. - Tech: Update ImageMagick to version 7.0.5. ## Version 1.2.2 -- Added: Portuguese translation (thanks to Khidreal). -- Fixed: Issue where scale was corrupted when switching application language (github issue #5). -- Fixed: Issue where file metadata were not copied when converting to aac format (github issue #15). +- New: Portuguese translation (thanks to Khidreal). +- Fixes: Issue where scale was corrupted when switching application language (github issue #5). +- Fixes: Issue where file metadata were not copied when converting to aac format (github issue #15). - Tech: Update to ffmpeg 3.2.2 version. - Tech: Improve security using https instead of http for upgrade system and links (thanks to TheAresjej). ## Version 1.2.1 -- Fixed: Issue where audio file tags were not copied in a format readable by Windows. -- Fixed: Issue where the default language was set to french (github issue #6). -- Fixed: Issue where the size of a pdf generated from images was not consistent. +- Fixes: Issue where audio file tags were not copied in a format readable by Windows. +- Fixes: Issue where the default language was set to french (github issue #6). +- Fixes: Issue where the size of a pdf generated from images was not consistent. - Change: Small improvements of File Converter application and installer interface thanks to TheAresjej (github issues #7 and #8). ## Version 1.2 @@ -77,7 +77,7 @@ - New: Possibility to convert images and documents to webp format. - New: Support new image input format: webp. - New: Add the possibility to cancel image, CDA extraction and gif conversions. -- Fixed: Issue where multiple conversion jobs were created for the same file resulting in an error message. +- Fixes: Issue where multiple conversion jobs were created for the same file resulting in an error message. - Tech: Improve application performances on startup. - Tech: Improve diagnostics. @@ -95,7 +95,7 @@ - New: Add an application option to choose the maximum number of simultaneous conversions. - Change: Improve the application help start page (when you launch File Converter directly from the executable) with an animated picture. - Change: Improve the output type dropdown visualization (splitting it by categories). -- Fixed: Issue where it was impossible to rotate an image for the output types: jpg and png. +- Fixes: Issue where it was impossible to rotate an image for the output types: jpg and png. ## Version 1.0 @@ -105,8 +105,8 @@ - New: Add help shortcuts in the conversion preset edition interface that links directly to the corresponding documentation page. - New: Add shortcuts in start menu. - New: Create a donation campaign on Pledgie and linked it in the about section. -- Fixed: Issue with Avast antivirus where File Converter and Windows explorer was frozen when the user tried to use File Converter. -- Fixed: Issue where it was impossible to convert files from a network path. +- Fixes: Issue with Avast antivirus where File Converter and Windows explorer was frozen when the user tried to use File Converter. +- Fixes: Issue where it was impossible to convert files from a network path. ## Version 0.7 @@ -118,12 +118,12 @@ - New: Support new video input formats: ogv and mpeg. - New: Support new audio input format: oga. - New: Possibility to cancel some conversion jobs (gif/cda and image conversion jobs are not cancelable for now). -- Fixed: Issue where video can't be compressed using H.264 codec (mp4 or mkv presets) when its size (width or height) is not divisible by 2 (append a lot when the user tries to scale a video) (github issue #2). -- Fixed: Issue where "Clamp to power of 2 size" option didn't work well with images that already have a power of 2 size. -- Fixed: Issue where conversion progress was not updated correctly (for converters based on ffmpeg). -- Fixed: Issue where converting a video into the ogg format did not extract audio in an ogg file correctly. -- Fixed: Issue where simultaneous read on the same CD drive was performed when files from different conversions came from the same drive (other than cda extraction preset). -- Fixed: Issue where the path generator was unable to create a valid path if the input file was at the root of a drive. +- Fixes: Issue where video can't be compressed using H.264 codec (mp4 or mkv presets) when its size (width or height) is not divisible by 2 (append a lot when the user tries to scale a video) (github issue #2). +- Fixes: Issue where "Clamp to power of 2 size" option didn't work well with images that already have a power of 2 size. +- Fixes: Issue where conversion progress was not updated correctly (for converters based on ffmpeg). +- Fixes: Issue where converting a video into the ogg format did not extract audio in an ogg file correctly. +- Fixes: Issue where simultaneous read on the same CD drive was performed when files from different conversions came from the same drive (other than cda extraction preset). +- Fixes: Issue where the path generator was unable to create a valid path if the input file was at the root of a drive. - Tech: Annotate the conversion presets to know if there are default preset or user preset in order to improve the upgrade process. ## Version 0.6 @@ -135,12 +135,12 @@ - New: Remove restriction on image size to convert to ico file format (it is now possible to convert all images to ico). - New: Add "Clamp to power of 2 size" option in image conversion. - New: Support input images encoded in 16 bits or 32 bits per color channel. -- Fixed: Issue where the installer detects the uses of the extension dll in explorer, ask the user to restart it and fail to do it. -- Fixed: Issue where it is impossible to delete a conversion preset defined in default settings. -- Fixed: Issue where the Windows context menu does not contain user preset after an application upgrade. -- Fixed: Issue where some registry keys remain after file converter uninstall. -- Fixed: Issue where aac bitrate was not saved. -- Fixed: Issue where settings serialization version was not updated. +- Fixes: Issue where the installer detects the uses of the extension dll in explorer, ask the user to restart it and fail to do it. +- Fixes: Issue where it is impossible to delete a conversion preset defined in default settings. +- Fixes: Issue where the Windows context menu does not contain user preset after an application upgrade. +- Fixes: Issue where some registry keys remain after file converter uninstall. +- Fixes: Issue where aac bitrate was not saved. +- Fixes: Issue where settings serialization version was not updated. - Change: Allow the user to scale images until 1600% size (useful to scale pixel art images). ## Version 0.5 @@ -150,7 +150,7 @@ - New: Possibility to encode videos (avi output file format) using Xvid video codec and Mp3 audio codec. - New: Support new video input file formats: 3gp, webm and wmv. - New: Add a help window to explain how file converter works when you launch it without using the context menu. -- Fixed: Problem to convert images when accentuated characters were present in their path. +- Fixes: Problem to convert images when accentuated characters were present in their path. - Tech: Update ffmpeg version (aac encoding is not anymore experimental). ## Version 0.4 @@ -166,8 +166,8 @@ - New: Copy the currently selected preset when clicking on the add preset button. - New: Add "My Documents", "My Music", "My Videos" and "My Pictures" folder to output file name generator. - New: Possibility to choose if the application quit after succeeded conversions. -- Fixed: Reordering presets does not update the registry. -- Fixed: Merge default settings with user settings to prevent errors when upgrading the application. +- Fixes: Reordering presets does not update the registry. +- Fixes: Merge default settings with user settings to prevent errors when upgrading the application. - Tech: Handle incorrect user settings case. - Tech: Improve diagnostics system (compatibility with logs from multiple threads, dump files in AppData folder and error messages). - Tech: Update ffmpeg version. @@ -183,8 +183,8 @@ - New: Add button to move up or down a preset. - New: Add input files post conversion action (No action, move in archive folder or delete). - New: Add categories on input file extensions. -- Fixed: Lose focus of main window don't terminate the application. -- Fixed: The application icon now have a correct resolution at any size. +- Fixes: Lose focus of main window don't terminate the application. +- Fixes: The application icon now have a correct resolution at any size. - Tech: Add error codes on error messages. ## Version 0.2