From 4b930132842f0e7c5f344117af0878f494ddd7b9 Mon Sep 17 00:00:00 2001 From: nekno Date: Mon, 28 Sep 2020 19:46:01 -0500 Subject: [PATCH 01/30] Add Track type --- Transcoder/Track.cs | 70 ++++++++++++++++++++++++++++++++++++ Transcoder/Transcoder.csproj | 1 + 2 files changed, 71 insertions(+) create mode 100644 Transcoder/Track.cs diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs new file mode 100644 index 0000000..c032f0a --- /dev/null +++ b/Transcoder/Track.cs @@ -0,0 +1,70 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Transcoder +{ + public class Track + { + public String EndTime { get; protected set; } + public String Name { get; protected set; } + public Int32 Number { get; protected set; } + public String StartTime { get; protected set; } + + public Track(String csvLine) + { + var values = ParseCsv(csvLine); + + if (values.Count < 4) + throw new FormatException(); + + Number = Int32.Parse(values[0]); + Name = values[1]; + StartTime = values[2]; + EndTime = values[3]; + } + + public static IEnumerable GetTracks(String fileName) + { + var tracks = from csvLine in File.ReadAllLines(fileName) + select new Track(csvLine); + return tracks; + } + + List ParseCsv(String csvLine) + { + var values = new List(csvLine.Split(',')); + var returnValues = new List(values.Count); + + for (int i = 0; i < values.Count; i++) + { + string value = values[i]; + var countToHere = i + 1; + + if (value.StartsWith("\"") && countToHere < values.Count) + { + var endIdx = values.FindIndex(countToHere, v => v.EndsWith("\"")); + if (endIdx >= 0) + { + var subValues = values.GetRange(i, endIdx - i + 1); + returnValues.Add(String.Join(",", subValues).Trim('\"')); + i = endIdx; + } + else + { + returnValues.Add(value); + } + } + else + { + returnValues.Add(value); + } + } + + return returnValues; + } + } +} diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index 4ee9ae3..a298279 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -69,6 +69,7 @@ + Form From 432e2309f3fb9608c4eaf833c33141596d0f80b3 Mon Sep 17 00:00:00 2001 From: nekno Date: Mon, 28 Sep 2020 19:46:22 -0500 Subject: [PATCH 02/30] Parse Track from CSV --- Transcoder/MainForm.cs | 4 ++-- Transcoder/TranscoderFile.cs | 46 ++++-------------------------------- 2 files changed, 6 insertions(+), 44 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index e5c9507..e986fe3 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -171,8 +171,8 @@ async void goButton_Click(object sender, EventArgs e) { if (Path.GetExtension(ofd.FileName) == ".csv") { - outputFiles = from csvLine in File.ReadAllLines(ofd.FileName) - select file.GetFile(csvLine); + outputFiles = from track in Track.GetTracks(ofd.FileName) + select file.GetFile(track); } else if (Path.GetExtension(ofd.FileName) == ".xml") { diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index e49fe3e..d6f5521 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -115,18 +115,13 @@ public String BuildCommandLineArgs(Type encoderType, Int32 bitrate, String baseO return args; } - public TranscoderFile GetFile(String csvLine) + public TranscoderFile GetFile(Track track) { - var values = ParseCsv(csvLine); - - if (values.Count < 4) - throw new FormatException(); - - return new TranscoderFile(String.Format("{0:000} - {1}{2}", values[0], GetSafeFileName(values[1]), Path.GetExtension(FileName)), Folder) + return new TranscoderFile(String.Format("{0:000} - {1}{2}", track.Number, GetSafeFileName(track.Name), Path.GetExtension(FileName)), Folder) { SourceFile = this, - StartTime = values[2], - EndTime = values[3] + StartTime = track.StartTime, + EndTime = track.EndTime }; } @@ -185,39 +180,6 @@ String GetSafeFileName(String fileName) return null; } - List ParseCsv(String csvLine) - { - var values = new List(csvLine.Split(',')); - var returnValues = new List(values.Count); - - for (int i = 0; i < values.Count; i++) - { - string value = values[i]; - var countToHere = i + 1; - - if (value.StartsWith("\"") && countToHere < values.Count) - { - var endIdx = values.FindIndex(countToHere, v => v.EndsWith("\"")); - if (endIdx >= 0) - { - var subValues = values.GetRange(i, endIdx - i + 1); - returnValues.Add(String.Join(",", subValues).Trim('\"')); - i = endIdx; - } - else - { - returnValues.Add(value); - } - } - else - { - returnValues.Add(value); - } - } - - return returnValues; - } - #endregion #region Sub Types From 98886653ac4544b09eaff2b64a0eb7283e1bc4c9 Mon Sep 17 00:00:00 2001 From: nekno Date: Mon, 28 Sep 2020 19:54:34 -0500 Subject: [PATCH 03/30] Add IMediaSegment --- Transcoder/IMediaSegment.cs | 16 ++++++++++++++++ Transcoder/Transcoder.csproj | 1 + 2 files changed, 17 insertions(+) create mode 100644 Transcoder/IMediaSegment.cs diff --git a/Transcoder/IMediaSegment.cs b/Transcoder/IMediaSegment.cs new file mode 100644 index 0000000..a097733 --- /dev/null +++ b/Transcoder/IMediaSegment.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Transcoder +{ + public interface IMediaSegment + { + String EndTime { get; } + String Name { get; } + Int32 Number { get; } + String StartTime { get; } + } +} diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index a298279..8efbc98 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -67,6 +67,7 @@ + From ab9a0f08823409a3329756b0326877f68e334d0d Mon Sep 17 00:00:00 2001 From: nekno Date: Mon, 28 Sep 2020 19:54:48 -0500 Subject: [PATCH 04/30] Implement IMediaSegment --- Transcoder/MatroskaChapter.cs | 2 +- Transcoder/Track.cs | 4 ++-- Transcoder/TranscoderFile.cs | 18 ++++-------------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/Transcoder/MatroskaChapter.cs b/Transcoder/MatroskaChapter.cs index 5378cb0..4c305d5 100644 --- a/Transcoder/MatroskaChapter.cs +++ b/Transcoder/MatroskaChapter.cs @@ -5,7 +5,7 @@ namespace Transcoder { - public class MatroskaChapter + public class MatroskaChapter : IMediaSegment { public String EndTime { get; protected set; } public String Name { get; protected set; } diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs index c032f0a..a2a7c95 100644 --- a/Transcoder/Track.cs +++ b/Transcoder/Track.cs @@ -7,8 +7,8 @@ namespace Transcoder { - public class Track - { + public class Track : IMediaSegment + { public String EndTime { get; protected set; } public String Name { get; protected set; } public Int32 Number { get; protected set; } diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index d6f5521..f83deed 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -115,23 +115,13 @@ public String BuildCommandLineArgs(Type encoderType, Int32 bitrate, String baseO return args; } - public TranscoderFile GetFile(Track track) + public TranscoderFile GetFile(IMediaSegment segment) { - return new TranscoderFile(String.Format("{0:000} - {1}{2}", track.Number, GetSafeFileName(track.Name), Path.GetExtension(FileName)), Folder) + return new TranscoderFile(String.Format("{0:000} - {1}{2}", segment.Number, GetSafeFileName(segment.Name), Path.GetExtension(FileName)), Folder) { SourceFile = this, - StartTime = track.StartTime, - EndTime = track.EndTime - }; - } - - public TranscoderFile GetFile(MatroskaChapter chapter) - { - return new TranscoderFile(String.Format("{0:000} - {1}{2}", chapter.Number, GetSafeFileName(chapter.Name), Path.GetExtension(FileName)), Folder) - { - SourceFile = this, - StartTime = chapter.StartTime, - EndTime = chapter.EndTime + StartTime = segment.StartTime, + EndTime = segment.EndTime }; } From 1b43b7fd3fdefc0228bf7dd5167e1b177ee85858 Mon Sep 17 00:00:00 2001 From: nekno Date: Tue, 29 Sep 2020 22:42:58 -0500 Subject: [PATCH 05/30] Use constants for CSV and XML file extensions --- Transcoder/MainForm.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index e986fe3..cb04cf1 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -155,12 +155,13 @@ async void goButton_Click(object sender, EventArgs e) { { selectDataGridViewRow(i); + String CSV = "*.csv", XML = "*.xml"; var file = files[i]; IEnumerable outputFiles = new List(); var ofd = new OpenFileDialog() { Title = String.Format("Select tracks/chapters for {0}", file.FileName), - Filter = "Comma Separated Values (*.csv)|*.csv|Matroska Chapters (*.xml)|*.xml", + Filter = $"Comma Separated Values ({CSV})|{CSV}|Matroska Chapters ({XML})|{XML}", InitialDirectory = Path.GetDirectoryName(file.FilePath) }; @@ -169,12 +170,12 @@ async void goButton_Click(object sender, EventArgs e) { continue; } - if (Path.GetExtension(ofd.FileName) == ".csv") + if (Path.GetExtension(ofd.FileName) == CSV) { outputFiles = from track in Track.GetTracks(ofd.FileName) select file.GetFile(track); } - else if (Path.GetExtension(ofd.FileName) == ".xml") + else if (Path.GetExtension(ofd.FileName) == XML) { outputFiles = from chapter in MatroskaChapter.GetChapters(ofd.FileName) select file.GetFile(chapter); From 551d6c351a9097c65aab946b0ceddb90a02c9f5d Mon Sep 17 00:00:00 2001 From: nekno Date: Tue, 29 Sep 2020 22:51:51 -0500 Subject: [PATCH 06/30] Add TranscoderFile.GetFiles() --- Transcoder/MainForm.cs | 6 ++---- Transcoder/TranscoderFile.cs | 34 +++++++++++++--------------------- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index cb04cf1..996480e 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -172,13 +172,11 @@ async void goButton_Click(object sender, EventArgs e) { if (Path.GetExtension(ofd.FileName) == CSV) { - outputFiles = from track in Track.GetTracks(ofd.FileName) - select file.GetFile(track); + outputFiles = file.GetFiles(Track.GetTracks(ofd.FileName)); } else if (Path.GetExtension(ofd.FileName) == XML) { - outputFiles = from chapter in MatroskaChapter.GetChapters(ofd.FileName) - select file.GetFile(chapter); + outputFiles = file.GetFiles(MatroskaChapter.GetChapters(ofd.FileName)); } foreach (var outputFile in outputFiles) diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index f83deed..499fb45 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -115,15 +115,10 @@ public String BuildCommandLineArgs(Type encoderType, Int32 bitrate, String baseO return args; } - public TranscoderFile GetFile(IMediaSegment segment) + public IEnumerable GetFiles(IEnumerable segments) where T : IMediaSegment { - return new TranscoderFile(String.Format("{0:000} - {1}{2}", segment.Number, GetSafeFileName(segment.Name), Path.GetExtension(FileName)), Folder) - { - SourceFile = this, - StartTime = segment.StartTime, - EndTime = segment.EndTime - }; - } + return segments.Select(segment => GetFile(segment)); + } public String OutputFilePath(Type encoderType, String baseOutputFolder) { @@ -145,6 +140,16 @@ public void ResetFile() #region Protected Methods + TranscoderFile GetFile(T segment) where T : IMediaSegment + { + return new TranscoderFile(String.Format("{0:000} - {1}{2}", segment.Number, GetSafeFileName(segment.Name), Path.GetExtension(FileName)), Folder) + { + SourceFile = this, + StartTime = segment.StartTime, + EndTime = segment.EndTime + }; + } + String GetSafeFileName(String fileName) { var safeFileName = fileName; @@ -157,19 +162,6 @@ String GetSafeFileName(String fileName) return safeFileName; } - private Int32? indexOfClosingQuote(List values, Int32 startIdx) - { - for (int i = startIdx; i < values.Count; i++) - { - if (values[i].EndsWith("\"")) - { - return i; - } - } - - return null; - } - #endregion #region Sub Types From 3d36116de7431ec4f7feafadcfd0ff07ed2f094a Mon Sep 17 00:00:00 2001 From: nekno Date: Tue, 29 Sep 2020 23:26:34 -0500 Subject: [PATCH 07/30] Use Track and MatroskaChapter file extension and filter constants --- Transcoder/MainForm.cs | 7 +++---- Transcoder/MatroskaChapter.cs | 5 ++++- Transcoder/Track.cs | 2 ++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 996480e..84ab275 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -155,13 +155,12 @@ async void goButton_Click(object sender, EventArgs e) { { selectDataGridViewRow(i); - String CSV = "*.csv", XML = "*.xml"; var file = files[i]; IEnumerable outputFiles = new List(); var ofd = new OpenFileDialog() { Title = String.Format("Select tracks/chapters for {0}", file.FileName), - Filter = $"Comma Separated Values ({CSV})|{CSV}|Matroska Chapters ({XML})|{XML}", + Filter = $"{Track.FileFilter}|{MatroskaChapter.FileFilter}", InitialDirectory = Path.GetDirectoryName(file.FilePath) }; @@ -170,11 +169,11 @@ async void goButton_Click(object sender, EventArgs e) { continue; } - if (Path.GetExtension(ofd.FileName) == CSV) + if (Path.GetExtension(ofd.FileName) == Track.FileExtension) { outputFiles = file.GetFiles(Track.GetTracks(ofd.FileName)); } - else if (Path.GetExtension(ofd.FileName) == XML) + else if (Path.GetExtension(ofd.FileName) == MatroskaChapter.FileExtension) { outputFiles = file.GetFiles(MatroskaChapter.GetChapters(ofd.FileName)); } diff --git a/Transcoder/MatroskaChapter.cs b/Transcoder/MatroskaChapter.cs index 4c305d5..42ca6ae 100644 --- a/Transcoder/MatroskaChapter.cs +++ b/Transcoder/MatroskaChapter.cs @@ -3,10 +3,13 @@ using System.Linq; using System.Xml.Linq; -namespace Transcoder +namespace Transcoder { public class MatroskaChapter : IMediaSegment { + public static String FileExtension = "*.xml"; + public static String FileFilter = $"Matroska Chapters ({FileExtension})|{FileExtension}"; + public String EndTime { get; protected set; } public String Name { get; protected set; } public Int32 Number { get; protected set; } diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs index a2a7c95..371fe41 100644 --- a/Transcoder/Track.cs +++ b/Transcoder/Track.cs @@ -9,6 +9,8 @@ namespace Transcoder { public class Track : IMediaSegment { + public static String FileExtension = "*.csv"; + public static String FileFilter = $"Comma Separated Values ({FileExtension})|{FileExtension}"; public String EndTime { get; protected set; } public String Name { get; protected set; } public Int32 Number { get; protected set; } From 688aa25b582fd66646c4178c7e26196e03f5ea1d Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 00:24:50 -0500 Subject: [PATCH 08/30] Fix file extensions --- Transcoder/MatroskaChapter.cs | 4 ++-- Transcoder/Track.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Transcoder/MatroskaChapter.cs b/Transcoder/MatroskaChapter.cs index 42ca6ae..87a0915 100644 --- a/Transcoder/MatroskaChapter.cs +++ b/Transcoder/MatroskaChapter.cs @@ -7,8 +7,8 @@ namespace Transcoder { public class MatroskaChapter : IMediaSegment { - public static String FileExtension = "*.xml"; - public static String FileFilter = $"Matroska Chapters ({FileExtension})|{FileExtension}"; + public static String FileExtension = ".xml"; + public static String FileFilter = $"Matroska Chapters (*{FileExtension})|*{FileExtension}"; public String EndTime { get; protected set; } public String Name { get; protected set; } diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs index 371fe41..7125e0b 100644 --- a/Transcoder/Track.cs +++ b/Transcoder/Track.cs @@ -9,8 +9,8 @@ namespace Transcoder { public class Track : IMediaSegment { - public static String FileExtension = "*.csv"; - public static String FileFilter = $"Comma Separated Values ({FileExtension})|{FileExtension}"; + public static String FileExtension = ".csv"; + public static String FileFilter = $"Comma Separated Values (*{FileExtension})|*{FileExtension}"; public String EndTime { get; protected set; } public String Name { get; protected set; } public Int32 Number { get; protected set; } From 2521586c5707de44794dbde62cdbd7840de4e3fa Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 00:29:50 -0500 Subject: [PATCH 09/30] Add BindingList.Add(IEnumerable) extension method. --- Transcoder/BindingList.cs | 20 ++++++++++++++++++++ Transcoder/Transcoder.csproj | 1 + 2 files changed, 21 insertions(+) create mode 100644 Transcoder/BindingList.cs diff --git a/Transcoder/BindingList.cs b/Transcoder/BindingList.cs new file mode 100644 index 0000000..2597a57 --- /dev/null +++ b/Transcoder/BindingList.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Transcoder +{ + static class BindingListExtension + { + public static void Add(this BindingList @this, IEnumerable items) + { + foreach (var item in items) + { + @this.Add(item); + } + } + } +} diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index 8efbc98..9017799 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -66,6 +66,7 @@ + From d850f5f3ee8f50136b8eabff4db518619923033e Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 00:30:28 -0500 Subject: [PATCH 10/30] Use BindingList.Add(). --- Transcoder/MainForm.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 84ab275..7c3e0ee 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -178,14 +178,7 @@ async void goButton_Click(object sender, EventArgs e) { outputFiles = file.GetFiles(MatroskaChapter.GetChapters(ofd.FileName)); } - foreach (var outputFile in outputFiles) - { - try - { - TranscoderFiles.Add(outputFile); - } - catch { } - } + TranscoderFiles.Add(outputFiles); file.Done = true; } From 1253b811b48b256db2b710db03de30577d310fc9 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 00:35:34 -0500 Subject: [PATCH 11/30] Remove and sort usings --- Transcoder/BindingList.cs | 6 +----- Transcoder/IMediaSegment.cs | 4 ---- Transcoder/Track.cs | 4 +--- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Transcoder/BindingList.cs b/Transcoder/BindingList.cs index 2597a57..22d1403 100644 --- a/Transcoder/BindingList.cs +++ b/Transcoder/BindingList.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.ComponentModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Transcoder { diff --git a/Transcoder/IMediaSegment.cs b/Transcoder/IMediaSegment.cs index a097733..3dfbe08 100644 --- a/Transcoder/IMediaSegment.cs +++ b/Transcoder/IMediaSegment.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Transcoder { diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs index 7125e0b..3d221c6 100644 --- a/Transcoder/Track.cs +++ b/Transcoder/Track.cs @@ -2,12 +2,10 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Transcoder { - public class Track : IMediaSegment + public class Track : IMediaSegment { public static String FileExtension = ".csv"; public static String FileFilter = $"Comma Separated Values (*{FileExtension})|*{FileExtension}"; From 8bb603bbd9237b2027184993ff148afb3a28acf0 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 01:00:25 -0500 Subject: [PATCH 12/30] Move StreamInfo to dedicated file --- Transcoder/StreamInfo.cs | 71 ++++++++++++++++++++++++++++++++++++ Transcoder/Transcoder.csproj | 1 + Transcoder/TranscoderFile.cs | 71 ++---------------------------------- 3 files changed, 75 insertions(+), 68 deletions(-) create mode 100644 Transcoder/StreamInfo.cs diff --git a/Transcoder/StreamInfo.cs b/Transcoder/StreamInfo.cs new file mode 100644 index 0000000..b20783e --- /dev/null +++ b/Transcoder/StreamInfo.cs @@ -0,0 +1,71 @@ +using System; +using System.Diagnostics; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; + +namespace Transcoder +{ + public class StreamInfo + { + public Int32? BitDepth { get; protected set; } + public String Duration { get; protected set; } + public Int64? Samples { get; protected set; } + public String Title { get; protected set; } + + public StreamInfo(String filePath) + { + if (!File.Exists(filePath)) + return; + + using (var decoder = new Process()) + { + decoder.StartInfo = new ProcessStartInfo() + { + FileName = Path.Combine(Environment.CurrentDirectory, Encoder.FFPROBE.FilePath), + Arguments = String.Format("-sexagesimal -select_streams a -show_entries stream=bits_per_raw_sample,duration,duration_ts:format_tags=title -of flat \"{0}\"", filePath), + WindowStyle = ProcessWindowStyle.Hidden, + CreateNoWindow = true, + UseShellExecute = false, + RedirectStandardInput = false, + RedirectStandardOutput = true, + RedirectStandardError = false, + StandardOutputEncoding = Encoding.UTF8 + }; + + decoder.Start(); + var output = decoder.StandardOutput.ReadToEnd(); + + var bitDepthMatch = Regex.Match(output, "^streams.stream.0.bits_per_raw_sample=\"([\\d]+)\"\r?$", RegexOptions.Multiline); + if (bitDepthMatch.Success && bitDepthMatch.Groups.Count == 2) + { + if (Int32.TryParse(bitDepthMatch.Groups[1].Value, out int bitValue)) + { + BitDepth = bitValue; + } + } + + var durationMatch = Regex.Match(output, "^streams.stream.0.duration=\"(.+)\"\r?$", RegexOptions.Multiline); + if (durationMatch.Success && durationMatch.Groups.Count == 2) + { + Duration = durationMatch.Groups[1].Value; + } + + var samplesMatch = Regex.Match(output, "^streams.stream.0.duration_ts=([\\d]+)\r?$", RegexOptions.Multiline); + if (samplesMatch.Success && samplesMatch.Groups.Count == 2) + { + if (Int32.TryParse(samplesMatch.Groups[1].Value, out int samplesValue)) + { + Samples = samplesValue; + } + } + + var titleMatch = Regex.Match(output, "^format.tags.title=\"(.+)\"\r?$", RegexOptions.Multiline); + if (titleMatch.Success && titleMatch.Groups.Count == 2) + { + Title = titleMatch.Groups[1].Value; + } + } + } + } +} diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index 9017799..7dc5693 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -71,6 +71,7 @@ + diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index 499fb45..373ac22 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -1,15 +1,13 @@ -using System; +using MediaInfoLib; +using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Text; -using System.Text.RegularExpressions; -using MediaInfoLib; namespace Transcoder { - public class TranscoderFile + public class TranscoderFile { #region Static Fields @@ -316,69 +314,6 @@ public String CommandLineArgs(bool isDecodingRequired) #endregion } - public class StreamInfo - { - public Int32? BitDepth { get; protected set; } - public String Duration { get; protected set; } - public Int64? Samples { get; protected set; } - public String Title { get; protected set; } - - public StreamInfo(String filePath) - { - if (!File.Exists(filePath)) - return; - - using (var decoder = new Process()) - { - decoder.StartInfo = new ProcessStartInfo() - { - FileName = Path.Combine(Environment.CurrentDirectory, Encoder.FFPROBE.FilePath), - Arguments = String.Format("-sexagesimal -select_streams a -show_entries stream=bits_per_raw_sample,duration,duration_ts:format_tags=title -of flat \"{0}\"", filePath), - WindowStyle = ProcessWindowStyle.Hidden, - CreateNoWindow = true, - UseShellExecute = false, - RedirectStandardInput = false, - RedirectStandardOutput = true, - RedirectStandardError = false, - StandardOutputEncoding = Encoding.UTF8 - }; - - decoder.Start(); - var output = decoder.StandardOutput.ReadToEnd(); - - var bitDepthMatch = Regex.Match(output, "^streams.stream.0.bits_per_raw_sample=\"([\\d]+)\"\r?$", RegexOptions.Multiline); - if (bitDepthMatch.Success && bitDepthMatch.Groups.Count == 2) - { - if (Int32.TryParse(bitDepthMatch.Groups[1].Value, out int bitValue)) - { - BitDepth = bitValue; - } - } - - var durationMatch = Regex.Match(output, "^streams.stream.0.duration=\"(.+)\"\r?$", RegexOptions.Multiline); - if (durationMatch.Success && durationMatch.Groups.Count == 2) - { - Duration = durationMatch.Groups[1].Value; - } - - var samplesMatch = Regex.Match(output, "^streams.stream.0.duration_ts=([\\d]+)\r?$", RegexOptions.Multiline); - if (samplesMatch.Success && samplesMatch.Groups.Count == 2) - { - if (Int32.TryParse(samplesMatch.Groups[1].Value, out int samplesValue)) - { - Samples = samplesValue; - } - } - - var titleMatch = Regex.Match(output, "^format.tags.title=\"(.+)\"\r?$", RegexOptions.Multiline); - if (titleMatch.Success && titleMatch.Groups.Count == 2) - { - Title = titleMatch.Groups[1].Value; - } - } - } - } - #endregion } } From d595bfc0021ecb8b79ce655e5990e670c54ee885 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 17:36:33 -0500 Subject: [PATCH 13/30] Add file extension textbox to main form --- Transcoder/MainForm.Designer.cs | 484 +++++++++++++++++--------------- 1 file changed, 262 insertions(+), 222 deletions(-) diff --git a/Transcoder/MainForm.Designer.cs b/Transcoder/MainForm.Designer.cs index 8328dea..de597a3 100644 --- a/Transcoder/MainForm.Designer.cs +++ b/Transcoder/MainForm.Designer.cs @@ -28,251 +28,289 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - this.filesDataGridView = new System.Windows.Forms.DataGridView(); - this.doneDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.fileDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.folderDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.filePathDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.transcoderFileBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.goButton = new System.Windows.Forms.Button(); - this.outputTextbox = new System.Windows.Forms.TextBox(); - this.outputBrowseButton = new System.Windows.Forms.Button(); - this.outputLabel = new System.Windows.Forms.Label(); - this.statusStrip = new System.Windows.Forms.StatusStrip(); - this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.bitrateLabel = new System.Windows.Forms.Label(); - this.bitrateNumericUpDown = new System.Windows.Forms.NumericUpDown(); - this.encoderComboBox = new System.Windows.Forms.ComboBox(); - ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).BeginInit(); - this.statusStrip.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).BeginInit(); - this.SuspendLayout(); - // - // filesDataGridView - // - this.filesDataGridView.AllowUserToAddRows = false; - this.filesDataGridView.AllowUserToOrderColumns = true; - this.filesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + this.filesDataGridView = new System.Windows.Forms.DataGridView(); + this.doneDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.fileDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.folderDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.filePathDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.transcoderFileBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.goButton = new System.Windows.Forms.Button(); + this.outputTextbox = new System.Windows.Forms.TextBox(); + this.outputBrowseButton = new System.Windows.Forms.Button(); + this.outputLabel = new System.Windows.Forms.Label(); + this.statusStrip = new System.Windows.Forms.StatusStrip(); + this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.bitrateLabel = new System.Windows.Forms.Label(); + this.bitrateNumericUpDown = new System.Windows.Forms.NumericUpDown(); + this.encoderComboBox = new System.Windows.Forms.ComboBox(); + this.fileExtensionLabel = new System.Windows.Forms.Label(); + this.fileExtensionTextBox = new System.Windows.Forms.TextBox(); + ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).BeginInit(); + this.statusStrip.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).BeginInit(); + this.SuspendLayout(); + // + // filesDataGridView + // + this.filesDataGridView.AllowUserToAddRows = false; + this.filesDataGridView.AllowUserToOrderColumns = true; + this.filesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.filesDataGridView.AutoGenerateColumns = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.filesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; - this.filesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.filesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.filesDataGridView.AutoGenerateColumns = false; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.filesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + this.filesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.filesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.doneDataGridViewCheckBoxColumn, this.fileDataGridViewTextBoxColumn, this.folderDataGridViewTextBoxColumn, this.filePathDataGridViewTextBoxColumn}); - this.filesDataGridView.DataSource = this.transcoderFileBindingSource; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.filesDataGridView.DefaultCellStyle = dataGridViewCellStyle2; - this.filesDataGridView.Location = new System.Drawing.Point(12, 12); - this.filesDataGridView.Name = "filesDataGridView"; - this.filesDataGridView.ReadOnly = true; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.filesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; - this.filesDataGridView.Size = new System.Drawing.Size(910, 474); - this.filesDataGridView.TabIndex = 0; - // - // doneDataGridViewCheckBoxColumn - // - this.doneDataGridViewCheckBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; - this.doneDataGridViewCheckBoxColumn.DataPropertyName = "Done"; - this.doneDataGridViewCheckBoxColumn.HeaderText = "Done"; - this.doneDataGridViewCheckBoxColumn.Name = "doneDataGridViewCheckBoxColumn"; - this.doneDataGridViewCheckBoxColumn.ReadOnly = true; - this.doneDataGridViewCheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.doneDataGridViewCheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.doneDataGridViewCheckBoxColumn.Width = 58; - // - // fileDataGridViewTextBoxColumn - // - this.fileDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.fileDataGridViewTextBoxColumn.DataPropertyName = "FileName"; - this.fileDataGridViewTextBoxColumn.HeaderText = "File Name"; - this.fileDataGridViewTextBoxColumn.Name = "fileDataGridViewTextBoxColumn"; - this.fileDataGridViewTextBoxColumn.ReadOnly = true; - this.fileDataGridViewTextBoxColumn.Width = 48; - // - // folderDataGridViewTextBoxColumn - // - this.folderDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.folderDataGridViewTextBoxColumn.DataPropertyName = "Folder"; - this.folderDataGridViewTextBoxColumn.HeaderText = "Folder"; - this.folderDataGridViewTextBoxColumn.Name = "folderDataGridViewTextBoxColumn"; - this.folderDataGridViewTextBoxColumn.ReadOnly = true; - this.folderDataGridViewTextBoxColumn.Width = 61; - // - // filePathDataGridViewTextBoxColumn - // - this.filePathDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.filePathDataGridViewTextBoxColumn.DataPropertyName = "FilePath"; - this.filePathDataGridViewTextBoxColumn.HeaderText = "File Path"; - this.filePathDataGridViewTextBoxColumn.Name = "filePathDataGridViewTextBoxColumn"; - this.filePathDataGridViewTextBoxColumn.ReadOnly = true; - this.filePathDataGridViewTextBoxColumn.Width = 70; - // - // transcoderFileBindingSource - // - this.transcoderFileBindingSource.DataSource = typeof(Transcoder.TranscoderFile); - // - // goButton - // - this.goButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.goButton.Location = new System.Drawing.Point(847, 493); - this.goButton.Name = "goButton"; - this.goButton.Size = new System.Drawing.Size(75, 23); - this.goButton.TabIndex = 1; - this.goButton.Text = "&Go"; - this.goButton.UseVisualStyleBackColor = true; - this.goButton.Click += new System.EventHandler(this.goButton_Click); - // - // outputTextbox - // - this.outputTextbox.AllowDrop = true; - this.outputTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.filesDataGridView.DataSource = this.transcoderFileBindingSource; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.filesDataGridView.DefaultCellStyle = dataGridViewCellStyle2; + this.filesDataGridView.Location = new System.Drawing.Point(16, 15); + this.filesDataGridView.Margin = new System.Windows.Forms.Padding(4); + this.filesDataGridView.Name = "filesDataGridView"; + this.filesDataGridView.ReadOnly = true; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.filesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + this.filesDataGridView.RowHeadersWidth = 51; + this.filesDataGridView.Size = new System.Drawing.Size(1307, 703); + this.filesDataGridView.TabIndex = 0; + // + // doneDataGridViewCheckBoxColumn + // + this.doneDataGridViewCheckBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; + this.doneDataGridViewCheckBoxColumn.DataPropertyName = "Done"; + this.doneDataGridViewCheckBoxColumn.HeaderText = "Done"; + this.doneDataGridViewCheckBoxColumn.MinimumWidth = 6; + this.doneDataGridViewCheckBoxColumn.Name = "doneDataGridViewCheckBoxColumn"; + this.doneDataGridViewCheckBoxColumn.ReadOnly = true; + this.doneDataGridViewCheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.doneDataGridViewCheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.doneDataGridViewCheckBoxColumn.Width = 71; + // + // fileDataGridViewTextBoxColumn + // + this.fileDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.fileDataGridViewTextBoxColumn.DataPropertyName = "FileName"; + this.fileDataGridViewTextBoxColumn.HeaderText = "File Name"; + this.fileDataGridViewTextBoxColumn.MinimumWidth = 6; + this.fileDataGridViewTextBoxColumn.Name = "fileDataGridViewTextBoxColumn"; + this.fileDataGridViewTextBoxColumn.ReadOnly = true; + // + // folderDataGridViewTextBoxColumn + // + this.folderDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.folderDataGridViewTextBoxColumn.DataPropertyName = "Folder"; + this.folderDataGridViewTextBoxColumn.HeaderText = "Folder"; + this.folderDataGridViewTextBoxColumn.MinimumWidth = 6; + this.folderDataGridViewTextBoxColumn.Name = "folderDataGridViewTextBoxColumn"; + this.folderDataGridViewTextBoxColumn.ReadOnly = true; + this.folderDataGridViewTextBoxColumn.Width = 77; + // + // filePathDataGridViewTextBoxColumn + // + this.filePathDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.filePathDataGridViewTextBoxColumn.DataPropertyName = "FilePath"; + this.filePathDataGridViewTextBoxColumn.HeaderText = "File Path"; + this.filePathDataGridViewTextBoxColumn.MinimumWidth = 6; + this.filePathDataGridViewTextBoxColumn.Name = "filePathDataGridViewTextBoxColumn"; + this.filePathDataGridViewTextBoxColumn.ReadOnly = true; + this.filePathDataGridViewTextBoxColumn.Width = 92; + // + // transcoderFileBindingSource + // + this.transcoderFileBindingSource.DataSource = typeof(Transcoder.TranscoderFile); + // + // goButton + // + this.goButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.goButton.Location = new System.Drawing.Point(1223, 727); + this.goButton.Margin = new System.Windows.Forms.Padding(4); + this.goButton.Name = "goButton"; + this.goButton.Size = new System.Drawing.Size(100, 28); + this.goButton.TabIndex = 1; + this.goButton.Text = "&Go"; + this.goButton.UseVisualStyleBackColor = true; + this.goButton.Click += new System.EventHandler(this.goButton_Click); + // + // outputTextbox + // + this.outputTextbox.AllowDrop = true; + this.outputTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.outputTextbox.Location = new System.Drawing.Point(57, 494); - this.outputTextbox.Name = "outputTextbox"; - this.outputTextbox.Size = new System.Drawing.Size(440, 20); - this.outputTextbox.TabIndex = 2; - // - // outputBrowseButton - // - this.outputBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.outputBrowseButton.Location = new System.Drawing.Point(503, 493); - this.outputBrowseButton.Name = "outputBrowseButton"; - this.outputBrowseButton.Size = new System.Drawing.Size(75, 23); - this.outputBrowseButton.TabIndex = 3; - this.outputBrowseButton.Text = "&Browse..."; - this.outputBrowseButton.UseVisualStyleBackColor = true; - this.outputBrowseButton.Click += new System.EventHandler(this.outputBrowseButton_Click); - // - // outputLabel - // - this.outputLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.outputLabel.AutoSize = true; - this.outputLabel.Location = new System.Drawing.Point(9, 497); - this.outputLabel.Name = "outputLabel"; - this.outputLabel.Size = new System.Drawing.Size(42, 13); - this.outputLabel.TabIndex = 4; - this.outputLabel.Text = "Output:"; - // - // statusStrip - // - this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.outputTextbox.Location = new System.Drawing.Point(76, 728); + this.outputTextbox.Margin = new System.Windows.Forms.Padding(4); + this.outputTextbox.Name = "outputTextbox"; + this.outputTextbox.Size = new System.Drawing.Size(533, 22); + this.outputTextbox.TabIndex = 2; + // + // outputBrowseButton + // + this.outputBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.outputBrowseButton.Location = new System.Drawing.Point(617, 727); + this.outputBrowseButton.Margin = new System.Windows.Forms.Padding(4); + this.outputBrowseButton.Name = "outputBrowseButton"; + this.outputBrowseButton.Size = new System.Drawing.Size(100, 28); + this.outputBrowseButton.TabIndex = 3; + this.outputBrowseButton.Text = "&Browse..."; + this.outputBrowseButton.UseVisualStyleBackColor = true; + this.outputBrowseButton.Click += new System.EventHandler(this.outputBrowseButton_Click); + // + // outputLabel + // + this.outputLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.outputLabel.AutoSize = true; + this.outputLabel.Location = new System.Drawing.Point(12, 732); + this.outputLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.outputLabel.Name = "outputLabel"; + this.outputLabel.Size = new System.Drawing.Size(55, 17); + this.outputLabel.TabIndex = 4; + this.outputLabel.Text = "Output:"; + // + // statusStrip + // + this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20); + this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusLabel}); - this.statusStrip.Location = new System.Drawing.Point(0, 520); - this.statusStrip.Name = "statusStrip"; - this.statusStrip.Size = new System.Drawing.Size(934, 22); - this.statusStrip.TabIndex = 5; - this.statusStrip.Text = "statusStrip1"; - // - // statusLabel - // - this.statusLabel.Name = "statusLabel"; - this.statusLabel.Size = new System.Drawing.Size(919, 17); - this.statusLabel.Spring = true; - this.statusLabel.Text = "Ready"; - this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // bitrateLabel - // - this.bitrateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bitrateLabel.AutoSize = true; - this.bitrateLabel.Location = new System.Drawing.Point(750, 497); - this.bitrateLabel.Name = "bitrateLabel"; - this.bitrateLabel.Size = new System.Drawing.Size(40, 13); - this.bitrateLabel.TabIndex = 7; - this.bitrateLabel.Text = "Bitrate:"; - // - // bitrateNumericUpDown - // - this.bitrateNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bitrateNumericUpDown.Increment = new decimal(new int[] { + this.statusStrip.Location = new System.Drawing.Point(0, 761); + this.statusStrip.Name = "statusStrip"; + this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0); + this.statusStrip.Size = new System.Drawing.Size(1339, 26); + this.statusStrip.TabIndex = 5; + this.statusStrip.Text = "statusStrip1"; + // + // statusLabel + // + this.statusLabel.Name = "statusLabel"; + this.statusLabel.Size = new System.Drawing.Size(1319, 20); + this.statusLabel.Spring = true; + this.statusLabel.Text = "Ready"; + this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // bitrateLabel + // + this.bitrateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.bitrateLabel.AutoSize = true; + this.bitrateLabel.Location = new System.Drawing.Point(946, 732); + this.bitrateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.bitrateLabel.Name = "bitrateLabel"; + this.bitrateLabel.Size = new System.Drawing.Size(53, 17); + this.bitrateLabel.TabIndex = 7; + this.bitrateLabel.Text = "Bitrate:"; + // + // bitrateNumericUpDown + // + this.bitrateNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.bitrateNumericUpDown.Increment = new decimal(new int[] { 32, 0, 0, 0}); - this.bitrateNumericUpDown.Location = new System.Drawing.Point(796, 495); - this.bitrateNumericUpDown.Maximum = new decimal(new int[] { + this.bitrateNumericUpDown.Location = new System.Drawing.Point(1007, 729); + this.bitrateNumericUpDown.Margin = new System.Windows.Forms.Padding(4); + this.bitrateNumericUpDown.Maximum = new decimal(new int[] { 320, 0, 0, 0}); - this.bitrateNumericUpDown.Minimum = new decimal(new int[] { + this.bitrateNumericUpDown.Minimum = new decimal(new int[] { 64, 0, 0, 0}); - this.bitrateNumericUpDown.Name = "bitrateNumericUpDown"; - this.bitrateNumericUpDown.Size = new System.Drawing.Size(45, 20); - this.bitrateNumericUpDown.TabIndex = 8; - this.bitrateNumericUpDown.Value = new decimal(new int[] { + this.bitrateNumericUpDown.Name = "bitrateNumericUpDown"; + this.bitrateNumericUpDown.Size = new System.Drawing.Size(60, 22); + this.bitrateNumericUpDown.TabIndex = 8; + this.bitrateNumericUpDown.Value = new decimal(new int[] { 192, 0, 0, 0}); - // - // encoderComboBox - // - this.encoderComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.encoderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.encoderComboBox.FormattingEnabled = true; - this.encoderComboBox.Location = new System.Drawing.Point(584, 494); - this.encoderComboBox.Name = "encoderComboBox"; - this.encoderComboBox.Size = new System.Drawing.Size(160, 21); - this.encoderComboBox.TabIndex = 9; - this.encoderComboBox.SelectedIndexChanged += new System.EventHandler(this.encoderComboBox_SelectedIndexChanged); - // - // MainForm - // - this.AllowDrop = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(934, 542); - this.Controls.Add(this.encoderComboBox); - this.Controls.Add(this.bitrateNumericUpDown); - this.Controls.Add(this.bitrateLabel); - this.Controls.Add(this.statusStrip); - this.Controls.Add(this.outputLabel); - this.Controls.Add(this.outputBrowseButton); - this.Controls.Add(this.outputTextbox); - this.Controls.Add(this.goButton); - this.Controls.Add(this.filesDataGridView); - this.Name = "MainForm"; - this.Text = "Transcoder"; - ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).EndInit(); - this.statusStrip.ResumeLayout(false); - this.statusStrip.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + // + // encoderComboBox + // + this.encoderComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.encoderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.encoderComboBox.FormattingEnabled = true; + this.encoderComboBox.Location = new System.Drawing.Point(725, 728); + this.encoderComboBox.Margin = new System.Windows.Forms.Padding(4); + this.encoderComboBox.Name = "encoderComboBox"; + this.encoderComboBox.Size = new System.Drawing.Size(212, 24); + this.encoderComboBox.TabIndex = 9; + this.encoderComboBox.SelectedIndexChanged += new System.EventHandler(this.encoderComboBox_SelectedIndexChanged); + // + // fileExtensionLabel + // + this.fileExtensionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.fileExtensionLabel.AutoSize = true; + this.fileExtensionLabel.Location = new System.Drawing.Point(1075, 731); + this.fileExtensionLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.fileExtensionLabel.Name = "fileExtensionLabel"; + this.fileExtensionLabel.Size = new System.Drawing.Size(73, 17); + this.fileExtensionLabel.TabIndex = 10; + this.fileExtensionLabel.Text = "Extension:"; + // + // fileExtensionTextBox + // + this.fileExtensionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.fileExtensionTextBox.Location = new System.Drawing.Point(1156, 728); + this.fileExtensionTextBox.Name = "fileExtensionTextBox"; + this.fileExtensionTextBox.Size = new System.Drawing.Size(60, 22); + this.fileExtensionTextBox.TabIndex = 11; + // + // MainForm + // + this.AllowDrop = true; + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1339, 787); + this.Controls.Add(this.fileExtensionTextBox); + this.Controls.Add(this.fileExtensionLabel); + this.Controls.Add(this.encoderComboBox); + this.Controls.Add(this.bitrateNumericUpDown); + this.Controls.Add(this.bitrateLabel); + this.Controls.Add(this.statusStrip); + this.Controls.Add(this.outputLabel); + this.Controls.Add(this.outputBrowseButton); + this.Controls.Add(this.outputTextbox); + this.Controls.Add(this.goButton); + this.Controls.Add(this.filesDataGridView); + this.Margin = new System.Windows.Forms.Padding(4); + this.Name = "MainForm"; + this.Text = "Transcoder"; + ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).EndInit(); + this.statusStrip.ResumeLayout(false); + this.statusStrip.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -293,6 +331,8 @@ private void InitializeComponent() private System.Windows.Forms.Label bitrateLabel; private System.Windows.Forms.NumericUpDown bitrateNumericUpDown; private System.Windows.Forms.ComboBox encoderComboBox; - } + private System.Windows.Forms.Label fileExtensionLabel; + private System.Windows.Forms.TextBox fileExtensionTextBox; + } } From 7052360bf3f90618f546847a480e850a80676b72 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 17:37:23 -0500 Subject: [PATCH 14/30] Add audio copy format type --- Transcoder/TranscoderFile.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index 373ac22..18e3d53 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -19,6 +19,7 @@ public class TranscoderFile Type.MP3CBR, Type.MP3VBR, Type.WAV, + Type.FFMPEG_AudioCopy, Type.TracksCSV, Type.RegionsCSV, Type.SplitInput, @@ -168,6 +169,14 @@ public class Type { #region Static Fields + public static Type FFMPEG_AudioCopy = new Type() + { + Name = "Copy Audio", + Encoder = Encoder.FFMPEG, + CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a copy -movflags +faststart -y \"{2}\"", + IsAudioCopy = true + }; + public static Type FFMPEG_ALAC = new Type() { Name = "FFMPEG ALAC", @@ -271,7 +280,19 @@ public class Type public String Name { get; set; } public Encoder Encoder { get; set; } public String FileExtension { get; set; } + public Boolean IsAudioCopy { get; set; } public Boolean IsBitrateRequired { get; set; } + public Boolean AllowsDecoding + { + get + { + return CommandLineArgsWithDecoding != null; + } + } + + #endregion + + #region Protected Properties protected Dictionary BitDepthMap { get; set; } = new Dictionary(); protected Dictionary BitrateMap { get; set; } = new Dictionary(); From c41eab121042737e6a770c10958c9fbe336f5ca7 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 17:37:50 -0500 Subject: [PATCH 15/30] Pass file extension to encoder --- Transcoder/MainForm.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 7c3e0ee..323dd51 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -106,6 +106,7 @@ void outputBrowseButton_Click(object sender, EventArgs e) { void encoderComboBox_SelectedIndexChanged(object sender, EventArgs e) { var selectedType = encoderComboBox.SelectedItem as TranscoderFile.Type; bitrateNumericUpDown.Enabled = selectedType.IsBitrateRequired; + fileExtensionTextBox.Enabled = selectedType.IsAudioCopy; } async void goButton_Click(object sender, EventArgs e) { @@ -130,6 +131,12 @@ async void goButton_Click(object sender, EventArgs e) { return; } + if (fileExtensionTextBox.Enabled && String.IsNullOrWhiteSpace(fileExtensionTextBox.Text)) + { + MessageBox.Show("You must set a desired file extension when copying audio.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + for (int i = 0; i < TranscoderFiles.Count; i++) { var file = TranscoderFiles[i]; if (file.Done) { @@ -143,6 +150,7 @@ async void goButton_Click(object sender, EventArgs e) { var fileIdx = 0; var bitrate = Convert.ToInt32(bitrateNumericUpDown.Value); var encoderType = encoderComboBox.SelectedItem as TranscoderFile.Type; + var fileExtension = fileExtensionTextBox.Text; var outputFolder = outputTextbox.Text; TokenSource = new CancellationTokenSource(); @@ -231,6 +239,8 @@ await Task.Run(async () => { if (encoderType == TranscoderFile.Type.SplitInput) encoderType.FileExtension = Path.GetExtension(file.FileName); + else if (encoderType == TranscoderFile.Type.FFMPEG_AudioCopy) + encoderType.FileExtension = fileExtension; using (var decoder = new Process()) using (var encoder = new Process()) @@ -326,7 +336,7 @@ await Task.Run(async () => { encoder.Kill(); } - if (encoder.ExitCode == 0 || file.RequiresDecoding) + if (encoder.ExitCode == 0 || file.RequiresDecoding || encoderType.AllowsDecoding == false) { fileIdx++; // goto next file } From 925f867b306d46867f2abe7f845c65e1f150afee Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 30 Sep 2020 19:04:08 -0500 Subject: [PATCH 16/30] Organize transcoders --- Transcoder/MainForm.cs | 28 +++++++++++++++++++++++++++- Transcoder/TranscoderFile.cs | 12 ++++++------ 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 323dd51..5328733 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -40,7 +40,24 @@ void MainForm_Load(object sender, EventArgs e) { encoderComboBox.DisplayMember = "Name"; encoderComboBox.ValueMember = "FileExtension"; + encoderComboBox.Items.AddRange(TranscoderFile.Types); + + var names = new[] + { + "-======Lossy Encoders======-", + "-=====Lossless Encoders=====-", + "-=======Lossless Copies=====-", + "-=========Decoders========-", + "-======Tracks/Regions======-", + }; + + encoderComboBox.Items.Insert(0, new { Name = names[0] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.QTALAC), new { Name = names[1] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.AudioCopy), new { Name = names[2] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.WAV), new { Name = names[3] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.TracksCSV), new { Name = names[4] }); + encoderComboBox.SelectedItem = TranscoderFile.Type.QTAAC; } @@ -104,6 +121,9 @@ void outputBrowseButton_Click(object sender, EventArgs e) { } void encoderComboBox_SelectedIndexChanged(object sender, EventArgs e) { + if (!(encoderComboBox.SelectedItem is TranscoderFile.Type)) + encoderComboBox.SelectedIndex++; + var selectedType = encoderComboBox.SelectedItem as TranscoderFile.Type; bitrateNumericUpDown.Enabled = selectedType.IsBitrateRequired; fileExtensionTextBox.Enabled = selectedType.IsAudioCopy; @@ -126,6 +146,12 @@ async void goButton_Click(object sender, EventArgs e) { return; } + if (!(encoderComboBox.SelectedItem is TranscoderFile.Type)) + { + MessageBox.Show("You must select a transcoding type.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + if (bitrateNumericUpDown.Value < 64 || bitrateNumericUpDown.Value > 320) { MessageBox.Show("You must set a bitrate from 64-320.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; @@ -239,7 +265,7 @@ await Task.Run(async () => { if (encoderType == TranscoderFile.Type.SplitInput) encoderType.FileExtension = Path.GetExtension(file.FileName); - else if (encoderType == TranscoderFile.Type.FFMPEG_AudioCopy) + else if (encoderType == TranscoderFile.Type.AudioCopy) encoderType.FileExtension = fileExtension; using (var decoder = new Process()) diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index 18e3d53..bf01448 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -13,16 +13,16 @@ public class TranscoderFile public static Type[] Types = new Type[] { Type.QTAAC, + Type.MP3CBR, + Type.MP3VBR, Type.QTALAC, Type.FFMPEG_ALAC, Type.FLAC, - Type.MP3CBR, - Type.MP3VBR, - Type.WAV, - Type.FFMPEG_AudioCopy, + Type.AudioCopy, + Type.SplitInput, + Type.WAV, Type.TracksCSV, Type.RegionsCSV, - Type.SplitInput, }; #endregion @@ -169,7 +169,7 @@ public class Type { #region Static Fields - public static Type FFMPEG_AudioCopy = new Type() + public static Type AudioCopy = new Type() { Name = "Copy Audio", Encoder = Encoder.FFMPEG, From ba41d4963d06b9a0a2e5f7d97a9f255909e97677 Mon Sep 17 00:00:00 2001 From: nekno Date: Sun, 15 Nov 2020 15:24:38 -0600 Subject: [PATCH 17/30] Format with tabs --- Transcoder/IMediaSegment.cs | 14 +- Transcoder/MainForm.Designer.cs | 572 ++++++++++++++++---------------- Transcoder/MainForm.cs | 145 +++++--- Transcoder/MatroskaChapter.cs | 50 +-- Transcoder/StreamInfo.cs | 2 +- Transcoder/Track.cs | 8 +- Transcoder/TranscoderFile.cs | 191 ++++++----- 7 files changed, 512 insertions(+), 470 deletions(-) diff --git a/Transcoder/IMediaSegment.cs b/Transcoder/IMediaSegment.cs index 3dfbe08..647e919 100644 --- a/Transcoder/IMediaSegment.cs +++ b/Transcoder/IMediaSegment.cs @@ -2,11 +2,11 @@ namespace Transcoder { - public interface IMediaSegment - { - String EndTime { get; } - String Name { get; } - Int32 Number { get; } - String StartTime { get; } - } + public interface IMediaSegment + { + String EndTime { get; } + String Name { get; } + Int32 Number { get; } + String StartTime { get; } + } } diff --git a/Transcoder/MainForm.Designer.cs b/Transcoder/MainForm.Designer.cs index de597a3..ccda907 100644 --- a/Transcoder/MainForm.Designer.cs +++ b/Transcoder/MainForm.Designer.cs @@ -28,289 +28,289 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - this.filesDataGridView = new System.Windows.Forms.DataGridView(); - this.doneDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.fileDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.folderDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.filePathDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.transcoderFileBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.goButton = new System.Windows.Forms.Button(); - this.outputTextbox = new System.Windows.Forms.TextBox(); - this.outputBrowseButton = new System.Windows.Forms.Button(); - this.outputLabel = new System.Windows.Forms.Label(); - this.statusStrip = new System.Windows.Forms.StatusStrip(); - this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.bitrateLabel = new System.Windows.Forms.Label(); - this.bitrateNumericUpDown = new System.Windows.Forms.NumericUpDown(); - this.encoderComboBox = new System.Windows.Forms.ComboBox(); - this.fileExtensionLabel = new System.Windows.Forms.Label(); - this.fileExtensionTextBox = new System.Windows.Forms.TextBox(); - ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).BeginInit(); - this.statusStrip.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).BeginInit(); - this.SuspendLayout(); - // - // filesDataGridView - // - this.filesDataGridView.AllowUserToAddRows = false; - this.filesDataGridView.AllowUserToOrderColumns = true; - this.filesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.filesDataGridView.AutoGenerateColumns = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.filesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; - this.filesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.filesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.doneDataGridViewCheckBoxColumn, - this.fileDataGridViewTextBoxColumn, - this.folderDataGridViewTextBoxColumn, - this.filePathDataGridViewTextBoxColumn}); - this.filesDataGridView.DataSource = this.transcoderFileBindingSource; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.filesDataGridView.DefaultCellStyle = dataGridViewCellStyle2; - this.filesDataGridView.Location = new System.Drawing.Point(16, 15); - this.filesDataGridView.Margin = new System.Windows.Forms.Padding(4); - this.filesDataGridView.Name = "filesDataGridView"; - this.filesDataGridView.ReadOnly = true; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.filesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; - this.filesDataGridView.RowHeadersWidth = 51; - this.filesDataGridView.Size = new System.Drawing.Size(1307, 703); - this.filesDataGridView.TabIndex = 0; - // - // doneDataGridViewCheckBoxColumn - // - this.doneDataGridViewCheckBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; - this.doneDataGridViewCheckBoxColumn.DataPropertyName = "Done"; - this.doneDataGridViewCheckBoxColumn.HeaderText = "Done"; - this.doneDataGridViewCheckBoxColumn.MinimumWidth = 6; - this.doneDataGridViewCheckBoxColumn.Name = "doneDataGridViewCheckBoxColumn"; - this.doneDataGridViewCheckBoxColumn.ReadOnly = true; - this.doneDataGridViewCheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.doneDataGridViewCheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.doneDataGridViewCheckBoxColumn.Width = 71; - // - // fileDataGridViewTextBoxColumn - // - this.fileDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.fileDataGridViewTextBoxColumn.DataPropertyName = "FileName"; - this.fileDataGridViewTextBoxColumn.HeaderText = "File Name"; - this.fileDataGridViewTextBoxColumn.MinimumWidth = 6; - this.fileDataGridViewTextBoxColumn.Name = "fileDataGridViewTextBoxColumn"; - this.fileDataGridViewTextBoxColumn.ReadOnly = true; - // - // folderDataGridViewTextBoxColumn - // - this.folderDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.folderDataGridViewTextBoxColumn.DataPropertyName = "Folder"; - this.folderDataGridViewTextBoxColumn.HeaderText = "Folder"; - this.folderDataGridViewTextBoxColumn.MinimumWidth = 6; - this.folderDataGridViewTextBoxColumn.Name = "folderDataGridViewTextBoxColumn"; - this.folderDataGridViewTextBoxColumn.ReadOnly = true; - this.folderDataGridViewTextBoxColumn.Width = 77; - // - // filePathDataGridViewTextBoxColumn - // - this.filePathDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.filePathDataGridViewTextBoxColumn.DataPropertyName = "FilePath"; - this.filePathDataGridViewTextBoxColumn.HeaderText = "File Path"; - this.filePathDataGridViewTextBoxColumn.MinimumWidth = 6; - this.filePathDataGridViewTextBoxColumn.Name = "filePathDataGridViewTextBoxColumn"; - this.filePathDataGridViewTextBoxColumn.ReadOnly = true; - this.filePathDataGridViewTextBoxColumn.Width = 92; - // - // transcoderFileBindingSource - // - this.transcoderFileBindingSource.DataSource = typeof(Transcoder.TranscoderFile); - // - // goButton - // - this.goButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.goButton.Location = new System.Drawing.Point(1223, 727); - this.goButton.Margin = new System.Windows.Forms.Padding(4); - this.goButton.Name = "goButton"; - this.goButton.Size = new System.Drawing.Size(100, 28); - this.goButton.TabIndex = 1; - this.goButton.Text = "&Go"; - this.goButton.UseVisualStyleBackColor = true; - this.goButton.Click += new System.EventHandler(this.goButton_Click); - // - // outputTextbox - // - this.outputTextbox.AllowDrop = true; - this.outputTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.outputTextbox.Location = new System.Drawing.Point(76, 728); - this.outputTextbox.Margin = new System.Windows.Forms.Padding(4); - this.outputTextbox.Name = "outputTextbox"; - this.outputTextbox.Size = new System.Drawing.Size(533, 22); - this.outputTextbox.TabIndex = 2; - // - // outputBrowseButton - // - this.outputBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.outputBrowseButton.Location = new System.Drawing.Point(617, 727); - this.outputBrowseButton.Margin = new System.Windows.Forms.Padding(4); - this.outputBrowseButton.Name = "outputBrowseButton"; - this.outputBrowseButton.Size = new System.Drawing.Size(100, 28); - this.outputBrowseButton.TabIndex = 3; - this.outputBrowseButton.Text = "&Browse..."; - this.outputBrowseButton.UseVisualStyleBackColor = true; - this.outputBrowseButton.Click += new System.EventHandler(this.outputBrowseButton_Click); - // - // outputLabel - // - this.outputLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.outputLabel.AutoSize = true; - this.outputLabel.Location = new System.Drawing.Point(12, 732); - this.outputLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.outputLabel.Name = "outputLabel"; - this.outputLabel.Size = new System.Drawing.Size(55, 17); - this.outputLabel.TabIndex = 4; - this.outputLabel.Text = "Output:"; - // - // statusStrip - // - this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20); - this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.statusLabel}); - this.statusStrip.Location = new System.Drawing.Point(0, 761); - this.statusStrip.Name = "statusStrip"; - this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0); - this.statusStrip.Size = new System.Drawing.Size(1339, 26); - this.statusStrip.TabIndex = 5; - this.statusStrip.Text = "statusStrip1"; - // - // statusLabel - // - this.statusLabel.Name = "statusLabel"; - this.statusLabel.Size = new System.Drawing.Size(1319, 20); - this.statusLabel.Spring = true; - this.statusLabel.Text = "Ready"; - this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // bitrateLabel - // - this.bitrateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bitrateLabel.AutoSize = true; - this.bitrateLabel.Location = new System.Drawing.Point(946, 732); - this.bitrateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.bitrateLabel.Name = "bitrateLabel"; - this.bitrateLabel.Size = new System.Drawing.Size(53, 17); - this.bitrateLabel.TabIndex = 7; - this.bitrateLabel.Text = "Bitrate:"; - // - // bitrateNumericUpDown - // - this.bitrateNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bitrateNumericUpDown.Increment = new decimal(new int[] { - 32, - 0, - 0, - 0}); - this.bitrateNumericUpDown.Location = new System.Drawing.Point(1007, 729); - this.bitrateNumericUpDown.Margin = new System.Windows.Forms.Padding(4); - this.bitrateNumericUpDown.Maximum = new decimal(new int[] { - 320, - 0, - 0, - 0}); - this.bitrateNumericUpDown.Minimum = new decimal(new int[] { - 64, - 0, - 0, - 0}); - this.bitrateNumericUpDown.Name = "bitrateNumericUpDown"; - this.bitrateNumericUpDown.Size = new System.Drawing.Size(60, 22); - this.bitrateNumericUpDown.TabIndex = 8; - this.bitrateNumericUpDown.Value = new decimal(new int[] { - 192, - 0, - 0, - 0}); - // - // encoderComboBox - // - this.encoderComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.encoderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.encoderComboBox.FormattingEnabled = true; - this.encoderComboBox.Location = new System.Drawing.Point(725, 728); - this.encoderComboBox.Margin = new System.Windows.Forms.Padding(4); - this.encoderComboBox.Name = "encoderComboBox"; - this.encoderComboBox.Size = new System.Drawing.Size(212, 24); - this.encoderComboBox.TabIndex = 9; - this.encoderComboBox.SelectedIndexChanged += new System.EventHandler(this.encoderComboBox_SelectedIndexChanged); - // - // fileExtensionLabel - // - this.fileExtensionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.fileExtensionLabel.AutoSize = true; - this.fileExtensionLabel.Location = new System.Drawing.Point(1075, 731); - this.fileExtensionLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.fileExtensionLabel.Name = "fileExtensionLabel"; - this.fileExtensionLabel.Size = new System.Drawing.Size(73, 17); - this.fileExtensionLabel.TabIndex = 10; - this.fileExtensionLabel.Text = "Extension:"; - // - // fileExtensionTextBox - // - this.fileExtensionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.fileExtensionTextBox.Location = new System.Drawing.Point(1156, 728); - this.fileExtensionTextBox.Name = "fileExtensionTextBox"; - this.fileExtensionTextBox.Size = new System.Drawing.Size(60, 22); - this.fileExtensionTextBox.TabIndex = 11; - // - // MainForm - // - this.AllowDrop = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1339, 787); - this.Controls.Add(this.fileExtensionTextBox); - this.Controls.Add(this.fileExtensionLabel); - this.Controls.Add(this.encoderComboBox); - this.Controls.Add(this.bitrateNumericUpDown); - this.Controls.Add(this.bitrateLabel); - this.Controls.Add(this.statusStrip); - this.Controls.Add(this.outputLabel); - this.Controls.Add(this.outputBrowseButton); - this.Controls.Add(this.outputTextbox); - this.Controls.Add(this.goButton); - this.Controls.Add(this.filesDataGridView); - this.Margin = new System.Windows.Forms.Padding(4); - this.Name = "MainForm"; - this.Text = "Transcoder"; - ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).EndInit(); - this.statusStrip.ResumeLayout(false); - this.statusStrip.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + this.filesDataGridView = new System.Windows.Forms.DataGridView(); + this.doneDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.fileDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.folderDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.filePathDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.transcoderFileBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.goButton = new System.Windows.Forms.Button(); + this.outputTextbox = new System.Windows.Forms.TextBox(); + this.outputBrowseButton = new System.Windows.Forms.Button(); + this.outputLabel = new System.Windows.Forms.Label(); + this.statusStrip = new System.Windows.Forms.StatusStrip(); + this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.bitrateLabel = new System.Windows.Forms.Label(); + this.bitrateNumericUpDown = new System.Windows.Forms.NumericUpDown(); + this.encoderComboBox = new System.Windows.Forms.ComboBox(); + this.fileExtensionLabel = new System.Windows.Forms.Label(); + this.fileExtensionTextBox = new System.Windows.Forms.TextBox(); + ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).BeginInit(); + this.statusStrip.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).BeginInit(); + this.SuspendLayout(); + // + // filesDataGridView + // + this.filesDataGridView.AllowUserToAddRows = false; + this.filesDataGridView.AllowUserToOrderColumns = true; + this.filesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.filesDataGridView.AutoGenerateColumns = false; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.filesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + this.filesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.filesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.doneDataGridViewCheckBoxColumn, + this.fileDataGridViewTextBoxColumn, + this.folderDataGridViewTextBoxColumn, + this.filePathDataGridViewTextBoxColumn}); + this.filesDataGridView.DataSource = this.transcoderFileBindingSource; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.filesDataGridView.DefaultCellStyle = dataGridViewCellStyle2; + this.filesDataGridView.Location = new System.Drawing.Point(16, 15); + this.filesDataGridView.Margin = new System.Windows.Forms.Padding(4); + this.filesDataGridView.Name = "filesDataGridView"; + this.filesDataGridView.ReadOnly = true; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.filesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + this.filesDataGridView.RowHeadersWidth = 51; + this.filesDataGridView.Size = new System.Drawing.Size(1307, 703); + this.filesDataGridView.TabIndex = 0; + // + // doneDataGridViewCheckBoxColumn + // + this.doneDataGridViewCheckBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; + this.doneDataGridViewCheckBoxColumn.DataPropertyName = "Done"; + this.doneDataGridViewCheckBoxColumn.HeaderText = "Done"; + this.doneDataGridViewCheckBoxColumn.MinimumWidth = 6; + this.doneDataGridViewCheckBoxColumn.Name = "doneDataGridViewCheckBoxColumn"; + this.doneDataGridViewCheckBoxColumn.ReadOnly = true; + this.doneDataGridViewCheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.doneDataGridViewCheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.doneDataGridViewCheckBoxColumn.Width = 71; + // + // fileDataGridViewTextBoxColumn + // + this.fileDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.fileDataGridViewTextBoxColumn.DataPropertyName = "FileName"; + this.fileDataGridViewTextBoxColumn.HeaderText = "File Name"; + this.fileDataGridViewTextBoxColumn.MinimumWidth = 6; + this.fileDataGridViewTextBoxColumn.Name = "fileDataGridViewTextBoxColumn"; + this.fileDataGridViewTextBoxColumn.ReadOnly = true; + // + // folderDataGridViewTextBoxColumn + // + this.folderDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.folderDataGridViewTextBoxColumn.DataPropertyName = "Folder"; + this.folderDataGridViewTextBoxColumn.HeaderText = "Folder"; + this.folderDataGridViewTextBoxColumn.MinimumWidth = 6; + this.folderDataGridViewTextBoxColumn.Name = "folderDataGridViewTextBoxColumn"; + this.folderDataGridViewTextBoxColumn.ReadOnly = true; + this.folderDataGridViewTextBoxColumn.Width = 77; + // + // filePathDataGridViewTextBoxColumn + // + this.filePathDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.filePathDataGridViewTextBoxColumn.DataPropertyName = "FilePath"; + this.filePathDataGridViewTextBoxColumn.HeaderText = "File Path"; + this.filePathDataGridViewTextBoxColumn.MinimumWidth = 6; + this.filePathDataGridViewTextBoxColumn.Name = "filePathDataGridViewTextBoxColumn"; + this.filePathDataGridViewTextBoxColumn.ReadOnly = true; + this.filePathDataGridViewTextBoxColumn.Width = 92; + // + // transcoderFileBindingSource + // + this.transcoderFileBindingSource.DataSource = typeof(Transcoder.TranscoderFile); + // + // goButton + // + this.goButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.goButton.Location = new System.Drawing.Point(1223, 727); + this.goButton.Margin = new System.Windows.Forms.Padding(4); + this.goButton.Name = "goButton"; + this.goButton.Size = new System.Drawing.Size(100, 28); + this.goButton.TabIndex = 1; + this.goButton.Text = "&Go"; + this.goButton.UseVisualStyleBackColor = true; + this.goButton.Click += new System.EventHandler(this.goButton_Click); + // + // outputTextbox + // + this.outputTextbox.AllowDrop = true; + this.outputTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.outputTextbox.Location = new System.Drawing.Point(76, 728); + this.outputTextbox.Margin = new System.Windows.Forms.Padding(4); + this.outputTextbox.Name = "outputTextbox"; + this.outputTextbox.Size = new System.Drawing.Size(533, 22); + this.outputTextbox.TabIndex = 2; + // + // outputBrowseButton + // + this.outputBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.outputBrowseButton.Location = new System.Drawing.Point(617, 727); + this.outputBrowseButton.Margin = new System.Windows.Forms.Padding(4); + this.outputBrowseButton.Name = "outputBrowseButton"; + this.outputBrowseButton.Size = new System.Drawing.Size(100, 28); + this.outputBrowseButton.TabIndex = 3; + this.outputBrowseButton.Text = "&Browse..."; + this.outputBrowseButton.UseVisualStyleBackColor = true; + this.outputBrowseButton.Click += new System.EventHandler(this.outputBrowseButton_Click); + // + // outputLabel + // + this.outputLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.outputLabel.AutoSize = true; + this.outputLabel.Location = new System.Drawing.Point(12, 732); + this.outputLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.outputLabel.Name = "outputLabel"; + this.outputLabel.Size = new System.Drawing.Size(55, 17); + this.outputLabel.TabIndex = 4; + this.outputLabel.Text = "Output:"; + // + // statusStrip + // + this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20); + this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.statusLabel}); + this.statusStrip.Location = new System.Drawing.Point(0, 761); + this.statusStrip.Name = "statusStrip"; + this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0); + this.statusStrip.Size = new System.Drawing.Size(1339, 26); + this.statusStrip.TabIndex = 5; + this.statusStrip.Text = "statusStrip1"; + // + // statusLabel + // + this.statusLabel.Name = "statusLabel"; + this.statusLabel.Size = new System.Drawing.Size(1319, 20); + this.statusLabel.Spring = true; + this.statusLabel.Text = "Ready"; + this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // bitrateLabel + // + this.bitrateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.bitrateLabel.AutoSize = true; + this.bitrateLabel.Location = new System.Drawing.Point(946, 732); + this.bitrateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.bitrateLabel.Name = "bitrateLabel"; + this.bitrateLabel.Size = new System.Drawing.Size(53, 17); + this.bitrateLabel.TabIndex = 7; + this.bitrateLabel.Text = "Bitrate:"; + // + // bitrateNumericUpDown + // + this.bitrateNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.bitrateNumericUpDown.Increment = new decimal(new int[] { + 32, + 0, + 0, + 0}); + this.bitrateNumericUpDown.Location = new System.Drawing.Point(1007, 729); + this.bitrateNumericUpDown.Margin = new System.Windows.Forms.Padding(4); + this.bitrateNumericUpDown.Maximum = new decimal(new int[] { + 320, + 0, + 0, + 0}); + this.bitrateNumericUpDown.Minimum = new decimal(new int[] { + 64, + 0, + 0, + 0}); + this.bitrateNumericUpDown.Name = "bitrateNumericUpDown"; + this.bitrateNumericUpDown.Size = new System.Drawing.Size(60, 22); + this.bitrateNumericUpDown.TabIndex = 8; + this.bitrateNumericUpDown.Value = new decimal(new int[] { + 192, + 0, + 0, + 0}); + // + // encoderComboBox + // + this.encoderComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.encoderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.encoderComboBox.FormattingEnabled = true; + this.encoderComboBox.Location = new System.Drawing.Point(725, 728); + this.encoderComboBox.Margin = new System.Windows.Forms.Padding(4); + this.encoderComboBox.Name = "encoderComboBox"; + this.encoderComboBox.Size = new System.Drawing.Size(212, 24); + this.encoderComboBox.TabIndex = 9; + this.encoderComboBox.SelectedIndexChanged += new System.EventHandler(this.encoderComboBox_SelectedIndexChanged); + // + // fileExtensionLabel + // + this.fileExtensionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.fileExtensionLabel.AutoSize = true; + this.fileExtensionLabel.Location = new System.Drawing.Point(1075, 731); + this.fileExtensionLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.fileExtensionLabel.Name = "fileExtensionLabel"; + this.fileExtensionLabel.Size = new System.Drawing.Size(73, 17); + this.fileExtensionLabel.TabIndex = 10; + this.fileExtensionLabel.Text = "Extension:"; + // + // fileExtensionTextBox + // + this.fileExtensionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.fileExtensionTextBox.Location = new System.Drawing.Point(1156, 728); + this.fileExtensionTextBox.Name = "fileExtensionTextBox"; + this.fileExtensionTextBox.Size = new System.Drawing.Size(60, 22); + this.fileExtensionTextBox.TabIndex = 11; + // + // MainForm + // + this.AllowDrop = true; + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1339, 787); + this.Controls.Add(this.fileExtensionTextBox); + this.Controls.Add(this.fileExtensionLabel); + this.Controls.Add(this.encoderComboBox); + this.Controls.Add(this.bitrateNumericUpDown); + this.Controls.Add(this.bitrateLabel); + this.Controls.Add(this.statusStrip); + this.Controls.Add(this.outputLabel); + this.Controls.Add(this.outputBrowseButton); + this.Controls.Add(this.outputTextbox); + this.Controls.Add(this.goButton); + this.Controls.Add(this.filesDataGridView); + this.Margin = new System.Windows.Forms.Padding(4); + this.Name = "MainForm"; + this.Text = "Transcoder"; + ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).EndInit(); + this.statusStrip.ResumeLayout(false); + this.statusStrip.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bitrateNumericUpDown)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -331,8 +331,8 @@ private void InitializeComponent() private System.Windows.Forms.Label bitrateLabel; private System.Windows.Forms.NumericUpDown bitrateNumericUpDown; private System.Windows.Forms.ComboBox encoderComboBox; - private System.Windows.Forms.Label fileExtensionLabel; - private System.Windows.Forms.TextBox fileExtensionTextBox; - } + private System.Windows.Forms.Label fileExtensionLabel; + private System.Windows.Forms.TextBox fileExtensionTextBox; + } } diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 5328733..ff77601 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -18,7 +18,8 @@ public partial class MainForm : Form protected CancellationTokenSource TokenSource { get; set; } protected bool Running { get; set; } - public MainForm() { + public MainForm() + { InitializeComponent(); TranscoderFiles = new BindingList(); @@ -34,7 +35,8 @@ public MainForm() { outputTextbox.DragDrop += outputTextbox_DragDrop; } - void MainForm_Load(object sender, EventArgs e) { + void MainForm_Load(object sender, EventArgs e) + { filesDataGridView.DataSource = TranscoderFiles; filesDataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; @@ -61,21 +63,28 @@ void MainForm_Load(object sender, EventArgs e) { encoderComboBox.SelectedItem = TranscoderFile.Type.QTAAC; } - void Control_DragEnter(object sender, DragEventArgs e) { + void Control_DragEnter(object sender, DragEventArgs e) + { e.Effect = e.Data.GetDataPresent(DataFormats.FileDrop) ? DragDropEffects.Copy : DragDropEffects.None; } - async void MainForm_DragDrop(object sender, DragEventArgs e) { + async void MainForm_DragDrop(object sender, DragEventArgs e) + { var paths = e.Data.GetData(DataFormats.FileDrop) as String[]; - await Task.Run(() => { + await Task.Run(() => + { var tfiles = new List(paths.Length * 30); // over-estimate 30 songs per album - foreach (var path in paths) { - if (Directory.Exists(path)) { + foreach (var path in paths) + { + if (Directory.Exists(path)) + { var files = Directory.GetFiles(path, "*", SearchOption.AllDirectories); tfiles.AddRange(files.Where(file => TranscoderFile.IsTranscodableFile(file)).Select(file => new TranscoderFile(file, path))); - } else if (File.Exists(path) && TranscoderFile.IsTranscodableFile(path)) { + } + else if (File.Exists(path) && TranscoderFile.IsTranscodableFile(path)) + { tfiles.Add(new TranscoderFile(path)); } }; @@ -84,56 +93,69 @@ await Task.Run(() => { }); } - void filesDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { + void filesDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e) + { var file = TranscoderFiles[e.RowIndex]; - if (file.Log.Length > 0) { + if (file.Log.Length > 0) + { MessageBox.Show(file.Log.ToString(), String.Format("Log: {0}", file.FilePath)); } } - void outputTextbox_DragDrop(object sender, DragEventArgs e) { + void outputTextbox_DragDrop(object sender, DragEventArgs e) + { var paths = e.Data.GetData(DataFormats.FileDrop) as String[]; - if (paths != null && Directory.Exists(paths[0])) { + if (paths != null && Directory.Exists(paths[0])) + { outputTextbox.Text = paths[0]; } } delegate void AddFilesCallback(IEnumerable files); - void AddFiles(IEnumerable files) { - if (InvokeRequired) { + void AddFiles(IEnumerable files) + { + if (InvokeRequired) + { Invoke(new AddFilesCallback(AddFiles), files); return; } - foreach (var file in files) { + foreach (var file in files) + { TranscoderFiles.Add(file); } } - void outputBrowseButton_Click(object sender, EventArgs e) { + void outputBrowseButton_Click(object sender, EventArgs e) + { var fbd = new FolderBrowserDialog(); - if (fbd.ShowDialog() == DialogResult.OK) { + if (fbd.ShowDialog() == DialogResult.OK) + { outputTextbox.Text = fbd.SelectedPath; } } - void encoderComboBox_SelectedIndexChanged(object sender, EventArgs e) { + void encoderComboBox_SelectedIndexChanged(object sender, EventArgs e) + { if (!(encoderComboBox.SelectedItem is TranscoderFile.Type)) - encoderComboBox.SelectedIndex++; + encoderComboBox.SelectedIndex++; var selectedType = encoderComboBox.SelectedItem as TranscoderFile.Type; bitrateNumericUpDown.Enabled = selectedType.IsBitrateRequired; fileExtensionTextBox.Enabled = selectedType.IsAudioCopy; } - async void goButton_Click(object sender, EventArgs e) { - if (Running) { + async void goButton_Click(object sender, EventArgs e) + { + if (Running) + { if (TokenSource.IsCancellationRequested) return; - TokenSource.Token.Register(() => { + TokenSource.Token.Register(() => + { setRunning(false); }); @@ -141,36 +163,40 @@ async void goButton_Click(object sender, EventArgs e) { return; } - if (String.IsNullOrWhiteSpace(outputTextbox.Text)) { + if (String.IsNullOrWhiteSpace(outputTextbox.Text)) + { MessageBox.Show("You must set the Output folder.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (!(encoderComboBox.SelectedItem is TranscoderFile.Type)) - { + { MessageBox.Show("You must select a transcoding type.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - if (bitrateNumericUpDown.Value < 64 || bitrateNumericUpDown.Value > 320) { + if (bitrateNumericUpDown.Value < 64 || bitrateNumericUpDown.Value > 320) + { MessageBox.Show("You must set a bitrate from 64-320.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (fileExtensionTextBox.Enabled && String.IsNullOrWhiteSpace(fileExtensionTextBox.Text)) - { + { MessageBox.Show("You must set a desired file extension when copying audio.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - for (int i = 0; i < TranscoderFiles.Count; i++) { + for (int i = 0; i < TranscoderFiles.Count; i++) + { var file = TranscoderFiles[i]; - if (file.Done) { + if (file.Done) + { file.ResetFile(); TranscoderFiles.ResetItem(i); } } - + setRunning(true); var fileIdx = 0; @@ -208,7 +234,7 @@ async void goButton_Click(object sender, EventArgs e) { outputFiles = file.GetFiles(Track.GetTracks(ofd.FileName)); } else if (Path.GetExtension(ofd.FileName) == MatroskaChapter.FileExtension) - { + { outputFiles = file.GetFiles(MatroskaChapter.GetChapters(ofd.FileName)); } @@ -218,21 +244,22 @@ async void goButton_Click(object sender, EventArgs e) { } } - await Task.Run(async () => { + await Task.Run(async () => + { if (!Directory.Exists(outputFolder)) - { - try - { - Directory.CreateDirectory(outputFolder); - } - catch (Exception ex) - { - updateStatus(ex.Message); - return; - } - } - - if (encoderType.Encoder.IsEncodingRequired) + { + try + { + Directory.CreateDirectory(outputFolder); + } + catch (Exception ex) + { + updateStatus(ex.Message); + return; + } + } + + if (encoderType.Encoder.IsEncodingRequired) { while (fileIdx < TranscoderFiles.Count) { @@ -401,9 +428,9 @@ await Task.Run(async () => { updateStatus(String.Format("No duration for file {0}, {1}. Skipping.", i, file.FileName)); } }); - } + } else if (encoderType == TranscoderFile.Type.RegionsCSV) - { + { long totalSamples = 0; writeCsv(Path.Combine(outputFolder, "Regions.csv"), (file, i, csvBuilder) => @@ -431,7 +458,7 @@ await Task.Run(async () => { } private String quoted(String str) - { + { return str.Contains(",") ? String.Format("\"{0}\"", str) : str; } @@ -466,8 +493,10 @@ private void writeCsv(string csvFilePath, Action GetChapters(string fileName) - { - var chapters = XElement.Load(fileName).Descendants("ChapterAtom") - .Where(chapter => (chapter.Element("ChapterFlagEnabled")?.Value ?? "1") == "1") - .Where(chapter => (chapter.Element("ChapterFlagHidden")?.Value ?? "0") == "0") - .Select((chapter, index) => new MatroskaChapter(chapter, index+1)); - return chapters; - } - } + public static IEnumerable GetChapters(string fileName) + { + var chapters = XElement.Load(fileName).Descendants("ChapterAtom") + .Where(chapter => (chapter.Element("ChapterFlagEnabled")?.Value ?? "1") == "1") + .Where(chapter => (chapter.Element("ChapterFlagHidden")?.Value ?? "0") == "0") + .Select((chapter, index) => new MatroskaChapter(chapter, index + 1)); + return chapters; + } + } } diff --git a/Transcoder/StreamInfo.cs b/Transcoder/StreamInfo.cs index b20783e..1519046 100644 --- a/Transcoder/StreamInfo.cs +++ b/Transcoder/StreamInfo.cs @@ -6,7 +6,7 @@ namespace Transcoder { - public class StreamInfo + public class StreamInfo { public Int32? BitDepth { get; protected set; } public String Duration { get; protected set; } diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs index 3d221c6..ae29186 100644 --- a/Transcoder/Track.cs +++ b/Transcoder/Track.cs @@ -5,7 +5,7 @@ namespace Transcoder { - public class Track : IMediaSegment + public class Track : IMediaSegment { public static String FileExtension = ".csv"; public static String FileFilter = $"Comma Separated Values (*{FileExtension})|*{FileExtension}"; @@ -15,7 +15,7 @@ public class Track : IMediaSegment public String StartTime { get; protected set; } public Track(String csvLine) - { + { var values = ParseCsv(csvLine); if (values.Count < 4) @@ -28,7 +28,7 @@ public Track(String csvLine) } public static IEnumerable GetTracks(String fileName) - { + { var tracks = from csvLine in File.ReadAllLines(fileName) select new Track(csvLine); return tracks; @@ -66,5 +66,5 @@ List ParseCsv(String csvLine) return returnValues; } - } + } } diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index bf01448..e1a9d69 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -7,17 +7,17 @@ namespace Transcoder { - public class TranscoderFile + public class TranscoderFile { - #region Static Fields + #region Static Fields - public static Type[] Types = new Type[] { + public static Type[] Types = new Type[] { Type.QTAAC, Type.MP3CBR, Type.MP3VBR, Type.QTALAC, Type.FFMPEG_ALAC, - Type.FLAC, + Type.FLAC, Type.AudioCopy, Type.SplitInput, Type.WAV, @@ -25,10 +25,10 @@ public class TranscoderFile Type.RegionsCSV, }; - #endregion + #endregion + + #region Public Properties - #region Public Properties - public bool Done { get; set; } public String EndTime { get; set; } public String FileName @@ -40,18 +40,20 @@ public String FileName } public String FilePath { get; protected set; } public String Folder { get; protected set; } - public StringBuilder Log { get; set; } = new StringBuilder(); + public StringBuilder Log { get; set; } = new StringBuilder(); public bool RequiresDecoding { get; set; } public TranscoderFile SourceFile { get; protected set; } public String StartTime { get; set; } public StreamInfo Stream { get; protected set; } - #endregion + #endregion - #region Static Methods + #region Static Methods - public static bool IsTranscodableFile(String filePath) { - using (var mediaInfo = new MediaInfo()) { + public static bool IsTranscodableFile(String filePath) + { + using (var mediaInfo = new MediaInfo()) + { mediaInfo.Open(filePath); var audioStreams = mediaInfo.Count_Get(StreamKind.Audio); @@ -72,18 +74,20 @@ public static bool IsTranscodableFile(String filePath) { //var streamLength = mediaInfo.Get(StreamKind.Audio, 0, 74, InfoKind.Text); return audioStreams > 0; - } + } } - #endregion + #endregion - #region Constructors + #region Constructors - public TranscoderFile(String filePath, String rootFolderPath = null) { + public TranscoderFile(String filePath, String rootFolderPath = null) + { FilePath = filePath; Stream = new StreamInfo(filePath); - if (String.IsNullOrEmpty(filePath) || String.IsNullOrEmpty(rootFolderPath)) { + if (String.IsNullOrEmpty(filePath) || String.IsNullOrEmpty(rootFolderPath)) + { Folder = String.Empty; return; } @@ -98,26 +102,27 @@ public TranscoderFile(String filePath, String rootFolderPath = null) { #endregion - #region Public Methods + #region Public Methods - public String BuildCommandLineArgs(Type encoderType, Int32 bitrate, String baseOutputFolder) { - var args = String.Format( - encoderType.CommandLineArgs(RequiresDecoding), + public String BuildCommandLineArgs(Type encoderType, Int32 bitrate, String baseOutputFolder) + { + var args = String.Format( + encoderType.CommandLineArgs(RequiresDecoding), SourceFile?.FilePath ?? FilePath, // 0 encoderType.BitrateArgs(bitrate), // 1 - OutputFilePath(encoderType, baseOutputFolder), // 2 + OutputFilePath(encoderType, baseOutputFolder), // 2 encoderType.BitDepthArgs(Stream.BitDepth), // 3 StartTime, // 4 EndTime // 5 ); - return args; + return args; } public IEnumerable GetFiles(IEnumerable segments) where T : IMediaSegment - { + { return segments.Select(segment => GetFile(segment)); - } + } public String OutputFilePath(Type encoderType, String baseOutputFolder) { @@ -125,7 +130,7 @@ public String OutputFilePath(Type encoderType, String baseOutputFolder) } public String OutputFolderPath(string baseOutputFolder) - { + { return Path.Combine(baseOutputFolder, Folder); } @@ -150,16 +155,16 @@ TranscoderFile GetFile(T segment) where T : IMediaSegment } String GetSafeFileName(String fileName) - { + { var safeFileName = fileName; foreach (var chr in Path.GetInvalidFileNameChars()) - { + { safeFileName = safeFileName.Replace(chr, '-'); - } + } return safeFileName; - } + } #endregion @@ -176,7 +181,7 @@ public class Type CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a copy -movflags +faststart -y \"{2}\"", IsAudioCopy = true }; - + public static Type FFMPEG_ALAC = new Type() { Name = "FFMPEG ALAC", @@ -185,40 +190,41 @@ public class Type CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a alac -movflags +faststart -metadata:s:a gapless_playback=2 -y \"{2}\"" }; - public static Type FLAC = new Type() { - Name = "FLAC", - Encoder = Encoder.FFMPEG, + public static Type FLAC = new Type() + { + Name = "FLAC", + Encoder = Encoder.FFMPEG, FileExtension = ".flac", CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -y \"{2}\"" }; - public static Type MP3CBR = new Type() - { - Name = "MP3 (CBR)", - Encoder = Encoder.FFMPEG, - FileExtension = ".mp3", - IsBitrateRequired = true, - CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a libmp3lame -b:a {1}k -y \"{2}\"" - }; - - public static Type MP3VBR = new Type() - { - Name = "MP3 (VBR)", - Encoder = Encoder.FFMPEG, - FileExtension = ".mp3", - IsBitrateRequired = true, - CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a libmp3lame {1} -y \"{2}\"", - BitrateMap = - { - { 64, "-q:a 9" }, - { 96, "-q:a 7" }, - { 128, "-q:a 5" }, - { 192, "-q:a 2" }, - { 224, "-q:a 1" }, - { 256, "-q:a 0" }, - { 320, "-b:a 320k" }, - } - }; + public static Type MP3CBR = new Type() + { + Name = "MP3 (CBR)", + Encoder = Encoder.FFMPEG, + FileExtension = ".mp3", + IsBitrateRequired = true, + CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a libmp3lame -b:a {1}k -y \"{2}\"" + }; + + public static Type MP3VBR = new Type() + { + Name = "MP3 (VBR)", + Encoder = Encoder.FFMPEG, + FileExtension = ".mp3", + IsBitrateRequired = true, + CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a libmp3lame {1} -y \"{2}\"", + BitrateMap = + { + { 64, "-q:a 9" }, + { 96, "-q:a 7" }, + { 128, "-q:a 5" }, + { 192, "-q:a 2" }, + { 224, "-q:a 1" }, + { 256, "-q:a 0" }, + { 320, "-b:a 320k" }, + } + }; public static Type QTAAC = new Type() { @@ -260,9 +266,10 @@ public class Type FileExtension = ".csv" }; - public static Type WAV = new Type() { + public static Type WAV = new Type() + { Name = "WAV", - Encoder = Encoder.FFMPEG, + Encoder = Encoder.FFMPEG, FileExtension = ".wav", CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -y {3} \"{2}\"", BitDepthMap = @@ -273,30 +280,30 @@ public class Type } }; - #endregion + #endregion - #region Public Properties + #region Public Properties - public String Name { get; set; } - public Encoder Encoder { get; set; } - public String FileExtension { get; set; } + public String Name { get; set; } + public Encoder Encoder { get; set; } + public String FileExtension { get; set; } public Boolean IsAudioCopy { get; set; } public Boolean IsBitrateRequired { get; set; } public Boolean AllowsDecoding - { + { get - { + { return CommandLineArgsWithDecoding != null; - } - } + } + } #endregion #region Protected Properties protected Dictionary BitDepthMap { get; set; } = new Dictionary(); - protected Dictionary BitrateMap { get; set; } = new Dictionary(); - protected String CommandLineArgsWithDecoding { get; set; } + protected Dictionary BitrateMap { get; set; } = new Dictionary(); + protected String CommandLineArgsWithDecoding { get; set; } protected String CommandLineArgsWithoutDecoding { get; set; } #endregion @@ -316,25 +323,25 @@ public String BitDepthArgs(Int32? bitDepth) } public String BitrateArgs(Int32 bitrate) - { - if (BitrateMap.ContainsKey(bitrate)) - { - return BitrateMap[bitrate]; - } - else - { - return bitrate.ToString(); - } - } - - public String CommandLineArgs(bool isDecodingRequired) - { + { + if (BitrateMap.ContainsKey(bitrate)) + { + return BitrateMap[bitrate]; + } + else + { + return bitrate.ToString(); + } + } + + public String CommandLineArgs(bool isDecodingRequired) + { return isDecodingRequired ? CommandLineArgsWithDecoding : CommandLineArgsWithoutDecoding; - } + } - #endregion - } + #endregion + } - #endregion - } + #endregion + } } From e9094dd7a7a47805dfa0aa9f1e5e917d86f8a5d4 Mon Sep 17 00:00:00 2001 From: nekno Date: Sun, 15 Nov 2020 15:24:49 -0600 Subject: [PATCH 18/30] v0.8.0 --- Transcoder/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Transcoder/Properties/AssemblyInfo.cs b/Transcoder/Properties/AssemblyInfo.cs index 6cadb60..0ea226e 100644 --- a/Transcoder/Properties/AssemblyInfo.cs +++ b/Transcoder/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.7.0.0")] -[assembly: AssemblyFileVersion("0.7.0.0")] +[assembly: AssemblyVersion("0.8.0.0")] +[assembly: AssemblyFileVersion("0.8.0.0")] From 866ff1040f464fcc826ce95a05189b0e28407343 Mon Sep 17 00:00:00 2001 From: nekno Date: Fri, 28 Apr 2023 01:18:54 -0500 Subject: [PATCH 19/30] Support Mastroka chapters without end times --- Transcoder/BindingList.cs | 20 ++++++++++---------- Transcoder/MainForm.cs | 2 +- Transcoder/MatroskaChapter.cs | 19 +++++++++++++++---- Transcoder/TranscoderFile.cs | 2 ++ 4 files changed, 28 insertions(+), 15 deletions(-) diff --git a/Transcoder/BindingList.cs b/Transcoder/BindingList.cs index 22d1403..491a2ae 100644 --- a/Transcoder/BindingList.cs +++ b/Transcoder/BindingList.cs @@ -3,14 +3,14 @@ namespace Transcoder { - static class BindingListExtension - { - public static void Add(this BindingList @this, IEnumerable items) - { - foreach (var item in items) - { - @this.Add(item); - } - } - } + static class BindingListExtension + { + public static void Add(this BindingList @this, IEnumerable items) + { + foreach (var item in items) + { + @this.Add(item); + } + } + } } diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index ff77601..e4be836 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -235,7 +235,7 @@ async void goButton_Click(object sender, EventArgs e) } else if (Path.GetExtension(ofd.FileName) == MatroskaChapter.FileExtension) { - outputFiles = file.GetFiles(MatroskaChapter.GetChapters(ofd.FileName)); + outputFiles = file.GetFiles(MatroskaChapter.GetChapters(ofd.FileName, file.EndTime)); } TranscoderFiles.Add(outputFiles); diff --git a/Transcoder/MatroskaChapter.cs b/Transcoder/MatroskaChapter.cs index ea80a0b..84e9b79 100644 --- a/Transcoder/MatroskaChapter.cs +++ b/Transcoder/MatroskaChapter.cs @@ -15,20 +15,31 @@ public class MatroskaChapter : IMediaSegment public Int32 Number { get; protected set; } public String StartTime { get; protected set; } - public MatroskaChapter(XElement chapterXml, Int32 number) + public MatroskaChapter(XElement chapterXml, Int32 number, String endTime) { Number = number; Name = chapterXml.Element("ChapterDisplay")?.Element("ChapterString")?.Value ?? $"Chapter {number:000}"; StartTime = chapterXml.Element("ChapterTimeStart").Value; - EndTime = chapterXml.Element("ChapterTimeEnd").Value; + + try + { + // Not every chapter will have an end time, so try to use the start time of the next chapter + EndTime = chapterXml.Element("ChapterTimeEnd")?.Value + ?? chapterXml.ElementsAfterSelf().First().Element("ChapterTimeStart").Value; + } + catch + { + // For the last chapter, use sthe end time of the file + EndTime = endTime; + } } - public static IEnumerable GetChapters(string fileName) + public static IEnumerable GetChapters(String fileName, String endTime) { var chapters = XElement.Load(fileName).Descendants("ChapterAtom") .Where(chapter => (chapter.Element("ChapterFlagEnabled")?.Value ?? "1") == "1") .Where(chapter => (chapter.Element("ChapterFlagHidden")?.Value ?? "0") == "0") - .Select((chapter, index) => new MatroskaChapter(chapter, index + 1)); + .Select((chapter, index) => new MatroskaChapter(chapter, index + 1, endTime)); return chapters; } } diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index e1a9d69..0665811 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -85,6 +85,8 @@ public TranscoderFile(String filePath, String rootFolderPath = null) { FilePath = filePath; Stream = new StreamInfo(filePath); + StartTime = "00:00:00.000000"; + EndTime = Stream.Duration; if (String.IsNullOrEmpty(filePath) || String.IsNullOrEmpty(rootFolderPath)) { From c94a6f94ad57c7ea284728de99125f9f5b19b5cc Mon Sep 17 00:00:00 2001 From: nekno Date: Fri, 28 Apr 2023 01:43:47 -0500 Subject: [PATCH 20/30] ffmpeg 6.0 essentials gyan.dev --- Transcoder/Tools/ffmpeg/README.txt | 791 ++++++++++++++++-- Transcoder/Tools/ffmpeg/ffprobe.exe | 4 +- Transcoder/Tools/ffmpeg/licenses/bzip2.txt | 42 - .../Tools/ffmpeg/licenses/fontconfig.txt | 27 - Transcoder/Tools/ffmpeg/licenses/freetype.txt | 169 ---- Transcoder/Tools/ffmpeg/licenses/frei0r.txt | 340 -------- Transcoder/Tools/ffmpeg/licenses/gme.txt | 504 ----------- Transcoder/Tools/ffmpeg/licenses/gnutls.txt | 674 --------------- Transcoder/Tools/ffmpeg/licenses/lame.txt | 481 ----------- Transcoder/Tools/ffmpeg/licenses/libass.txt | 11 - .../Tools/ffmpeg/licenses/libbluray.txt | 458 ---------- Transcoder/Tools/ffmpeg/licenses/libbs2b.txt | 20 - Transcoder/Tools/ffmpeg/licenses/libcaca.txt | 14 - .../Tools/ffmpeg/licenses/libebur128.txt | 19 - Transcoder/Tools/ffmpeg/licenses/libgsm.txt | 35 - Transcoder/Tools/ffmpeg/licenses/libiconv.txt | 674 --------------- Transcoder/Tools/ffmpeg/licenses/libilbc.txt | 29 - Transcoder/Tools/ffmpeg/licenses/libmfx.txt | 23 - .../Tools/ffmpeg/licenses/libmodplug.txt | 1 - .../Tools/ffmpeg/licenses/libtheora.txt | 28 - .../Tools/ffmpeg/licenses/libvorbis.txt | 28 - Transcoder/Tools/ffmpeg/licenses/libvpx.txt | 31 - Transcoder/Tools/ffmpeg/licenses/libwebp.txt | 30 - .../Tools/ffmpeg/licenses/opencore-amr.txt | 191 ----- Transcoder/Tools/ffmpeg/licenses/openh264.txt | 23 - Transcoder/Tools/ffmpeg/licenses/openjpeg.txt | 34 - Transcoder/Tools/ffmpeg/licenses/opus.txt | 44 - Transcoder/Tools/ffmpeg/licenses/rtmpdump.txt | 339 -------- .../Tools/ffmpeg/licenses/schroedinger.txt | 467 ----------- Transcoder/Tools/ffmpeg/licenses/snappy.txt | 54 -- Transcoder/Tools/ffmpeg/licenses/soxr.txt | 24 - Transcoder/Tools/ffmpeg/licenses/speex.txt | 35 - Transcoder/Tools/ffmpeg/licenses/twolame.txt | 504 ----------- Transcoder/Tools/ffmpeg/licenses/vid.stab.txt | 16 - .../Tools/ffmpeg/licenses/vo-amrwbenc.txt | 191 ----- Transcoder/Tools/ffmpeg/licenses/wavpack.txt | 25 - Transcoder/Tools/ffmpeg/licenses/x264.txt | 340 -------- Transcoder/Tools/ffmpeg/licenses/x265.txt | 343 -------- Transcoder/Tools/ffmpeg/licenses/xavs.txt | 674 --------------- Transcoder/Tools/ffmpeg/licenses/xvid.txt | 340 -------- Transcoder/Tools/ffmpeg/licenses/xz.txt | 65 -- Transcoder/Tools/ffmpeg/licenses/zimg.txt | 14 - Transcoder/Tools/ffmpeg/licenses/zlib.txt | 26 - Transcoder/Transcoder.csproj | 122 +-- Transcoder/tools/ffmpeg/LICENSE.txt | 8 +- Transcoder/tools/ffmpeg/ffmpeg.exe | 4 +- 46 files changed, 746 insertions(+), 7570 deletions(-) delete mode 100644 Transcoder/Tools/ffmpeg/licenses/bzip2.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/fontconfig.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/freetype.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/frei0r.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/gme.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/gnutls.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/lame.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libass.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libbluray.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libbs2b.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libcaca.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libebur128.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libgsm.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libiconv.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libilbc.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libmfx.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libmodplug.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libtheora.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libvorbis.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libvpx.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/libwebp.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/opencore-amr.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/openh264.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/openjpeg.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/opus.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/rtmpdump.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/schroedinger.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/snappy.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/soxr.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/speex.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/twolame.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/vid.stab.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/vo-amrwbenc.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/wavpack.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/x264.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/x265.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/xavs.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/xvid.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/xz.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/zimg.txt delete mode 100644 Transcoder/Tools/ffmpeg/licenses/zlib.txt diff --git a/Transcoder/Tools/ffmpeg/README.txt b/Transcoder/Tools/ffmpeg/README.txt index 141147f..b5fd5b3 100644 --- a/Transcoder/Tools/ffmpeg/README.txt +++ b/Transcoder/Tools/ffmpeg/README.txt @@ -1,61 +1,744 @@ -FFmpeg 64-bit static Windows builds from www.gyan.dev +FFmpeg 64-bit static Windows build from www.gyan.dev -Version: 4.3.1-essentials_build-www.gyan.dev +Version: 6.0-essentials_build-www.gyan.dev License: GPL v3 -Source Code: https://github.com/FFmpeg/FFmpeg/commit/6d886b6586 +Source Code: https://github.com/FFmpeg/FFmpeg/commit/ea3d24bbe3 release-essentials build configuration: - --enable-gpl - --enable-version3 - --enable-static - --disable-w32threads - --disable-autodetect - --enable-fontconfig - --enable-iconv - --enable-gnutls - --enable-libxml2 - --enable-gmp - --enable-lzma - --enable-zlib - --enable-libsrt - --enable-libssh - --enable-libzmq - --enable-avisynth - --enable-sdl2 - --enable-libwebp - --enable-libx264 - --enable-libx265 - --enable-libxvid - --enable-libaom - --enable-libopenjpeg - --enable-libvpx - --enable-libass - --enable-libfreetype - --enable-libfribidi - --enable-libvidstab - --enable-libvmaf - --enable-libzimg - --enable-amf - --enable-cuda-llvm - --enable-cuvid - --enable-ffnvcodec - --enable-nvdec - --enable-nvenc - --enable-d3d11va - --enable-dxva2 - --enable-libmfx - --enable-libgme - --enable-libopenmpt - --enable-libopencore-amrwb - --enable-libmp3lame - --enable-libtheora - --enable-libvo-amrwbenc - --enable-libgsm - --enable-libopencore-amrnb - --enable-libopus - --enable-libspeex - --enable-libvorbis - --enable-librubberband +ARCH x86 (generic) +big-endian no +runtime cpu detection yes +standalone assembly yes +x86 assembler nasm +MMX enabled yes +MMXEXT enabled yes +3DNow! enabled yes +3DNow! extended enabled yes +SSE enabled yes +SSSE3 enabled yes +AESNI enabled yes +AVX enabled yes +AVX2 enabled yes +AVX-512 enabled yes +AVX-512ICL enabled yes +XOP enabled yes +FMA3 enabled yes +FMA4 enabled yes +i686 features enabled yes +CMOV is fast yes +EBX available yes +EBP available yes +debug symbols yes +strip symbols yes +optimize for size no +optimizations yes +static yes +shared no +postprocessing support yes +network support yes +threading support pthreads +safe bitstream reader yes +texi2html enabled no +perl enabled yes +pod2man enabled yes +makeinfo enabled yes +makeinfo supports HTML yes +xmllint enabled yes + +External libraries: +avisynth libopencore_amrnb libvorbis +bzlib libopencore_amrwb libvpx +gmp libopenjpeg libwebp +gnutls libopenmpt libx264 +iconv libopus libx265 +libaom librubberband libxml2 +libass libspeex libxvid +libfontconfig libsrt libzimg +libfreetype libssh libzmq +libfribidi libtheora lzma +libgme libvidstab mediafoundation +libgsm libvmaf sdl2 +libmp3lame libvo_amrwbenc zlib + +External libraries providing hardware acceleration: +amf d3d11va libvpl +cuda dxva2 nvdec +cuda_llvm ffnvcodec nvenc +cuvid libmfx + +Libraries: +avcodec avformat swresample +avdevice avutil swscale +avfilter postproc + +Programs: +ffmpeg ffplay ffprobe + +Enabled decoders: +aac flv pcm_vidc +aac_fixed fmvc pcx +aac_latm fourxm pfm +aasc fraps pgm +ac3 frwu pgmyuv +ac3_fixed ftr pgssub +acelp_kelvin g2m pgx +adpcm_4xm g723_1 phm +adpcm_adx g729 photocd +adpcm_afc gdv pictor +adpcm_agm gem pixlet +adpcm_aica gif pjs +adpcm_argo gremlin_dpcm png +adpcm_ct gsm ppm +adpcm_dtk gsm_ms prores +adpcm_ea h261 prosumer +adpcm_ea_maxis_xa h263 psd +adpcm_ea_r1 h263i ptx +adpcm_ea_r2 h263p qcelp +adpcm_ea_r3 h264 qdm2 +adpcm_ea_xas h264_cuvid qdmc +adpcm_g722 h264_qsv qdraw +adpcm_g726 hap qoi +adpcm_g726le hca qpeg +adpcm_ima_acorn hcom qtrle +adpcm_ima_alp hdr r10k +adpcm_ima_amv hevc r210 +adpcm_ima_apc hevc_cuvid ra_144 +adpcm_ima_apm hevc_qsv ra_288 +adpcm_ima_cunning hnm4_video ralf +adpcm_ima_dat4 hq_hqa rasc +adpcm_ima_dk3 hqx rawvideo +adpcm_ima_dk4 huffyuv realtext +adpcm_ima_ea_eacs hymt rka +adpcm_ima_ea_sead iac rl2 +adpcm_ima_iss idcin roq +adpcm_ima_moflex idf roq_dpcm +adpcm_ima_mtf iff_ilbm rpza +adpcm_ima_oki ilbc rscc +adpcm_ima_qt imc rv10 +adpcm_ima_rad imm4 rv20 +adpcm_ima_smjpeg imm5 rv30 +adpcm_ima_ssi indeo2 rv40 +adpcm_ima_wav indeo3 s302m +adpcm_ima_ws indeo4 sami +adpcm_ms indeo5 sanm +adpcm_mtaf interplay_acm sbc +adpcm_psx interplay_dpcm scpr +adpcm_sbpro_2 interplay_video screenpresso +adpcm_sbpro_3 ipu sdx2_dpcm +adpcm_sbpro_4 jacosub sga +adpcm_swf jpeg2000 sgi +adpcm_thp jpegls sgirle +adpcm_thp_le jv sheervideo +adpcm_vima kgv1 shorten +adpcm_xa kmvc simbiosis_imx +adpcm_xmd lagarith sipr +adpcm_yamaha libaom_av1 siren +adpcm_zork libgsm smackaud +agm libgsm_ms smacker +aic libopencore_amrnb smc +alac libopencore_amrwb smvjpeg +alias_pix libopenjpeg snow +als libopus sol_dpcm +amrnb libspeex sonic +amrwb libvorbis sp5x +amv libvpx_vp8 speedhq +anm libvpx_vp9 speex +ansi loco srgc +anull lscr srt +apac m101 ssa +ape mace3 stl +apng mace6 subrip +aptx magicyuv subviewer +aptx_hd mdec subviewer1 +arbc media100 sunrast +argo metasound svq1 +ass microdvd svq3 +asv1 mimic tak +asv2 misc4 targa +atrac1 mjpeg targa_y216 +atrac3 mjpeg_cuvid tdsc +atrac3al mjpeg_qsv text +atrac3p mjpegb theora +atrac3pal mlp thp +atrac9 mmvideo tiertexseqvideo +aura mobiclip tiff +aura2 motionpixels tmv +av1 movtext truehd +av1_cuvid mp1 truemotion1 +av1_qsv mp1float truemotion2 +avrn mp2 truemotion2rt +avrp mp2float truespeech +avs mp3 tscc +avui mp3adu tscc2 +ayuv mp3adufloat tta +bethsoftvid mp3float twinvq +bfi mp3on4 txd +bink mp3on4float ulti +binkaudio_dct mpc7 utvideo +binkaudio_rdft mpc8 v210 +bintext mpeg1_cuvid v210x +bitpacked mpeg1video v308 +bmp mpeg2_cuvid v408 +bmv_audio mpeg2_qsv v410 +bmv_video mpeg2video vb +bonk mpeg4 vble +brender_pix mpeg4_cuvid vbn +c93 mpegvideo vc1 +cavs mpl2 vc1_cuvid +cbd2_dpcm msa1 vc1_qsv +ccaption mscc vc1image +cdgraphics msmpeg4v1 vcr1 +cdtoons msmpeg4v2 vmdaudio +cdxl msmpeg4v3 vmdvideo +cfhd msnsiren vmnc +cinepak msp2 vnull +clearvideo msrle vorbis +cljr mss1 vp3 +cllc mss2 vp4 +comfortnoise msvideo1 vp5 +cook mszh vp6 +cpia mts2 vp6a +cri mv30 vp6f +cscd mvc1 vp7 +cyuv mvc2 vp8 +dca mvdv vp8_cuvid +dds mvha vp8_qsv +derf_dpcm mwsc vp9 +dfa mxpeg vp9_cuvid +dfpwm nellymoser vp9_qsv +dirac notchlc vplayer +dnxhd nuv vqa +dolby_e on2avc vqc +dpx opus wady_dpcm +dsd_lsbf paf_audio wavarc +dsd_lsbf_planar paf_video wavpack +dsd_msbf pam wbmp +dsd_msbf_planar pbm wcmv +dsicinaudio pcm_alaw webp +dsicinvideo pcm_bluray webvtt +dss_sp pcm_dvd wmalossless +dst pcm_f16le wmapro +dvaudio pcm_f24le wmav1 +dvbsub pcm_f32be wmav2 +dvdsub pcm_f32le wmavoice +dvvideo pcm_f64be wmv1 +dxa pcm_f64le wmv2 +dxtory pcm_lxf wmv3 +dxv pcm_mulaw wmv3image +eac3 pcm_s16be wnv1 +eacmv pcm_s16be_planar wrapped_avframe +eamad pcm_s16le ws_snd1 +eatgq pcm_s16le_planar xan_dpcm +eatgv pcm_s24be xan_wc3 +eatqi pcm_s24daud xan_wc4 +eightbps pcm_s24le xbin +eightsvx_exp pcm_s24le_planar xbm +eightsvx_fib pcm_s32be xface +escape124 pcm_s32le xl +escape130 pcm_s32le_planar xma1 +evrc pcm_s64be xma2 +exr pcm_s64le xpm +fastaudio pcm_s8 xsub +ffv1 pcm_s8_planar xwd +ffvhuff pcm_sga y41p +ffwavesynth pcm_u16be ylc +fic pcm_u16le yop +fits pcm_u24be yuv4 +flac pcm_u24le zero12v +flashsv pcm_u32be zerocodec +flashsv2 pcm_u32le zlib +flic pcm_u8 zmbv + +Enabled encoders: +a64multi hevc_mf pcm_u24le +a64multi5 hevc_nvenc pcm_u32be +aac hevc_qsv pcm_u32le +aac_mf huffyuv pcm_u8 +ac3 jpeg2000 pcm_vidc +ac3_fixed jpegls pcx +ac3_mf libaom_av1 pfm +adpcm_adx libgsm pgm +adpcm_argo libgsm_ms pgmyuv +adpcm_g722 libmp3lame phm +adpcm_g726 libopencore_amrnb png +adpcm_g726le libopenjpeg ppm +adpcm_ima_alp libopus prores +adpcm_ima_amv libspeex prores_aw +adpcm_ima_apm libtheora prores_ks +adpcm_ima_qt libvo_amrwbenc qoi +adpcm_ima_ssi libvorbis qtrle +adpcm_ima_wav libvpx_vp8 r10k +adpcm_ima_ws libvpx_vp9 r210 +adpcm_ms libwebp ra_144 +adpcm_swf libwebp_anim rawvideo +adpcm_yamaha libx264 roq +alac libx264rgb roq_dpcm +alias_pix libx265 rpza +amv libxvid rv10 +anull ljpeg rv20 +apng magicyuv s302m +aptx mjpeg sbc +aptx_hd mjpeg_qsv sgi +ass mlp smc +asv1 movtext snow +asv2 mp2 sonic +av1_amf mp2fixed sonic_ls +av1_nvenc mp3_mf speedhq +av1_qsv mpeg1video srt +avrp mpeg2_qsv ssa +avui mpeg2video subrip +ayuv mpeg4 sunrast +bitpacked msmpeg4v2 svq1 +bmp msmpeg4v3 targa +cfhd msvideo1 text +cinepak nellymoser tiff +cljr opus truehd +comfortnoise pam tta +dca pbm ttml +dfpwm pcm_alaw utvideo +dnxhd pcm_bluray v210 +dpx pcm_dvd v308 +dvbsub pcm_f32be v408 +dvdsub pcm_f32le v410 +dvvideo pcm_f64be vbn +eac3 pcm_f64le vc2 +exr pcm_mulaw vnull +ffv1 pcm_s16be vorbis +ffvhuff pcm_s16be_planar vp9_qsv +fits pcm_s16le wavpack +flac pcm_s16le_planar wbmp +flashsv pcm_s24be webvtt +flashsv2 pcm_s24daud wmav1 +flv pcm_s24le wmav2 +g723_1 pcm_s24le_planar wmv1 +gif pcm_s32be wmv2 +h261 pcm_s32le wrapped_avframe +h263 pcm_s32le_planar xbm +h263p pcm_s64be xface +h264_amf pcm_s64le xsub +h264_mf pcm_s8 xwd +h264_nvenc pcm_s8_planar y41p +h264_qsv pcm_u16be yuv4 +hdr pcm_u16le zlib +hevc_amf pcm_u24be zmbv + +Enabled hwaccels: +av1_d3d11va hevc_nvdec vc1_nvdec +av1_d3d11va2 mjpeg_nvdec vp8_nvdec +av1_dxva2 mpeg1_nvdec vp9_d3d11va +av1_nvdec mpeg2_d3d11va vp9_d3d11va2 +h264_d3d11va mpeg2_d3d11va2 vp9_dxva2 +h264_d3d11va2 mpeg2_dxva2 vp9_nvdec +h264_dxva2 mpeg2_nvdec wmv3_d3d11va +h264_nvdec mpeg4_nvdec wmv3_d3d11va2 +hevc_d3d11va vc1_d3d11va wmv3_dxva2 +hevc_d3d11va2 vc1_d3d11va2 wmv3_nvdec +hevc_dxva2 vc1_dxva2 + +Enabled parsers: +aac dvdsub opus +aac_latm flac png +ac3 ftr pnm +adx g723_1 qoi +amr g729 rv30 +av1 gif rv40 +avs2 gsm sbc +avs3 h261 sipr +bmp h263 tak +cavsvideo h264 vc1 +cook hdr vorbis +cri hevc vp3 +dca ipu vp8 +dirac jpeg2000 vp9 +dnxhd misc4 webp +dolby_e mjpeg xbm +dpx mlp xma +dvaudio mpeg4video xwd +dvbsub mpegaudio +dvd_nav mpegvideo + +Enabled demuxers: +aa idcin pcm_f64be +aac idf pcm_f64le +aax iff pcm_mulaw +ac3 ifv pcm_s16be +ace ilbc pcm_s16le +acm image2 pcm_s24be +act image2_alias_pix pcm_s24le +adf image2_brender_pix pcm_s32be +adp image2pipe pcm_s32le +ads image_bmp_pipe pcm_s8 +adx image_cri_pipe pcm_u16be +aea image_dds_pipe pcm_u16le +afc image_dpx_pipe pcm_u24be +aiff image_exr_pipe pcm_u24le +aix image_gem_pipe pcm_u32be +alp image_gif_pipe pcm_u32le +amr image_hdr_pipe pcm_u8 +amrnb image_j2k_pipe pcm_vidc +amrwb image_jpeg_pipe pjs +anm image_jpegls_pipe pmp +apac image_jpegxl_pipe pp_bnk +apc image_pam_pipe pva +ape image_pbm_pipe pvf +apm image_pcx_pipe qcp +apng image_pfm_pipe r3d +aptx image_pgm_pipe rawvideo +aptx_hd image_pgmyuv_pipe realtext +aqtitle image_pgx_pipe redspark +argo_asf image_phm_pipe rka +argo_brp image_photocd_pipe rl2 +argo_cvg image_pictor_pipe rm +asf image_png_pipe roq +asf_o image_ppm_pipe rpl +ass image_psd_pipe rsd +ast image_qdraw_pipe rso +au image_qoi_pipe rtp +av1 image_sgi_pipe rtsp +avi image_sunrast_pipe s337m +avisynth image_svg_pipe sami +avr image_tiff_pipe sap +avs image_vbn_pipe sbc +avs2 image_webp_pipe sbg +avs3 image_xbm_pipe scc +bethsoftvid image_xpm_pipe scd +bfi image_xwd_pipe sdns +bfstm imf sdp +bink ingenient sdr2 +binka ipmovie sds +bintext ipu sdx +bit ircam segafilm +bitpacked iss ser +bmv iv8 sga +boa ivf shorten +bonk ivr siff +brstm jacosub simbiosis_imx +c93 jv sln +caf kux smacker +cavsvideo kvag smjpeg +cdg laf smush +cdxl libgme sol +cine libopenmpt sox +codec2 live_flv spdif +codec2raw lmlm4 srt +concat loas stl +dash lrc str +data luodat subviewer +daud lvf subviewer1 +dcstr lxf sup +derf m4v svag +dfa matroska svs +dfpwm mca swf +dhav mcc tak +dirac mgsts tedcaptions +dnxhd microdvd thp +dsf mjpeg threedostr +dsicin mjpeg_2000 tiertexseq +dss mlp tmv +dts mlv truehd +dtshd mm tta +dv mmf tty +dvbsub mods txd +dvbtxt moflex ty +dxa mov v210 +ea mp3 v210x +ea_cdata mpc vag +eac3 mpc8 vc1 +epaf mpegps vc1t +ffmetadata mpegts vividas +filmstrip mpegtsraw vivo +fits mpegvideo vmd +flac mpjpeg vobsub +flic mpl2 voc +flv mpsub vpk +fourxm msf vplayer +frm msnwc_tcp vqf +fsb msp w64 +fwse mtaf wady +g722 mtv wav +g723_1 musx wavarc +g726 mv wc3 +g726le mvi webm_dash_manifest +g729 mxf webvtt +gdv mxg wsaud +genh nc wsd +gif nistsphere wsvqa +gsm nsp wtv +gxf nsv wv +h261 nut wve +h263 nuv xa +h264 obu xbin +hca ogg xmd +hcom oma xmv +hevc paf xvag +hls pcm_alaw xwma +hnm pcm_f32be yop +ico pcm_f32le yuv4mpegpipe + +Enabled muxers: +a64 h263 pcm_s16le +ac3 h264 pcm_s24be +adts hash pcm_s24le +adx hds pcm_s32be +aiff hevc pcm_s32le +alp hls pcm_s8 +amr ico pcm_u16be +amv ilbc pcm_u16le +apm image2 pcm_u24be +apng image2pipe pcm_u24le +aptx ipod pcm_u32be +aptx_hd ircam pcm_u32le +argo_asf ismv pcm_u8 +argo_cvg ivf pcm_vidc +asf jacosub psp +asf_stream kvag rawvideo +ass latm rm +ast lrc roq +au m4v rso +avi matroska rtp +avif matroska_audio rtp_mpegts +avm2 md5 rtsp +avs2 microdvd sap +avs3 mjpeg sbc +bit mkvtimestamp_v2 scc +caf mlp segafilm +cavsvideo mmf segment +codec2 mov smjpeg +codec2raw mp2 smoothstreaming +crc mp3 sox +dash mp4 spdif +data mpeg1system spx +daud mpeg1vcd srt +dfpwm mpeg1video stream_segment +dirac mpeg2dvd streamhash +dnxhd mpeg2svcd sup +dts mpeg2video swf +dv mpeg2vob tee +eac3 mpegts tg2 +f4v mpjpeg tgp +ffmetadata mxf truehd +fifo mxf_d10 tta +fifo_test mxf_opatom ttml +filmstrip null uncodedframecrc +fits nut vc1 +flac obu vc1t +flv oga voc +framecrc ogg w64 +framehash ogv wav +framemd5 oma webm +g722 opus webm_chunk +g723_1 pcm_alaw webm_dash_manifest +g726 pcm_f32be webp +g726le pcm_f32le webvtt +gif pcm_f64be wsaud +gsm pcm_f64le wtv +gxf pcm_mulaw wv +h261 pcm_s16be yuv4mpegpipe + +Enabled protocols: +async http rtmp +cache httpproxy rtmpe +concat https rtmps +concatf icecast rtmpt +crypto ipfs_gateway rtmpte +data ipns_gateway rtmpts +fd libsrt rtp +ffrtmpcrypt libssh srtp +ffrtmphttp libzmq subfile +file md5 tcp +ftp mmsh tee +gopher mmst tls +gophers pipe udp +hls prompeg udplite + +Enabled filters: +a3dscope curves pad +abench datascope pal100bars +abitscope dblur pal75bars +acompressor dcshift palettegen +acontrast dctdnoiz paletteuse +acopy ddagrab pan +acrossfade deband perms +acrossover deblock perspective +acrusher decimate phase +acue deconvolve photosensitivity +addroi dedot pixdesctest +adeclick deesser pixelize +adeclip deflate pixscope +adecorrelate deflicker pp +adelay deinterlace_qsv pp7 +adenorm dejudder premultiply +aderivative delogo prewitt +adrawgraph derain pseudocolor +adrc deshake psnr +adynamicequalizer despill pullup +adynamicsmooth detelecine qp +aecho dialoguenhance random +aemphasis dilation readeia608 +aeval displace readvitc +aevalsrc dnn_classify realtime +aexciter dnn_detect remap +afade dnn_processing removegrain +afdelaysrc doubleweave removelogo +afftdn drawbox repeatfields +afftfilt drawgraph replaygain +afifo drawgrid reverse +afir drawtext rgbashift +afirsrc drmeter rgbtestsrc +aformat dynaudnorm roberts +afreqshift earwax rotate +afwtdn ebur128 rubberband +agate edgedetect sab +agraphmonitor elbg scale +ahistogram entropy scale2ref +aiir epx scale_cuda +aintegral eq scale_qsv +ainterleave equalizer scdet +alatency erosion scharr +alimiter estdif scroll +allpass exposure segment +allrgb extractplanes select +allyuv extrastereo selectivecolor +aloop fade sendcmd +alphaextract feedback separatefields +alphamerge fftdnoiz setdar +amerge fftfilt setfield +ametadata field setparams +amix fieldhint setpts +amovie fieldmatch setrange +amplify fieldorder setsar +amultiply fifo settb +anequalizer fillborders shear +anlmdn find_rect showcqt +anlmf firequalizer showcwt +anlms flanger showfreqs +anoisesrc floodfill showinfo +anull format showpalette +anullsink fps showspatial +anullsrc framepack showspectrum +apad framerate showspectrumpic +aperms framestep showvolume +aphasemeter freezedetect showwaves +aphaser freezeframes showwavespic +aphaseshift fspp shuffleframes +apsyclip gblur shufflepixels +apulsator geq shuffleplanes +arealtime gradfun sidechaincompress +aresample gradients sidechaingate +areverse graphmonitor sidedata +arnndn grayworld sierpinski +asdr greyedge signalstats +asegment guided signature +aselect haas silencedetect +asendcmd haldclut silenceremove +asetnsamples haldclutsrc sinc +asetpts hdcd sine +asetrate headphone siti +asettb hflip smartblur +ashowinfo highpass smptebars +asidedata highshelf smptehdbars +asoftclip hilbert sobel +aspectralstats histeq spectrumsynth +asplit histogram speechnorm +ass hqdn3d split +astats hqx spp +astreamselect hstack sr +asubboost hstack_qsv ssim +asubcut hsvhold ssim360 +asupercut hsvkey stereo3d +asuperpass hue stereotools +asuperstop huesaturation stereowiden +atadenoise hwdownload streamselect +atempo hwmap subtitles +atilt hwupload super2xsai +atrim hwupload_cuda superequalizer +avectorscope hysteresis surround +avgblur identity swaprect +avsynctest idet swapuv +axcorrelate il tblend +azmq inflate telecine +backgroundkey interlace testsrc +bandpass interleave testsrc2 +bandreject join thistogram +bass kerndeint threshold +bbox kirsch thumbnail +bench lagfun thumbnail_cuda +bilateral latency tile +bilateral_cuda lenscorrection tiltshelf +biquad libvmaf tinterlace +bitplanenoise life tlut2 +blackdetect limitdiff tmedian +blackframe limiter tmidequalizer +blend loop tmix +blockdetect loudnorm tonemap +blurdetect lowpass tpad +bm3d lowshelf transpose +boxblur lumakey treble +bwdif lut tremolo +cas lut1d trim +cellauto lut2 unpremultiply +channelmap lut3d unsharp +channelsplit lutrgb untile +chorus lutyuv v360 +chromahold mandelbrot vaguedenoiser +chromakey maskedclamp varblur +chromakey_cuda maskedmax vectorscope +chromanr maskedmerge vflip +chromashift maskedmin vfrdet +ciescope maskedthreshold vibrance +codecview maskfun vibrato +color mcompand vidstabdetect +colorbalance median vidstabtransform +colorchannelmixer mergeplanes vif +colorchart mestimate vignette +colorcontrast metadata virtualbass +colorcorrect midequalizer vmafmotion +colorhold minterpolate volume +colorize mix volumedetect +colorkey monochrome vpp_qsv +colorlevels morpho vstack +colormap movie vstack_qsv +colormatrix mpdecimate w3fdif +colorspace mptestsrc waveform +colorspace_cuda msad weave +colorspectrum multiply xbr +colortemperature negate xcorrelate +compand nlmeans xfade +compensationdelay nnedi xmedian +concat noformat xstack +convolution noise xstack_qsv +convolve normalize yadif +copy null yadif_cuda +corr nullsink yaepblur +cover_rect nullsrc yuvtestsrc +crop oscilloscope zmq +cropdetect overlay zoompan +crossfeed overlay_cuda zscale +crystalizer overlay_qsv +cue owdenoise + +Enabled bsfs: +aac_adtstoasc h264_redundant_pps opus_metadata +av1_frame_merge hapqa_extract pcm_rechunk +av1_frame_split hevc_metadata pgs_frame_merge +av1_metadata hevc_mp4toannexb prores_metadata +chomp imx_dump_header remove_extradata +dca_core media100_to_mjpegb setts +dts2pts mjpeg2jpeg text2movsub +dump_extradata mjpega_dump_header trace_headers +dv_error_marker mov2textsub truehd_core +eac3_core mp3_header_decompress vp9_metadata +extract_extradata mpeg2_metadata vp9_raw_reorder +filter_units mpeg4_unpack_bframes vp9_superframe +h264_metadata noise vp9_superframe_split +h264_mp4toannexb null + +Enabled indevs: +dshow lavfi +gdigrab vfwcap + +Enabled outdevs: +sdl2 diff --git a/Transcoder/Tools/ffmpeg/ffprobe.exe b/Transcoder/Tools/ffmpeg/ffprobe.exe index 11e7b49..90d899b 100644 --- a/Transcoder/Tools/ffmpeg/ffprobe.exe +++ b/Transcoder/Tools/ffmpeg/ffprobe.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5d3b90bee20f9be5a6feb9f9ff4c9c512e8ac10ceef68201ba5f18dfd1eb7b9 -size 75497472 +oid sha256:139f8420bcb2f29fcd5734e29d686289df826cadce5d2b7b5f56d0000ea9a951 +size 80991232 diff --git a/Transcoder/Tools/ffmpeg/licenses/bzip2.txt b/Transcoder/Tools/ffmpeg/licenses/bzip2.txt deleted file mode 100644 index cc61417..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/bzip2.txt +++ /dev/null @@ -1,42 +0,0 @@ - --------------------------------------------------------------------------- - -This program, "bzip2", the associated library "libbzip2", and all -documentation, are copyright (C) 1996-2010 Julian R Seward. All -rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The origin of this software must not be misrepresented; you must - not claim that you wrote the original software. If you use this - software in a product, an acknowledgment in the product - documentation would be appreciated but is not required. - -3. Altered source versions must be plainly marked as such, and must - not be misrepresented as being the original software. - -4. The name of the author may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS -OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Julian Seward, jseward@bzip.org -bzip2/libbzip2 version 1.0.6 of 6 September 2010 - --------------------------------------------------------------------------- diff --git a/Transcoder/Tools/ffmpeg/licenses/fontconfig.txt b/Transcoder/Tools/ffmpeg/licenses/fontconfig.txt deleted file mode 100644 index 2a5d777..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/fontconfig.txt +++ /dev/null @@ -1,27 +0,0 @@ -fontconfig/COPYING - -Copyright © 2000,2001,2002,2003,2004,2006,2007 Keith Packard -Copyright © 2005 Patrick Lam -Copyright © 2009 Roozbeh Pournader -Copyright © 2008,2009 Red Hat, Inc. -Copyright © 2008 Danilo Šegan - - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that -the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation, and that the name of the author(s) not be used in -advertising or publicity pertaining to distribution of the software without -specific, written prior permission. The authors make no -representations about the suitability of this software for any purpose. It -is provided "as is" without express or implied warranty. - -THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - diff --git a/Transcoder/Tools/ffmpeg/licenses/freetype.txt b/Transcoder/Tools/ffmpeg/licenses/freetype.txt deleted file mode 100644 index bbaba33..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/freetype.txt +++ /dev/null @@ -1,169 +0,0 @@ - The FreeType Project LICENSE - ---------------------------- - - 2006-Jan-27 - - Copyright 1996-2002, 2006 by - David Turner, Robert Wilhelm, and Werner Lemberg - - - -Introduction -============ - - The FreeType Project is distributed in several archive packages; - some of them may contain, in addition to the FreeType font engine, - various tools and contributions which rely on, or relate to, the - FreeType Project. - - This license applies to all files found in such packages, and - which do not fall under their own explicit license. The license - affects thus the FreeType font engine, the test programs, - documentation and makefiles, at the very least. - - This license was inspired by the BSD, Artistic, and IJG - (Independent JPEG Group) licenses, which all encourage inclusion - and use of free software in commercial and freeware products - alike. As a consequence, its main points are that: - - o We don't promise that this software works. However, we will be - interested in any kind of bug reports. (`as is' distribution) - - o You can use this software for whatever you want, in parts or - full form, without having to pay us. (`royalty-free' usage) - - o You may not pretend that you wrote this software. If you use - it, or only parts of it, in a program, you must acknowledge - somewhere in your documentation that you have used the - FreeType code. (`credits') - - We specifically permit and encourage the inclusion of this - software, with or without modifications, in commercial products. - We disclaim all warranties covering The FreeType Project and - assume no liability related to The FreeType Project. - - - Finally, many people asked us for a preferred form for a - credit/disclaimer to use in compliance with this license. We thus - encourage you to use the following text: - - """ - Portions of this software are copyright The FreeType - Project (www.freetype.org). All rights reserved. - """ - - Please replace with the value from the FreeType version you - actually use. - - -Legal Terms -=========== - -0. Definitions --------------- - - Throughout this license, the terms `package', `FreeType Project', - and `FreeType archive' refer to the set of files originally - distributed by the authors (David Turner, Robert Wilhelm, and - Werner Lemberg) as the `FreeType Project', be they named as alpha, - beta or final release. - - `You' refers to the licensee, or person using the project, where - `using' is a generic term including compiling the project's source - code as well as linking it to form a `program' or `executable'. - This program is referred to as `a program using the FreeType - engine'. - - This license applies to all files distributed in the original - FreeType Project, including all source code, binaries and - documentation, unless otherwise stated in the file in its - original, unmodified form as distributed in the original archive. - If you are unsure whether or not a particular file is covered by - this license, you must contact us to verify this. - - The FreeType Project is copyright (C) 1996-2000 by David Turner, - Robert Wilhelm, and Werner Lemberg. All rights reserved except as - specified below. - -1. No Warranty --------------- - - THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS - BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO - USE, OF THE FREETYPE PROJECT. - -2. Redistribution ------------------ - - This license grants a worldwide, royalty-free, perpetual and - irrevocable right and license to use, execute, perform, compile, - display, copy, create derivative works of, distribute and - sublicense the FreeType Project (in both source and object code - forms) and derivative works thereof for any purpose; and to - authorize others to exercise some or all of the rights granted - herein, subject to the following conditions: - - o Redistribution of source code must retain this license file - (`FTL.TXT') unaltered; any additions, deletions or changes to - the original files must be clearly indicated in accompanying - documentation. The copyright notices of the unaltered, - original files must be preserved in all copies of source - files. - - o Redistribution in binary form must provide a disclaimer that - states that the software is based in part of the work of the - FreeType Team, in the distribution documentation. We also - encourage you to put an URL to the FreeType web page in your - documentation, though this isn't mandatory. - - These conditions apply to any software derived from or based on - the FreeType Project, not just the unmodified files. If you use - our work, you must acknowledge us. However, no fee need be paid - to us. - -3. Advertising --------------- - - Neither the FreeType authors and contributors nor you shall use - the name of the other for commercial, advertising, or promotional - purposes without specific prior written permission. - - We suggest, but do not require, that you use one or more of the - following phrases to refer to this software in your documentation - or advertising materials: `FreeType Project', `FreeType Engine', - `FreeType library', or `FreeType Distribution'. - - As you have not signed this license, you are not required to - accept it. However, as the FreeType Project is copyrighted - material, only this license, or another one contracted with the - authors, grants you the right to use, distribute, and modify it. - Therefore, by using, distributing, or modifying the FreeType - Project, you indicate that you understand and accept all the terms - of this license. - -4. Contacts ------------ - - There are two mailing lists related to FreeType: - - o freetype@nongnu.org - - Discusses general use and applications of FreeType, as well as - future and wanted additions to the library and distribution. - If you are looking for support, start in this list if you - haven't found anything to help you in the documentation. - - o freetype-devel@nongnu.org - - Discusses bugs, as well as engine internals, design issues, - specific licenses, porting, etc. - - Our home page can be found at - - http://www.freetype.org - - ---- end of FTL.TXT --- diff --git a/Transcoder/Tools/ffmpeg/licenses/frei0r.txt b/Transcoder/Tools/ffmpeg/licenses/frei0r.txt deleted file mode 100644 index 623b625..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/frei0r.txt +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/Transcoder/Tools/ffmpeg/licenses/gme.txt b/Transcoder/Tools/ffmpeg/licenses/gme.txt deleted file mode 100644 index 5ab7695..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/gme.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/Transcoder/Tools/ffmpeg/licenses/gnutls.txt b/Transcoder/Tools/ffmpeg/licenses/gnutls.txt deleted file mode 100644 index 94a9ed0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/gnutls.txt +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/Transcoder/Tools/ffmpeg/licenses/lame.txt b/Transcoder/Tools/ffmpeg/licenses/lame.txt deleted file mode 100644 index f503049..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/lame.txt +++ /dev/null @@ -1,481 +0,0 @@ - GNU LIBRARY GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the library GPL. It is - numbered 2 because it goes with version 2 of the ordinary GPL.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - - GNU LIBRARY GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called "this License"). Each licensee is -addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also compile or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - c) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - d) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/Transcoder/Tools/ffmpeg/licenses/libass.txt b/Transcoder/Tools/ffmpeg/licenses/libass.txt deleted file mode 100644 index 8351a30..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libass.txt +++ /dev/null @@ -1,11 +0,0 @@ -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libbluray.txt b/Transcoder/Tools/ffmpeg/licenses/libbluray.txt deleted file mode 100644 index 20fb9c7..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libbluray.txt +++ /dev/null @@ -1,458 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS diff --git a/Transcoder/Tools/ffmpeg/licenses/libbs2b.txt b/Transcoder/Tools/ffmpeg/licenses/libbs2b.txt deleted file mode 100644 index cbf26a0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libbs2b.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2005 Boris Mikhaylov - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libcaca.txt b/Transcoder/Tools/ffmpeg/licenses/libcaca.txt deleted file mode 100644 index 2978491..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libcaca.txt +++ /dev/null @@ -1,14 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2004 Sam Hocevar - 14 rue de Plaisance, 75014 Paris, France - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - diff --git a/Transcoder/Tools/ffmpeg/licenses/libebur128.txt b/Transcoder/Tools/ffmpeg/licenses/libebur128.txt deleted file mode 100644 index e3cebca..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libebur128.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Jan Kokemüller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libgsm.txt b/Transcoder/Tools/ffmpeg/licenses/libgsm.txt deleted file mode 100644 index 28fbb3c..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libgsm.txt +++ /dev/null @@ -1,35 +0,0 @@ -Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, -Technische Universitaet Berlin - -Any use of this software is permitted provided that this notice is not -removed and that neither the authors nor the Technische Universitaet Berlin -are deemed to have made any representations as to the suitability of this -software for any purpose nor are held responsible for any defects of -this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - -As a matter of courtesy, the authors request to be informed about uses -this software has found, about bugs in this software, and about any -improvements that may be of general interest. - -Berlin, 28.11.1994 -Jutta Degener -Carsten Bormann - - oOo - -Since the original terms of 15 years ago maybe do not make our -intentions completely clear given today's refined usage of the legal -terms, we append this additional permission: - - Permission to use, copy, modify, and distribute this software - for any purpose with or without fee is hereby granted, - provided that this notice is not removed and that neither - the authors nor the Technische Universitaet Berlin are - deemed to have made any representations as to the suitability - of this software for any purpose nor are held responsible - for any defects of this software. THERE IS ABSOLUTELY NO - WARRANTY FOR THIS SOFTWARE. - -Berkeley/Bremen, 05.04.2009 -Jutta Degener -Carsten Bormann diff --git a/Transcoder/Tools/ffmpeg/licenses/libiconv.txt b/Transcoder/Tools/ffmpeg/licenses/libiconv.txt deleted file mode 100644 index 94a9ed0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libiconv.txt +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/Transcoder/Tools/ffmpeg/licenses/libilbc.txt b/Transcoder/Tools/ffmpeg/licenses/libilbc.txt deleted file mode 100644 index 4c41b7b..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libilbc.txt +++ /dev/null @@ -1,29 +0,0 @@ -Copyright (c) 2011, The WebRTC project authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - * Neither the name of Google nor the names of its contributors may - be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libmfx.txt b/Transcoder/Tools/ffmpeg/licenses/libmfx.txt deleted file mode 100644 index 6e800b6..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libmfx.txt +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (C) 2012 Intel Corporation. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: -- Redistributions of source code must retain the above copyright notice, -this list of conditions and the following disclaimer. -- Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. -- Neither the name of Intel Corporation nor the names of its contributors -may be used to endorse or promote products derived from this software -without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libmodplug.txt b/Transcoder/Tools/ffmpeg/licenses/libmodplug.txt deleted file mode 100644 index 59fbf82..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libmodplug.txt +++ /dev/null @@ -1 +0,0 @@ -ModPlug-XMMS and libmodplug are now in the public domain. diff --git a/Transcoder/Tools/ffmpeg/licenses/libtheora.txt b/Transcoder/Tools/ffmpeg/licenses/libtheora.txt deleted file mode 100644 index c8ccce4..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libtheora.txt +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (C) 2002-2009 Xiph.org Foundation - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libvorbis.txt b/Transcoder/Tools/ffmpeg/licenses/libvorbis.txt deleted file mode 100644 index 28de72a..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libvorbis.txt +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (c) 2002-2008 Xiph.org Foundation - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/libvpx.txt b/Transcoder/Tools/ffmpeg/licenses/libvpx.txt deleted file mode 100644 index 1ce4434..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libvpx.txt +++ /dev/null @@ -1,31 +0,0 @@ -Copyright (c) 2010, The WebM Project authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - * Neither the name of Google, nor the WebM Project, nor the names - of its contributors may be used to endorse or promote products - derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/Transcoder/Tools/ffmpeg/licenses/libwebp.txt b/Transcoder/Tools/ffmpeg/licenses/libwebp.txt deleted file mode 100644 index 7a6f995..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/libwebp.txt +++ /dev/null @@ -1,30 +0,0 @@ -Copyright (c) 2010, Google Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - * Neither the name of Google nor the names of its contributors may - be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/Transcoder/Tools/ffmpeg/licenses/opencore-amr.txt b/Transcoder/Tools/ffmpeg/licenses/opencore-amr.txt deleted file mode 100644 index 5ec4bf0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/opencore-amr.txt +++ /dev/null @@ -1,191 +0,0 @@ -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and -distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the -copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other -entities that control, are controlled by, or are under common control with -that entity. For the purposes of this definition, "control" means (i) the -power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty -percent (50%) or more of the outstanding shares, or (iii) beneficial -ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising -permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, -including but not limited to software source code, documentation source, -and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation -or translation of a Source form, including but not limited to compiled -object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, -made available under the License, as indicated by a copyright notice that -is included in or attached to the work (an example is provided in the -Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, -that is based on (or derived from) the Work and for which the editorial -revisions, annotations, elaborations, or other modifications represent, as -a whole, an original work of authorship. For the purposes of this License, -Derivative Works shall not include works that remain separable from, or -merely link (or bind by name) to the interfaces of, the Work and Derivative -Works thereof. - -"Contribution" shall mean any work of authorship, including the original -version of the Work and any modifications or additions to that Work or -Derivative Works thereof, that is intentionally submitted to Licensor for -inclusion in the Work by the copyright owner or by an individual or Legal -Entity authorized to submit on behalf of the copyright owner. For the -purposes of this definition, "submitted" means any form of electronic, -verbal, or written communication sent to the Licensor or its -representatives, including but not limited to communication on electronic -mailing lists, source code control systems, and issue tracking systems that -are managed by, or on behalf of, the Licensor for the purpose of discussing -and improving the Work, but excluding communication that is conspicuously -marked or otherwise designated in writing by the copyright owner as "Not a -Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on -behalf of whom a Contribution has been received by Licensor and -subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable copyright license to -reproduce, prepare Derivative Works of, publicly display, publicly perform, -sublicense, and distribute the Work and such Derivative Works in Source or -Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable (except as stated in -this section) patent license to make, have made, use, offer to sell, sell, -import, and otherwise transfer the Work, where such license applies only to -those patent claims licensable by such Contributor that are necessarily -infringed by their Contribution(s) alone or by combination of their -Contribution(s) with the Work to which such Contribution(s) was submitted. -If You institute patent litigation against any entity (including a -cross-claim or counterclaim in a lawsuit) alleging that the Work or a -Contribution incorporated within the Work constitutes direct or -contributory patent infringement, then any patent licenses granted to You -under this License for that Work shall terminate as of the date such -litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or -Derivative Works thereof in any medium, with or without modifications, and -in Source or Object form, provided that You meet the following conditions: - - 1. You must give any other recipients of the Work or Derivative Works a -copy of this License; and - - 2. You must cause any modified files to carry prominent notices stating -that You changed the files; and - - 3. You must retain, in the Source form of any Derivative Works that You -distribute, all copyright, patent, trademark, and attribution notices from -the Source form of the Work, excluding those notices that do not pertain to -any part of the Derivative Works; and - - 4. If the Work includes a "NOTICE" text file as part of its -distribution, then any Derivative Works that You distribute must include a -readable copy of the attribution notices contained within such NOTICE file, -excluding those notices that do not pertain to any part of the Derivative -Works, in at least one of the following places: within a NOTICE text file -distributed as part of the Derivative Works; within the Source form or -documentation, if provided along with the Derivative Works; or, within a -display generated by the Derivative Works, if and wherever such third-party -notices normally appear. The contents of the NOTICE file are for -informational purposes only and do not modify the License. You may add Your -own attribution notices within Derivative Works that You distribute, -alongside or as an addendum to the NOTICE text from the Work, provided that -such additional attribution notices cannot be construed as modifying the -License. - -You may add Your own copyright statement to Your modifications and may -provide additional or different license terms and conditions for use, -reproduction, or distribution of Your modifications, or for any such -Derivative Works as a whole, provided Your use, reproduction, and -distribution of the Work otherwise complies with the conditions stated in -this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any -Contribution intentionally submitted for inclusion in the Work by You to -the Licensor shall be under the terms and conditions of this License, -without any additional terms or conditions. Notwithstanding the above, -nothing herein shall supersede or modify the terms of any separate license -agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade -names, trademarks, service marks, or product names of the Licensor, except -as required for reasonable and customary use in describing the origin of -the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to -in writing, Licensor provides the Work (and each Contributor provides its -Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any -warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or -FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for -determining the appropriateness of using or redistributing the Work and -assume any risks associated with Your exercise of permissions under this -License. - -8. Limitation of Liability. In no event and under no legal theory, whether -in tort (including negligence), contract, or otherwise, unless required by -applicable law (such as deliberate and grossly negligent acts) or agreed to -in writing, shall any Contributor be liable to You for damages, including -any direct, indirect, special, incidental, or consequential damages of any -character arising as a result of this License or out of the use or -inability to use the Work (including but not limited to damages for loss of -goodwill, work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses), even if such Contributor has been -advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the -Work or Derivative Works thereof, You may choose to offer, and charge a fee -for, acceptance of support, warranty, indemnity, or other liability -obligations and/or rights consistent with this License. However, in -accepting such obligations, You may act only on Your own behalf and on Your -sole responsibility, not on behalf of any other Contributor, and only if -You agree to indemnify, defend, and hold each Contributor harmless for any -liability incurred by, or claims asserted against, such Contributor by -reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work - -To apply the Apache License to your work, attach the following boilerplate -notice, with the fields enclosed by brackets "[]" replaced with your own -identifying information. (Don't include the brackets!) The text should be -enclosed in the appropriate comment syntax for the file format. We also -recommend that a file or class name and description of purpose be included -on the same "printed page" as the copyright notice for easier -identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); you may - not use this file except in compliance with the License. You may obtain a - copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable - law or agreed to in writing, software distributed under the License is - distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the specific language - governing permissions and limitations under the License. diff --git a/Transcoder/Tools/ffmpeg/licenses/openh264.txt b/Transcoder/Tools/ffmpeg/licenses/openh264.txt deleted file mode 100644 index 096ba5d..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/openh264.txt +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) 2013, Cisco Systems -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/openjpeg.txt b/Transcoder/Tools/ffmpeg/licenses/openjpeg.txt deleted file mode 100644 index f578e33..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/openjpeg.txt +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2002-2012, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium - * Copyright (c) 2002-2012, Professor Benoit Macq - * Copyright (c) 2003-2012, Antonin Descampe - * Copyright (c) 2003-2009, Francois-Olivier Devaux - * Copyright (c) 2005, Herve Drolon, FreeImage Team - * Copyright (c) 2002-2003, Yannick Verschueren - * Copyright (c) 2001-2003, David Janssens - * Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France - * Copyright (c) 2012, CS Systemes d'Information, France - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ diff --git a/Transcoder/Tools/ffmpeg/licenses/opus.txt b/Transcoder/Tools/ffmpeg/licenses/opus.txt deleted file mode 100644 index f4159e6..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/opus.txt +++ /dev/null @@ -1,44 +0,0 @@ -Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, - Jean-Marc Valin, Timothy B. Terriberry, - CSIRO, Gregory Maxwell, Mark Borgerding, - Erik de Castro Lopo - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of Internet Society, IETF or IETF Trust, nor the -names of specific contributors, may be used to endorse or promote -products derived from this software without specific prior written -permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Opus is subject to the royalty-free patent licenses which are -specified at: - -Xiph.Org Foundation: -https://datatracker.ietf.org/ipr/1524/ - -Microsoft Corporation: -https://datatracker.ietf.org/ipr/1914/ - -Broadcom Corporation: -https://datatracker.ietf.org/ipr/1526/ diff --git a/Transcoder/Tools/ffmpeg/licenses/rtmpdump.txt b/Transcoder/Tools/ffmpeg/licenses/rtmpdump.txt deleted file mode 100644 index d511905..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/rtmpdump.txt +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/Transcoder/Tools/ffmpeg/licenses/schroedinger.txt b/Transcoder/Tools/ffmpeg/licenses/schroedinger.txt deleted file mode 100644 index 8a68a0d..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/schroedinger.txt +++ /dev/null @@ -1,467 +0,0 @@ - GNU LIBRARY GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the library GPL. It is - numbered 2 because it goes with version 2 of the ordinary GPL.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - - GNU LIBRARY GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called "this License"). Each licensee is -addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also compile or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - c) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - d) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free - Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. diff --git a/Transcoder/Tools/ffmpeg/licenses/snappy.txt b/Transcoder/Tools/ffmpeg/licenses/snappy.txt deleted file mode 100644 index bd0e597..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/snappy.txt +++ /dev/null @@ -1,54 +0,0 @@ -Copyright 2011, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -=== - -Some of the benchmark data in testdata/ is licensed differently: - - - fireworks.jpeg is Copyright 2013 Steinar H. Gunderson, and - is licensed under the Creative Commons Attribution 3.0 license - (CC-BY-3.0). See https://creativecommons.org/licenses/by/3.0/ - for more information. - - - kppkn.gtb is taken from the Gaviota chess tablebase set, and - is licensed under the MIT License. See - https://sites.google.com/site/gaviotachessengine/Home/endgame-tablebases-1 - for more information. - - - paper-100k.pdf is an excerpt (bytes 92160 to 194560) from the paper - “Combinatorial Modeling of Chromatin Features Quantitatively Predicts DNA - Replication Timing in _Drosophila_” by Federico Comoglio and Renato Paro, - which is licensed under the CC-BY license. See - http://www.ploscompbiol.org/static/license for more ifnormation. - - - alice29.txt, asyoulik.txt, plrabn12.txt and lcet10.txt are from Project - Gutenberg. The first three have expired copyrights and are in the public - domain; the latter does not have expired copyright, but is still in the - public domain according to the license information - (http://www.gutenberg.org/ebooks/53). diff --git a/Transcoder/Tools/ffmpeg/licenses/soxr.txt b/Transcoder/Tools/ffmpeg/licenses/soxr.txt deleted file mode 100644 index 1c61878..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/soxr.txt +++ /dev/null @@ -1,24 +0,0 @@ -SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net - -This library is free software; you can redistribute it and/or modify it -under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2.1 of the License, or (at -your option) any later version. - -This library is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser -General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with this library; if not, write to the Free Software Foundation, -Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - -Notes - -1. Re software in the `examples' directory: works that are not resampling -examples but are based on the given examples -- for example, applications using -the library -- shall not be considered to be derivative works of the examples. - -2. If building with pffft.c, see the licence embedded in that file. diff --git a/Transcoder/Tools/ffmpeg/licenses/speex.txt b/Transcoder/Tools/ffmpeg/licenses/speex.txt deleted file mode 100644 index de6fbe2..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/speex.txt +++ /dev/null @@ -1,35 +0,0 @@ -Copyright 2002-2008 Xiph.org Foundation -Copyright 2002-2008 Jean-Marc Valin -Copyright 2005-2007 Analog Devices Inc. -Copyright 2005-2008 Commonwealth Scientific and Industrial Research - Organisation (CSIRO) -Copyright 1993, 2002, 2006 David Rowe -Copyright 2003 EpicGames -Copyright 1992-1994 Jutta Degener, Carsten Bormann - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/twolame.txt b/Transcoder/Tools/ffmpeg/licenses/twolame.txt deleted file mode 100644 index b1e3f5a..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/twolame.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/Transcoder/Tools/ffmpeg/licenses/vid.stab.txt b/Transcoder/Tools/ffmpeg/licenses/vid.stab.txt deleted file mode 100644 index a09e1dc..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/vid.stab.txt +++ /dev/null @@ -1,16 +0,0 @@ -In this project is open source in the sense of the GPL. - - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * diff --git a/Transcoder/Tools/ffmpeg/licenses/vo-amrwbenc.txt b/Transcoder/Tools/ffmpeg/licenses/vo-amrwbenc.txt deleted file mode 100644 index 5ec4bf0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/vo-amrwbenc.txt +++ /dev/null @@ -1,191 +0,0 @@ -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and -distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the -copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other -entities that control, are controlled by, or are under common control with -that entity. For the purposes of this definition, "control" means (i) the -power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty -percent (50%) or more of the outstanding shares, or (iii) beneficial -ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising -permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, -including but not limited to software source code, documentation source, -and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation -or translation of a Source form, including but not limited to compiled -object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, -made available under the License, as indicated by a copyright notice that -is included in or attached to the work (an example is provided in the -Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, -that is based on (or derived from) the Work and for which the editorial -revisions, annotations, elaborations, or other modifications represent, as -a whole, an original work of authorship. For the purposes of this License, -Derivative Works shall not include works that remain separable from, or -merely link (or bind by name) to the interfaces of, the Work and Derivative -Works thereof. - -"Contribution" shall mean any work of authorship, including the original -version of the Work and any modifications or additions to that Work or -Derivative Works thereof, that is intentionally submitted to Licensor for -inclusion in the Work by the copyright owner or by an individual or Legal -Entity authorized to submit on behalf of the copyright owner. For the -purposes of this definition, "submitted" means any form of electronic, -verbal, or written communication sent to the Licensor or its -representatives, including but not limited to communication on electronic -mailing lists, source code control systems, and issue tracking systems that -are managed by, or on behalf of, the Licensor for the purpose of discussing -and improving the Work, but excluding communication that is conspicuously -marked or otherwise designated in writing by the copyright owner as "Not a -Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on -behalf of whom a Contribution has been received by Licensor and -subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable copyright license to -reproduce, prepare Derivative Works of, publicly display, publicly perform, -sublicense, and distribute the Work and such Derivative Works in Source or -Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable (except as stated in -this section) patent license to make, have made, use, offer to sell, sell, -import, and otherwise transfer the Work, where such license applies only to -those patent claims licensable by such Contributor that are necessarily -infringed by their Contribution(s) alone or by combination of their -Contribution(s) with the Work to which such Contribution(s) was submitted. -If You institute patent litigation against any entity (including a -cross-claim or counterclaim in a lawsuit) alleging that the Work or a -Contribution incorporated within the Work constitutes direct or -contributory patent infringement, then any patent licenses granted to You -under this License for that Work shall terminate as of the date such -litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or -Derivative Works thereof in any medium, with or without modifications, and -in Source or Object form, provided that You meet the following conditions: - - 1. You must give any other recipients of the Work or Derivative Works a -copy of this License; and - - 2. You must cause any modified files to carry prominent notices stating -that You changed the files; and - - 3. You must retain, in the Source form of any Derivative Works that You -distribute, all copyright, patent, trademark, and attribution notices from -the Source form of the Work, excluding those notices that do not pertain to -any part of the Derivative Works; and - - 4. If the Work includes a "NOTICE" text file as part of its -distribution, then any Derivative Works that You distribute must include a -readable copy of the attribution notices contained within such NOTICE file, -excluding those notices that do not pertain to any part of the Derivative -Works, in at least one of the following places: within a NOTICE text file -distributed as part of the Derivative Works; within the Source form or -documentation, if provided along with the Derivative Works; or, within a -display generated by the Derivative Works, if and wherever such third-party -notices normally appear. The contents of the NOTICE file are for -informational purposes only and do not modify the License. You may add Your -own attribution notices within Derivative Works that You distribute, -alongside or as an addendum to the NOTICE text from the Work, provided that -such additional attribution notices cannot be construed as modifying the -License. - -You may add Your own copyright statement to Your modifications and may -provide additional or different license terms and conditions for use, -reproduction, or distribution of Your modifications, or for any such -Derivative Works as a whole, provided Your use, reproduction, and -distribution of the Work otherwise complies with the conditions stated in -this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any -Contribution intentionally submitted for inclusion in the Work by You to -the Licensor shall be under the terms and conditions of this License, -without any additional terms or conditions. Notwithstanding the above, -nothing herein shall supersede or modify the terms of any separate license -agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade -names, trademarks, service marks, or product names of the Licensor, except -as required for reasonable and customary use in describing the origin of -the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to -in writing, Licensor provides the Work (and each Contributor provides its -Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any -warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or -FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for -determining the appropriateness of using or redistributing the Work and -assume any risks associated with Your exercise of permissions under this -License. - -8. Limitation of Liability. In no event and under no legal theory, whether -in tort (including negligence), contract, or otherwise, unless required by -applicable law (such as deliberate and grossly negligent acts) or agreed to -in writing, shall any Contributor be liable to You for damages, including -any direct, indirect, special, incidental, or consequential damages of any -character arising as a result of this License or out of the use or -inability to use the Work (including but not limited to damages for loss of -goodwill, work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses), even if such Contributor has been -advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the -Work or Derivative Works thereof, You may choose to offer, and charge a fee -for, acceptance of support, warranty, indemnity, or other liability -obligations and/or rights consistent with this License. However, in -accepting such obligations, You may act only on Your own behalf and on Your -sole responsibility, not on behalf of any other Contributor, and only if -You agree to indemnify, defend, and hold each Contributor harmless for any -liability incurred by, or claims asserted against, such Contributor by -reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work - -To apply the Apache License to your work, attach the following boilerplate -notice, with the fields enclosed by brackets "[]" replaced with your own -identifying information. (Don't include the brackets!) The text should be -enclosed in the appropriate comment syntax for the file format. We also -recommend that a file or class name and description of purpose be included -on the same "printed page" as the copyright notice for easier -identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); you may - not use this file except in compliance with the License. You may obtain a - copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable - law or agreed to in writing, software distributed under the License is - distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the specific language - governing permissions and limitations under the License. diff --git a/Transcoder/Tools/ffmpeg/licenses/wavpack.txt b/Transcoder/Tools/ffmpeg/licenses/wavpack.txt deleted file mode 100644 index 6ffc23b..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/wavpack.txt +++ /dev/null @@ -1,25 +0,0 @@ - Copyright (c) 1998 - 2009 Conifer Software - All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Conifer Software nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Transcoder/Tools/ffmpeg/licenses/x264.txt b/Transcoder/Tools/ffmpeg/licenses/x264.txt deleted file mode 100644 index d60c31a..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/x264.txt +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/Transcoder/Tools/ffmpeg/licenses/x265.txt b/Transcoder/Tools/ffmpeg/licenses/x265.txt deleted file mode 100644 index 18c946f..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/x265.txt +++ /dev/null @@ -1,343 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. - -This program is also available under a commercial proprietary license. -For more information, contact us at licensing@multicorewareinc.com. diff --git a/Transcoder/Tools/ffmpeg/licenses/xavs.txt b/Transcoder/Tools/ffmpeg/licenses/xavs.txt deleted file mode 100644 index 94a9ed0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/xavs.txt +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/Transcoder/Tools/ffmpeg/licenses/xvid.txt b/Transcoder/Tools/ffmpeg/licenses/xvid.txt deleted file mode 100644 index 14db8fc..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/xvid.txt +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/Transcoder/Tools/ffmpeg/licenses/xz.txt b/Transcoder/Tools/ffmpeg/licenses/xz.txt deleted file mode 100644 index 43c90d0..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/xz.txt +++ /dev/null @@ -1,65 +0,0 @@ - -XZ Utils Licensing -================== - - Different licenses apply to different files in this package. Here - is a rough summary of which licenses apply to which parts of this - package (but check the individual files to be sure!): - - - liblzma is in the public domain. - - - xz, xzdec, and lzmadec command line tools are in the public - domain unless GNU getopt_long had to be compiled and linked - in from the lib directory. The getopt_long code is under - GNU LGPLv2.1+. - - - The scripts to grep, diff, and view compressed files have been - adapted from gzip. These scripts and their documentation are - under GNU GPLv2+. - - - All the documentation in the doc directory and most of the - XZ Utils specific documentation files in other directories - are in the public domain. - - - Translated messages are in the public domain. - - - The build system contains public domain files, and files that - are under GNU GPLv2+ or GNU GPLv3+. None of these files end up - in the binaries being built. - - - Test files and test code in the tests directory, and debugging - utilities in the debug directory are in the public domain. - - - The extra directory may contain public domain files, and files - that are under various free software licenses. - - You can do whatever you want with the files that have been put into - the public domain. If you find public domain legally problematic, - take the previous sentence as a license grant. If you still find - the lack of copyright legally problematic, you have too many - lawyers. - - As usual, this software is provided "as is", without any warranty. - - If you copy significant amounts of public domain code from XZ Utils - into your project, acknowledging this somewhere in your software is - polite (especially if it is proprietary, non-free software), but - naturally it is not legally required. Here is an example of a good - notice to put into "about box" or into documentation: - - This software includes code from XZ Utils . - - The following license texts are included in the following files: - - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1 - - COPYING.GPLv2: GNU General Public License version 2 - - COPYING.GPLv3: GNU General Public License version 3 - - Note that the toolchain (compiler, linker etc.) may add some code - pieces that are copyrighted. Thus, it is possible that e.g. liblzma - binary wouldn't actually be in the public domain in its entirety - even though it contains no copyrighted code from the XZ Utils source - package. - - If you have questions, don't hesitate to ask the author(s) for more - information. - diff --git a/Transcoder/Tools/ffmpeg/licenses/zimg.txt b/Transcoder/Tools/ffmpeg/licenses/zimg.txt deleted file mode 100644 index 5a8e332..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/zimg.txt +++ /dev/null @@ -1,14 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2004 Sam Hocevar - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - diff --git a/Transcoder/Tools/ffmpeg/licenses/zlib.txt b/Transcoder/Tools/ffmpeg/licenses/zlib.txt deleted file mode 100644 index efa9848..0000000 --- a/Transcoder/Tools/ffmpeg/licenses/zlib.txt +++ /dev/null @@ -1,26 +0,0 @@ -/* zlib.h -- interface of the 'zlib' general purpose compression library - version 1.2.7, May 2nd, 2012 - - Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu - -*/ - diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index 7dc5693..71a30c3 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -142,127 +142,7 @@ PreserveNewest - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - + PreserveNewest diff --git a/Transcoder/tools/ffmpeg/LICENSE.txt b/Transcoder/tools/ffmpeg/LICENSE.txt index f288702..94a9ed0 100644 --- a/Transcoder/tools/ffmpeg/LICENSE.txt +++ b/Transcoder/tools/ffmpeg/LICENSE.txt @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/Transcoder/tools/ffmpeg/ffmpeg.exe b/Transcoder/tools/ffmpeg/ffmpeg.exe index 6d8c341..5d5ad26 100644 --- a/Transcoder/tools/ffmpeg/ffmpeg.exe +++ b/Transcoder/tools/ffmpeg/ffmpeg.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:26862c95209238b82f93ef2539e3b7310c8823a48fb6c79565d32168587e99ce -size 75596800 +oid sha256:e9fd5e711debab9d680955fc1e38a2c1160fd280b144476cc3f62bc43ef49db1 +size 81114624 From 8d0cb2ddcfbc7cb92c88f6da2fdd7b27ac57e950 Mon Sep 17 00:00:00 2001 From: nekno Date: Fri, 28 Apr 2023 01:46:25 -0500 Subject: [PATCH 21/30] qaac 2.79 --- Transcoder/Tools/qaac/qaac64.exe | 4 ++-- Transcoder/Tools/qaac/refalac64.exe | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Transcoder/Tools/qaac/qaac64.exe b/Transcoder/Tools/qaac/qaac64.exe index ebd0eb7..ad735c2 100644 --- a/Transcoder/Tools/qaac/qaac64.exe +++ b/Transcoder/Tools/qaac/qaac64.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e49ee71bfbea7624a0ced5b073f28c3c7325dff4796490cbfdeabcf1a0dc0d25 -size 2016768 +oid sha256:f35df0d2766bbcaecacbc474927f2ad0e09669126912ccda3768f8ffe6f9e744 +size 2276352 diff --git a/Transcoder/Tools/qaac/refalac64.exe b/Transcoder/Tools/qaac/refalac64.exe index 06753cf..4eae9fa 100644 --- a/Transcoder/Tools/qaac/refalac64.exe +++ b/Transcoder/Tools/qaac/refalac64.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b299c1d20ccac888c7a3defcd0406135dabf1ebbe995966f8e47ae401c0190c7 -size 1908224 +oid sha256:6438b4a62147ff4d48753349ef1040f3079996e44332ba28ea44ad33bb9f3bab +size 2190336 From f07f3aec2cf8f5e99e0ae811530807fc0e64bd49 Mon Sep 17 00:00:00 2001 From: nekno Date: Fri, 28 Apr 2023 01:49:15 -0500 Subject: [PATCH 22/30] libsndfile 1.2.0 --- Transcoder/Tools/qaac/libsndfile-1.dll | 3 --- Transcoder/Tools/qaac/sndfile.dll | 3 +++ Transcoder/Transcoder.csproj | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 Transcoder/Tools/qaac/libsndfile-1.dll create mode 100644 Transcoder/Tools/qaac/sndfile.dll diff --git a/Transcoder/Tools/qaac/libsndfile-1.dll b/Transcoder/Tools/qaac/libsndfile-1.dll deleted file mode 100644 index 4ce8f19..0000000 --- a/Transcoder/Tools/qaac/libsndfile-1.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:740dc79589813c83f5a6b8ea214b5c1031041881b4dc96703e295a7c04d09f5b -size 1748992 diff --git a/Transcoder/Tools/qaac/sndfile.dll b/Transcoder/Tools/qaac/sndfile.dll new file mode 100644 index 0000000..869ed53 --- /dev/null +++ b/Transcoder/Tools/qaac/sndfile.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1afa8b0d75f9f040da0348ca8a24eb220806bfb04027f04c16edd47251a4c73a +size 2538496 diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index 71a30c3..4cc06ae 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -154,9 +154,6 @@ PreserveNewest - - PreserveNewest - PreserveNewest @@ -169,6 +166,9 @@ PreserveNewest + + PreserveNewest + - - - - - - - - - - - - - - - Codestin Search App - - - - - - -
- - - -
- -
-
- license -
-
-
- FLAC is a free codec in the fullest sense. This page explicitly states all that you may do with the format and software.
-
- The FLAC and Ogg FLAC formats themselves, and their specifications, are fully open to the public to be used for any purpose (the FLAC project reserves the right to set the FLAC specification and certify compliance). They are free for commercial or noncommercial use. That means that commercial developers may independently write FLAC or Ogg FLAC software which is compatible with the specifications for no charge and without restrictions of any kind. There are no licensing fees or royalties of any kind for use of the formats or their specifications, or for distributing, selling, or streaming media in the FLAC or Ogg FLAC formats.
-
- The FLAC project also makes available software that implements the formats, which is distributed according to Open Source licenses as follows:
-
- The reference implementation libraries are licensed under the New BSD License. In simple terms, these libraries may be used by any application, Open or proprietary, linked or incorporated in whole, so long as acknowledgement is made to Xiph.org Foundation when using the source code in whole or in derived works. The Xiph License is free enough that the libraries have been used in commercial products to implement FLAC, including in the firmware of hardware devices where other Open Source licenses can be problematic. In the source code these libraries are called libFLAC and libFLAC++.
-
- The rest of the software that the FLAC project provides is licensed under the GNU General Public License (GPL). This software includes various utilities for converting files to and from FLAC format, plugins for audio players, et cetera. In general, the GPL allows redistribution as long as derived works are also made available in source code form according to compatible terms.
-
- Neither the FLAC nor Ogg FLAC formats nor any of the implemented encoding/decoding methods are covered by any known patent.
-
- FLAC is one of a family of codecs of the Xiph.org Foundation, all created according to the same free ideals. For some other codecs' descriptions of the Xiph License see the Speex and Vorbis license pages.
-
- If you would like to redistribute parts or all of FLAC under different terms, contact the FLAC-dev mailinglist. -
- -
- - - - - - diff --git a/Transcoder/Tools/qaac/libFLAC.dll b/Transcoder/Tools/qaac/libFLAC.dll new file mode 100644 index 0000000..09ab25b --- /dev/null +++ b/Transcoder/Tools/qaac/libFLAC.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc3dde4f0c59471afd60e7ebd1e33423acfbae4e62fb5994ff5a5d0f61ee6965 +size 417280 diff --git a/Transcoder/Tools/qaac/libFLAC_dynamic.dll b/Transcoder/Tools/qaac/libFLAC_dynamic.dll deleted file mode 100644 index 9e697d3..0000000 --- a/Transcoder/Tools/qaac/libFLAC_dynamic.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a454eb9dd2badbbfc6d70c24b9c55e7153919b0a55e1a202b3d63543d4994db -size 778752 diff --git a/Transcoder/Transcoder.csproj b/Transcoder/Transcoder.csproj index 4cc06ae..3aa0a36 100644 --- a/Transcoder/Transcoder.csproj +++ b/Transcoder/Transcoder.csproj @@ -121,9 +121,6 @@ PreserveNewest - - PreserveNewest - @@ -148,10 +145,7 @@ PreserveNewest - - PreserveNewest - - + PreserveNewest From b8a89bb94862a1830d29249889a4a1958e8603e0 Mon Sep 17 00:00:00 2001 From: nekno Date: Fri, 28 Apr 2023 02:18:53 -0500 Subject: [PATCH 25/30] v0.9.0 --- Transcoder/Properties/AssemblyInfo.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Transcoder/Properties/AssemblyInfo.cs b/Transcoder/Properties/AssemblyInfo.cs index 0ea226e..0b09168 100644 --- a/Transcoder/Properties/AssemblyInfo.cs +++ b/Transcoder/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Transcoder")] -[assembly: AssemblyCopyright("Copyright © 2016-2020 nekno")] +[assembly: AssemblyCopyright("Copyright © 2016-2023 nekno")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.8.0.0")] -[assembly: AssemblyFileVersion("0.8.0.0")] +[assembly: AssemblyVersion("0.9.0.0")] +[assembly: AssemblyFileVersion("0.9.0.0")] From 214726ac77f3dc276db3ddad66d0103524933419 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 24 Sep 2025 01:11:01 -0500 Subject: [PATCH 26/30] libFLAC.dll 1.5.0 Xiph.org --- Transcoder/Tools/qaac/libFLAC.dll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Transcoder/Tools/qaac/libFLAC.dll b/Transcoder/Tools/qaac/libFLAC.dll index 09ab25b..5779cdf 100644 --- a/Transcoder/Tools/qaac/libFLAC.dll +++ b/Transcoder/Tools/qaac/libFLAC.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bc3dde4f0c59471afd60e7ebd1e33423acfbae4e62fb5994ff5a5d0f61ee6965 -size 417280 +oid sha256:f93499172875fc2c0df80b57086f32e3f39e835283952ee2a59a3d4ffb097644 +size 522240 From 7675ad619a24206d51c331e7e701187489d065bb Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 24 Sep 2025 01:30:26 -0500 Subject: [PATCH 27/30] Clarify FFMPEG encoder/decoder --- Transcoder/MainForm.cs | 18 ++++++------ Transcoder/TranscoderFile.cs | 55 +++++++++++++++++++++--------------- 2 files changed, 42 insertions(+), 31 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index e4be836..423ab6d 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -51,16 +51,16 @@ void MainForm_Load(object sender, EventArgs e) "-=====Lossless Encoders=====-", "-=======Lossless Copies=====-", "-=========Decoders========-", - "-======Tracks/Regions======-", + "-=====Tracks / Regions=====-", }; encoderComboBox.Items.Insert(0, new { Name = names[0] }); - encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.QTALAC), new { Name = names[1] }); - encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.AudioCopy), new { Name = names[2] }); - encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.WAV), new { Name = names[3] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.QT_ALAC), new { Name = names[1] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.FFMPEG_AudioCopy), new { Name = names[2] }); + encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.FFMPEG_WAV), new { Name = names[3] }); encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.TracksCSV), new { Name = names[4] }); - encoderComboBox.SelectedItem = TranscoderFile.Type.QTAAC; + encoderComboBox.SelectedItem = TranscoderFile.Type.QT_AAC_CVBR; } void Control_DragEnter(object sender, DragEventArgs e) @@ -206,7 +206,7 @@ async void goButton_Click(object sender, EventArgs e) var outputFolder = outputTextbox.Text; TokenSource = new CancellationTokenSource(); - if (encoderType == TranscoderFile.Type.SplitInput) + if (encoderType == TranscoderFile.Type.FFMPEG_SplitInput) { var files = TranscoderFiles.ToList(); fileIdx = files.Count; @@ -290,9 +290,9 @@ await Task.Run(async () => } } - if (encoderType == TranscoderFile.Type.SplitInput) + if (encoderType == TranscoderFile.Type.FFMPEG_SplitInput) encoderType.FileExtension = Path.GetExtension(file.FileName); - else if (encoderType == TranscoderFile.Type.AudioCopy) + else if (encoderType == TranscoderFile.Type.FFMPEG_AudioCopy) encoderType.FileExtension = fileExtension; using (var decoder = new Process()) @@ -301,7 +301,7 @@ await Task.Run(async () => decoder.StartInfo = new ProcessStartInfo() { FileName = Path.Combine(Environment.CurrentDirectory, Encoder.FFMPEG.FilePath), - Arguments = String.Format("-i \"{0}\" -vn -f wav {1} -", file.FilePath, TranscoderFile.Type.WAV.BitDepthArgs(file.Stream.BitDepth)), + Arguments = String.Format("-i \"{0}\" -vn -f wav {1} -", file.FilePath, TranscoderFile.Type.FFMPEG_WAV.BitDepthArgs(file.Stream.BitDepth)), WindowStyle = ProcessWindowStyle.Hidden, CreateNoWindow = true, UseShellExecute = false, diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index 0665811..e45fc5d 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -12,15 +12,16 @@ public class TranscoderFile #region Static Fields public static Type[] Types = new Type[] { - Type.QTAAC, - Type.MP3CBR, - Type.MP3VBR, - Type.QTALAC, + Type.QT_AAC_CVBR, + Type.QT_AAC_TVBR, + Type.FFMPEG_MP3_CBR, + Type.FFMPEG_MP3_VBR, + Type.QT_ALAC, Type.FFMPEG_ALAC, - Type.FLAC, - Type.AudioCopy, - Type.SplitInput, - Type.WAV, + Type.FFMPEG_FLAC, + Type.FFMPEG_AudioCopy, + Type.FFMPEG_SplitInput, + Type.FFMPEG_WAV, Type.TracksCSV, Type.RegionsCSV, }; @@ -176,9 +177,9 @@ public class Type { #region Static Fields - public static Type AudioCopy = new Type() + public static Type FFMPEG_AudioCopy = new Type() { - Name = "Copy Audio", + Name = "FFMPEG Copy Audio", Encoder = Encoder.FFMPEG, CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a copy -movflags +faststart -y \"{2}\"", IsAudioCopy = true @@ -192,26 +193,26 @@ public class Type CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a alac -movflags +faststart -metadata:s:a gapless_playback=2 -y \"{2}\"" }; - public static Type FLAC = new Type() + public static Type FFMPEG_FLAC = new Type() { - Name = "FLAC", + Name = "FFMPEG FLAC", Encoder = Encoder.FFMPEG, FileExtension = ".flac", CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -y \"{2}\"" }; - public static Type MP3CBR = new Type() + public static Type FFMPEG_MP3_CBR = new Type() { - Name = "MP3 (CBR)", + Name = "FFMPEG MP3 (CBR)", Encoder = Encoder.FFMPEG, FileExtension = ".mp3", IsBitrateRequired = true, CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -c:a libmp3lame -b:a {1}k -y \"{2}\"" }; - public static Type MP3VBR = new Type() + public static Type FFMPEG_MP3_VBR = new Type() { - Name = "MP3 (VBR)", + Name = "FFMPEG MP3 (VBR)", Encoder = Encoder.FFMPEG, FileExtension = ".mp3", IsBitrateRequired = true, @@ -228,7 +229,7 @@ public class Type } }; - public static Type QTAAC = new Type() + public static Type QT_AAC_CVBR = new Type() { Name = "QuickTime AAC (CVBR)", Encoder = Encoder.QAAC, @@ -238,7 +239,17 @@ public class Type CommandLineArgsWithoutDecoding = "\"{0}\" --threading --gapless-mode 2 --copy-artwork -v{1} -o \"{2}\"" }; - public static Type QTALAC = new Type() + public static Type QT_AAC_TVBR = new Type() + { + Name = "QuickTime AAC (TVBR)", + Encoder = Encoder.QAAC, + FileExtension = ".m4a", + IsBitrateRequired = true, + CommandLineArgsWithDecoding = "- --threading --gapless-mode 2 --copy-artwork -V{1} -o \"{2}\"", + CommandLineArgsWithoutDecoding = "\"{0}\" --threading --gapless-mode 2 --copy-artwork -V{1} -o \"{2}\"" + }; + + public static Type QT_ALAC = new Type() { Name = "QuickTime ALAC", Encoder = Encoder.QAAC, @@ -254,9 +265,9 @@ public class Type FileExtension = ".csv" }; - public static Type SplitInput = new Type() + public static Type FFMPEG_SplitInput = new Type() { - Name = "Split Input File", + Name = "FFMPEG Split File from Tracks CSV / Chapters XML", Encoder = Encoder.FFMPEG, CommandLineArgsWithoutDecoding = "-i \"{0}\" -c copy -ss {4} -to {5} -y \"{2}\"" }; @@ -268,9 +279,9 @@ public class Type FileExtension = ".csv" }; - public static Type WAV = new Type() + public static Type FFMPEG_WAV = new Type() { - Name = "WAV", + Name = "FFMPEG WAV", Encoder = Encoder.FFMPEG, FileExtension = ".wav", CommandLineArgsWithoutDecoding = "-i \"{0}\" -vn -y {3} \"{2}\"", From 82a1de39c33f0d73ebdcd8d5043af9e25e211ad0 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 24 Sep 2025 01:34:55 -0500 Subject: [PATCH 28/30] Clarify Tracks CSV is an input/output format --- output Tracks CSV based on a sequence of files, then input a file and Tracks CSV to split the file. --- Transcoder/MainForm.cs | 2 +- Transcoder/Track.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 423ab6d..1d6dd60 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -410,7 +410,7 @@ await Task.Run(async () => { var totalDuration = new TimeSpan(); - writeCsv(Path.Combine(outputFolder, "Cutfile.csv"), (file, i, csvBuilder) => + writeCsv(Path.Combine(outputFolder, "Tracks.csv"), (file, i, csvBuilder) => { if (!String.IsNullOrEmpty(file.Stream.Duration)) { diff --git a/Transcoder/Track.cs b/Transcoder/Track.cs index ae29186..99e74e3 100644 --- a/Transcoder/Track.cs +++ b/Transcoder/Track.cs @@ -8,7 +8,7 @@ namespace Transcoder public class Track : IMediaSegment { public static String FileExtension = ".csv"; - public static String FileFilter = $"Comma Separated Values (*{FileExtension})|*{FileExtension}"; + public static String FileFilter = $"Tracks CSV (*{FileExtension})|*{FileExtension}"; public String EndTime { get; protected set; } public String Name { get; protected set; } public Int32 Number { get; protected set; } From 02443628ac56e1408be7255b6380e56d6c3d0928 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 24 Sep 2025 01:35:39 -0500 Subject: [PATCH 29/30] Set encoder combo box drop-down width based on contents --- Transcoder/MainForm.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index 1d6dd60..c6aa485 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -3,6 +3,7 @@ using System.ComponentModel; using System.Data; using System.Diagnostics; +using System.Drawing; using System.IO; using System.Linq; using System.Text; @@ -61,6 +62,8 @@ void MainForm_Load(object sender, EventArgs e) encoderComboBox.Items.Insert(encoderComboBox.Items.IndexOf(TranscoderFile.Type.TracksCSV), new { Name = names[4] }); encoderComboBox.SelectedItem = TranscoderFile.Type.QT_AAC_CVBR; + + setComboBoxDropDownWidth(encoderComboBox); } void Control_DragEnter(object sender, DragEventArgs e) @@ -456,6 +459,28 @@ await Task.Run(async () => setRunning(false); } + private void setComboBoxDropDownWidth(ComboBox senderComboBox) + { + int maxWidth = 0; + + using (Graphics g = senderComboBox.CreateGraphics()) + { + Font font = senderComboBox.Font; + int vertScrollBarWidth = (senderComboBox.Items.Count > senderComboBox.MaxDropDownItems) ? SystemInformation.VerticalScrollBarWidth : 0; + + foreach (object item in senderComboBox.Items) + { + string itemText = item.ToString(); // Or use DisplayMember if applicable + int itemWidth = (int)g.MeasureString(itemText, font).Width; + if (itemWidth > maxWidth) + { + maxWidth = itemWidth; + } + } + + senderComboBox.DropDownWidth = maxWidth + vertScrollBarWidth + 5; + } + } private String quoted(String str) { From 079cbcef755008faa926acad878891f9cd83fd41 Mon Sep 17 00:00:00 2001 From: nekno Date: Wed, 24 Sep 2025 01:36:37 -0500 Subject: [PATCH 30/30] Add sample rate conversion for sample count in Regions CSV output --- Transcoder/MainForm.Designer.cs | 182 ++++++++++++++++++-------------- Transcoder/MainForm.cs | 27 ++++- Transcoder/StreamInfo.cs | 14 ++- Transcoder/TranscoderFile.cs | 23 +++- 4 files changed, 162 insertions(+), 84 deletions(-) diff --git a/Transcoder/MainForm.Designer.cs b/Transcoder/MainForm.Designer.cs index ccda907..d1a1fed 100644 --- a/Transcoder/MainForm.Designer.cs +++ b/Transcoder/MainForm.Designer.cs @@ -29,9 +29,9 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); this.filesDataGridView = new System.Windows.Forms.DataGridView(); this.doneDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.fileDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -49,6 +49,8 @@ private void InitializeComponent() this.encoderComboBox = new System.Windows.Forms.ComboBox(); this.fileExtensionLabel = new System.Windows.Forms.Label(); this.fileExtensionTextBox = new System.Windows.Forms.TextBox(); + this.sampleRateLabel = new System.Windows.Forms.Label(); + this.sampleRateComboBox = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.filesDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.transcoderFileBindingSource)).BeginInit(); this.statusStrip.SuspendLayout(); @@ -59,47 +61,47 @@ private void InitializeComponent() // this.filesDataGridView.AllowUserToAddRows = false; this.filesDataGridView.AllowUserToOrderColumns = true; - this.filesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.filesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.filesDataGridView.AutoGenerateColumns = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.filesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.filesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; this.filesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.filesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.doneDataGridViewCheckBoxColumn, - this.fileDataGridViewTextBoxColumn, - this.folderDataGridViewTextBoxColumn, - this.filePathDataGridViewTextBoxColumn}); + this.doneDataGridViewCheckBoxColumn, + this.fileDataGridViewTextBoxColumn, + this.folderDataGridViewTextBoxColumn, + this.filePathDataGridViewTextBoxColumn}); this.filesDataGridView.DataSource = this.transcoderFileBindingSource; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.filesDataGridView.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.filesDataGridView.DefaultCellStyle = dataGridViewCellStyle5; this.filesDataGridView.Location = new System.Drawing.Point(16, 15); this.filesDataGridView.Margin = new System.Windows.Forms.Padding(4); this.filesDataGridView.Name = "filesDataGridView"; this.filesDataGridView.ReadOnly = true; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.filesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.filesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; this.filesDataGridView.RowHeadersWidth = 51; - this.filesDataGridView.Size = new System.Drawing.Size(1307, 703); + this.filesDataGridView.Size = new System.Drawing.Size(1450, 806); this.filesDataGridView.TabIndex = 0; // // doneDataGridViewCheckBoxColumn @@ -150,11 +152,11 @@ private void InitializeComponent() // goButton // this.goButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.goButton.Location = new System.Drawing.Point(1223, 727); + this.goButton.Location = new System.Drawing.Point(1366, 830); this.goButton.Margin = new System.Windows.Forms.Padding(4); this.goButton.Name = "goButton"; this.goButton.Size = new System.Drawing.Size(100, 28); - this.goButton.TabIndex = 1; + this.goButton.TabIndex = 7; this.goButton.Text = "&Go"; this.goButton.UseVisualStyleBackColor = true; this.goButton.Click += new System.EventHandler(this.goButton_Click); @@ -162,22 +164,22 @@ private void InitializeComponent() // outputTextbox // this.outputTextbox.AllowDrop = true; - this.outputTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.outputTextbox.Location = new System.Drawing.Point(76, 728); + this.outputTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.outputTextbox.Location = new System.Drawing.Point(68, 833); this.outputTextbox.Margin = new System.Windows.Forms.Padding(4); this.outputTextbox.Name = "outputTextbox"; - this.outputTextbox.Size = new System.Drawing.Size(533, 22); - this.outputTextbox.TabIndex = 2; + this.outputTextbox.Size = new System.Drawing.Size(537, 22); + this.outputTextbox.TabIndex = 1; // // outputBrowseButton // this.outputBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.outputBrowseButton.Location = new System.Drawing.Point(617, 727); + this.outputBrowseButton.Location = new System.Drawing.Point(613, 830); this.outputBrowseButton.Margin = new System.Windows.Forms.Padding(4); this.outputBrowseButton.Name = "outputBrowseButton"; this.outputBrowseButton.Size = new System.Drawing.Size(100, 28); - this.outputBrowseButton.TabIndex = 3; + this.outputBrowseButton.TabIndex = 2; this.outputBrowseButton.Text = "&Browse..."; this.outputBrowseButton.UseVisualStyleBackColor = true; this.outputBrowseButton.Click += new System.EventHandler(this.outputBrowseButton_Click); @@ -186,10 +188,10 @@ private void InitializeComponent() // this.outputLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.outputLabel.AutoSize = true; - this.outputLabel.Location = new System.Drawing.Point(12, 732); + this.outputLabel.Location = new System.Drawing.Point(12, 835); this.outputLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.outputLabel.Name = "outputLabel"; - this.outputLabel.Size = new System.Drawing.Size(55, 17); + this.outputLabel.Size = new System.Drawing.Size(48, 16); this.outputLabel.TabIndex = 4; this.outputLabel.Text = "Output:"; // @@ -197,18 +199,18 @@ private void InitializeComponent() // this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20); this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.statusLabel}); - this.statusStrip.Location = new System.Drawing.Point(0, 761); + this.statusLabel}); + this.statusStrip.Location = new System.Drawing.Point(0, 864); this.statusStrip.Name = "statusStrip"; this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0); - this.statusStrip.Size = new System.Drawing.Size(1339, 26); + this.statusStrip.Size = new System.Drawing.Size(1482, 26); this.statusStrip.TabIndex = 5; this.statusStrip.Text = "statusStrip1"; // // statusLabel // this.statusLabel.Name = "statusLabel"; - this.statusLabel.Size = new System.Drawing.Size(1319, 20); + this.statusLabel.Size = new System.Drawing.Size(1462, 20); this.statusLabel.Spring = true; this.statusLabel.Text = "Ready"; this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -217,10 +219,10 @@ private void InitializeComponent() // this.bitrateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bitrateLabel.AutoSize = true; - this.bitrateLabel.Location = new System.Drawing.Point(946, 732); + this.bitrateLabel.Location = new System.Drawing.Point(941, 836); this.bitrateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.bitrateLabel.Name = "bitrateLabel"; - this.bitrateLabel.Size = new System.Drawing.Size(53, 17); + this.bitrateLabel.Size = new System.Drawing.Size(48, 16); this.bitrateLabel.TabIndex = 7; this.bitrateLabel.Text = "Bitrate:"; // @@ -228,68 +230,92 @@ private void InitializeComponent() // this.bitrateNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bitrateNumericUpDown.Increment = new decimal(new int[] { - 32, - 0, - 0, - 0}); - this.bitrateNumericUpDown.Location = new System.Drawing.Point(1007, 729); + 32, + 0, + 0, + 0}); + this.bitrateNumericUpDown.Location = new System.Drawing.Point(997, 834); this.bitrateNumericUpDown.Margin = new System.Windows.Forms.Padding(4); this.bitrateNumericUpDown.Maximum = new decimal(new int[] { - 320, - 0, - 0, - 0}); + 320, + 0, + 0, + 0}); this.bitrateNumericUpDown.Minimum = new decimal(new int[] { - 64, - 0, - 0, - 0}); + 64, + 0, + 0, + 0}); this.bitrateNumericUpDown.Name = "bitrateNumericUpDown"; this.bitrateNumericUpDown.Size = new System.Drawing.Size(60, 22); - this.bitrateNumericUpDown.TabIndex = 8; + this.bitrateNumericUpDown.TabIndex = 4; this.bitrateNumericUpDown.Value = new decimal(new int[] { - 192, - 0, - 0, - 0}); + 192, + 0, + 0, + 0}); // // encoderComboBox // this.encoderComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.encoderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.encoderComboBox.FormattingEnabled = true; - this.encoderComboBox.Location = new System.Drawing.Point(725, 728); + this.encoderComboBox.Location = new System.Drawing.Point(721, 833); this.encoderComboBox.Margin = new System.Windows.Forms.Padding(4); this.encoderComboBox.Name = "encoderComboBox"; this.encoderComboBox.Size = new System.Drawing.Size(212, 24); - this.encoderComboBox.TabIndex = 9; + this.encoderComboBox.TabIndex = 3; this.encoderComboBox.SelectedIndexChanged += new System.EventHandler(this.encoderComboBox_SelectedIndexChanged); // // fileExtensionLabel // this.fileExtensionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.fileExtensionLabel.AutoSize = true; - this.fileExtensionLabel.Location = new System.Drawing.Point(1075, 731); + this.fileExtensionLabel.Location = new System.Drawing.Point(1224, 836); this.fileExtensionLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.fileExtensionLabel.Name = "fileExtensionLabel"; - this.fileExtensionLabel.Size = new System.Drawing.Size(73, 17); + this.fileExtensionLabel.Size = new System.Drawing.Size(68, 16); this.fileExtensionLabel.TabIndex = 10; this.fileExtensionLabel.Text = "Extension:"; // // fileExtensionTextBox // this.fileExtensionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.fileExtensionTextBox.Location = new System.Drawing.Point(1156, 728); + this.fileExtensionTextBox.Location = new System.Drawing.Point(1299, 833); this.fileExtensionTextBox.Name = "fileExtensionTextBox"; this.fileExtensionTextBox.Size = new System.Drawing.Size(60, 22); - this.fileExtensionTextBox.TabIndex = 11; + this.fileExtensionTextBox.TabIndex = 6; + // + // sampleRateLabel + // + this.sampleRateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.sampleRateLabel.AutoSize = true; + this.sampleRateLabel.Location = new System.Drawing.Point(1065, 836); + this.sampleRateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.sampleRateLabel.Name = "sampleRateLabel"; + this.sampleRateLabel.Size = new System.Drawing.Size(83, 16); + this.sampleRateLabel.TabIndex = 12; + this.sampleRateLabel.Text = "Sample rate:"; + // + // sampleRateComboBox + // + this.sampleRateComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.sampleRateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.sampleRateComboBox.FormattingEnabled = true; + this.sampleRateComboBox.Location = new System.Drawing.Point(1156, 833); + this.sampleRateComboBox.Margin = new System.Windows.Forms.Padding(4); + this.sampleRateComboBox.Name = "sampleRateComboBox"; + this.sampleRateComboBox.Size = new System.Drawing.Size(60, 24); + this.sampleRateComboBox.TabIndex = 5; // // MainForm // this.AllowDrop = true; this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1339, 787); + this.ClientSize = new System.Drawing.Size(1482, 890); + this.Controls.Add(this.sampleRateComboBox); + this.Controls.Add(this.sampleRateLabel); this.Controls.Add(this.fileExtensionTextBox); this.Controls.Add(this.fileExtensionLabel); this.Controls.Add(this.encoderComboBox); @@ -333,6 +359,8 @@ private void InitializeComponent() private System.Windows.Forms.ComboBox encoderComboBox; private System.Windows.Forms.Label fileExtensionLabel; private System.Windows.Forms.TextBox fileExtensionTextBox; + private System.Windows.Forms.Label sampleRateLabel; + private System.Windows.Forms.ComboBox sampleRateComboBox; } } diff --git a/Transcoder/MainForm.cs b/Transcoder/MainForm.cs index c6aa485..6bef826 100644 --- a/Transcoder/MainForm.cs +++ b/Transcoder/MainForm.cs @@ -149,6 +149,22 @@ void encoderComboBox_SelectedIndexChanged(object sender, EventArgs e) var selectedType = encoderComboBox.SelectedItem as TranscoderFile.Type; bitrateNumericUpDown.Enabled = selectedType.IsBitrateRequired; fileExtensionTextBox.Enabled = selectedType.IsAudioCopy; + + sampleRateComboBox.Items.Clear(); + + if (selectedType.IsSampleRateRequired) + { + sampleRateComboBox.DisplayMember = "Text"; + sampleRateComboBox.ValueMember = "Value"; + sampleRateComboBox.Items.AddRange(selectedType.SampleRates); + sampleRateComboBox.SelectedIndex = 0; + sampleRateComboBox.Enabled = true; + setComboBoxDropDownWidth(sampleRateComboBox); + } + else + { + sampleRateComboBox.Enabled = false; + } } async void goButton_Click(object sender, EventArgs e) @@ -205,6 +221,7 @@ async void goButton_Click(object sender, EventArgs e) var fileIdx = 0; var bitrate = Convert.ToInt32(bitrateNumericUpDown.Value); var encoderType = encoderComboBox.SelectedItem as TranscoderFile.Type; + var destinationSampleRate = sampleRateComboBox.SelectedItem as TranscoderFile.SampleRate; var fileExtension = fileExtensionTextBox.Text; var outputFolder = outputTextbox.Text; TokenSource = new CancellationTokenSource(); @@ -438,17 +455,19 @@ await Task.Run(async () => writeCsv(Path.Combine(outputFolder, "Regions.csv"), (file, i, csvBuilder) => { - if (file.Stream.Samples.HasValue) + if (file.Stream.Samples.HasValue && file.Stream.SampleRate.HasValue && !(destinationSampleRate is null)) { updateStatus(String.Format("Adding file to CSV {0}, {1}", i, file.FileName)); - csvBuilder.AppendLine(String.Join(",", (i + 1).ToString(), quoted(file.Stream.Title ?? Path.GetFileNameWithoutExtension(file.FileName)), totalSamples, file.Stream.Samples)); + var samples = file.Stream.Samples.Value * destinationSampleRate.Value / file.Stream.SampleRate.Value; + + csvBuilder.AppendLine(String.Join(",", (i + 1).ToString(), quoted(file.Stream.Title ?? Path.GetFileNameWithoutExtension(file.FileName)), totalSamples, samples)); - totalSamples += file.Stream.Samples.Value; + totalSamples += samples; } else { - updateStatus(String.Format("No sample count for file {0}, {1}. Skipping.", i, file.FileName)); + updateStatus(String.Format("No sample count or rate for file {0}, {1}. Skipping.", i, file.FileName)); } }); } diff --git a/Transcoder/StreamInfo.cs b/Transcoder/StreamInfo.cs index 1519046..83ed5ed 100644 --- a/Transcoder/StreamInfo.cs +++ b/Transcoder/StreamInfo.cs @@ -10,6 +10,7 @@ public class StreamInfo { public Int32? BitDepth { get; protected set; } public String Duration { get; protected set; } + public Int64? SampleRate { get; protected set; } public Int64? Samples { get; protected set; } public String Title { get; protected set; } @@ -23,7 +24,7 @@ public StreamInfo(String filePath) decoder.StartInfo = new ProcessStartInfo() { FileName = Path.Combine(Environment.CurrentDirectory, Encoder.FFPROBE.FilePath), - Arguments = String.Format("-sexagesimal -select_streams a -show_entries stream=bits_per_raw_sample,duration,duration_ts:format_tags=title -of flat \"{0}\"", filePath), + Arguments = String.Format("-sexagesimal -select_streams a -show_entries stream=bits_per_raw_sample,duration,duration_ts,sample_rate:format_tags=title -of flat \"{0}\"", filePath), WindowStyle = ProcessWindowStyle.Hidden, CreateNoWindow = true, UseShellExecute = false, @@ -51,10 +52,19 @@ public StreamInfo(String filePath) Duration = durationMatch.Groups[1].Value; } + var sampleRateMatch = Regex.Match(output, "^streams.stream.0.sample_rate=\"([\\d]+)\"\r?$", RegexOptions.Multiline); + if (sampleRateMatch.Success && sampleRateMatch.Groups.Count == 2) + { + if (Int64.TryParse(sampleRateMatch.Groups[1].Value, out Int64 sampleRateValue)) + { + SampleRate = sampleRateValue; + } + } + var samplesMatch = Regex.Match(output, "^streams.stream.0.duration_ts=([\\d]+)\r?$", RegexOptions.Multiline); if (samplesMatch.Success && samplesMatch.Groups.Count == 2) { - if (Int32.TryParse(samplesMatch.Groups[1].Value, out int samplesValue)) + if (Int64.TryParse(samplesMatch.Groups[1].Value, out Int64 samplesValue)) { Samples = samplesValue; } diff --git a/Transcoder/TranscoderFile.cs b/Transcoder/TranscoderFile.cs index e45fc5d..b3c8f8c 100644 --- a/Transcoder/TranscoderFile.cs +++ b/Transcoder/TranscoderFile.cs @@ -173,6 +173,15 @@ String GetSafeFileName(String fileName) #region Sub Types + public class SampleRate + { + public String Text { get; set; } + public Int64 Value { get; set; } + public override string ToString() + { + return Text; + } + } public class Type { #region Static Fields @@ -262,7 +271,17 @@ public class Type { Name = "Sound Forge Regions CSV", Encoder = Encoder.CSV, - FileExtension = ".csv" + FileExtension = ".csv", + IsSampleRateRequired = true, + SampleRates = new SampleRate[] + { + new SampleRate() { Text = "44.1 kHz", Value = 441000 }, + new SampleRate() { Text = " 48 kHz", Value = 48000 }, + new SampleRate() { Text = "88.2 kHz", Value = 88200 }, + new SampleRate() { Text = " 96 kHz", Value = 96000 }, + new SampleRate() { Text = " 192 kHz", Value = 192000 }, + new SampleRate() { Text = " 384 kHz", Value = 384000 } + } }; public static Type FFMPEG_SplitInput = new Type() @@ -302,6 +321,8 @@ public class Type public String FileExtension { get; set; } public Boolean IsAudioCopy { get; set; } public Boolean IsBitrateRequired { get; set; } + public Boolean IsSampleRateRequired { get; set; } + public SampleRate[] SampleRates { get; set; } = new SampleRate[] { }; public Boolean AllowsDecoding { get