mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Testing demo feature
This commit is contained in:
parent
cf224f1ddb
commit
10f2779c88
78
libse/AudioToText/PhocketSphinx/ResultReader.cs
Normal file
78
libse/AudioToText/PhocketSphinx/ResultReader.cs
Normal file
@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Core.AudioToText.PhocketSphinx
|
||||
{
|
||||
public class ResultReader
|
||||
{
|
||||
private List<string> _lines;
|
||||
|
||||
public ResultReader(Stream stream)
|
||||
{
|
||||
_lines = new List<string>(); ;
|
||||
using (var reader = new StreamReader(stream))
|
||||
{
|
||||
while (!reader.EndOfStream)
|
||||
{
|
||||
_lines.Add(reader.ReadLine());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public List<ResultText> Parse()
|
||||
{
|
||||
var list = new List<ResultText>();
|
||||
bool textOn = false;
|
||||
string[] texts = string.Empty.Split();
|
||||
int textCount = 0;
|
||||
foreach (var line in _lines)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(line))
|
||||
continue;
|
||||
|
||||
if (!textOn && !line.StartsWith('<') && !line.StartsWith('['))
|
||||
{
|
||||
textOn = true;
|
||||
var text = line;
|
||||
texts = text.Split();
|
||||
textCount = 0;
|
||||
}
|
||||
else if (textOn)
|
||||
{
|
||||
if (!line.StartsWith('<') && !line.StartsWith('['))
|
||||
{
|
||||
var parts = line.Split();
|
||||
if (parts.Length == 4)
|
||||
{
|
||||
textCount++;
|
||||
if (texts.Contains(parts[0]) || parts[0].Contains(")"))
|
||||
{
|
||||
try
|
||||
{
|
||||
var t = parts[0];
|
||||
var start = double.Parse(parts[1]);
|
||||
var end = double.Parse(parts[2]);
|
||||
var confidence = double.Parse(parts[3]);
|
||||
list.Add(new ResultText { Text = t, Start = start, End = end, Confidence = confidence });
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (textCount >= texts.Length)
|
||||
{
|
||||
textOn = false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
30
libse/AudioToText/PhocketSphinx/SubtitleGenerator.cs
Normal file
30
libse/AudioToText/PhocketSphinx/SubtitleGenerator.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Nikse.SubtitleEdit.Core.Forms;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Core.AudioToText.PhocketSphinx
|
||||
{
|
||||
public class SubtitleGenerator
|
||||
{
|
||||
private readonly List<ResultText> _resultTexts;
|
||||
|
||||
public SubtitleGenerator(List<ResultText> resultTexts)
|
||||
{
|
||||
_resultTexts = resultTexts;
|
||||
}
|
||||
|
||||
public Subtitle Generate()
|
||||
{
|
||||
var subtitle = new Subtitle();
|
||||
var currentList = new List<ResultText>();
|
||||
foreach (var resultText in _resultTexts)
|
||||
{
|
||||
subtitle.Paragraphs.Add(new Paragraph(resultText.Text, resultText.Start * 1000.0, resultText.End * 1000.0));
|
||||
}
|
||||
//SplitLongLinesHelper.SplitLongLinesInSubtitle()
|
||||
return subtitle;
|
||||
}
|
||||
}
|
||||
}
|
12
libse/AudioToText/ResultText.cs
Normal file
12
libse/AudioToText/ResultText.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Core.AudioToText.PhocketSphinx
|
||||
{
|
||||
public class ResultText
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public double Start { get; set; }
|
||||
public double End { get; set; }
|
||||
public double Confidence { get; set; }
|
||||
}
|
||||
}
|
@ -40,6 +40,9 @@
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AudioToText\PhocketSphinx\ResultReader.cs" />
|
||||
<Compile Include="AudioToText\PhocketSphinx\SubtitleGenerator.cs" />
|
||||
<Compile Include="AudioToText\ResultText.cs" />
|
||||
<Compile Include="BluRaySup\BluRaySupPalette.cs" />
|
||||
<Compile Include="BluRaySup\BluRaySupParser.cs" />
|
||||
<Compile Include="BluRaySup\BluRaySupPicture.cs" />
|
||||
@ -576,6 +579,7 @@
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\NetflixAllowedGlyphs.bin.gz" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="BeforeCompile">
|
||||
<Exec Command="%22$(SolutionDir)..\build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||
|
158
src/Forms/AudioToText.Designer.cs
generated
Normal file
158
src/Forms/AudioToText.Designer.cs
generated
Normal file
@ -0,0 +1,158 @@
|
||||
namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
partial class AudioToText
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.buttonOK = new System.Windows.Forms.Button();
|
||||
this.buttonCancel = new System.Windows.Forms.Button();
|
||||
this.labelStatus = new System.Windows.Forms.Label();
|
||||
this.textBoxLog = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBoxOutput = new System.Windows.Forms.TextBox();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonOK
|
||||
//
|
||||
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonOK.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.buttonOK.Location = new System.Drawing.Point(518, 315);
|
||||
this.buttonOK.Name = "buttonOK";
|
||||
this.buttonOK.Size = new System.Drawing.Size(75, 21);
|
||||
this.buttonOK.TabIndex = 4;
|
||||
this.buttonOK.Text = "&OK";
|
||||
this.buttonOK.UseVisualStyleBackColor = true;
|
||||
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.buttonCancel.Location = new System.Drawing.Point(602, 315);
|
||||
this.buttonCancel.Name = "buttonCancel";
|
||||
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
|
||||
this.buttonCancel.TabIndex = 5;
|
||||
this.buttonCancel.Text = "C&ancel";
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
||||
//
|
||||
// labelStatus
|
||||
//
|
||||
this.labelStatus.AutoSize = true;
|
||||
this.labelStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelStatus.Location = new System.Drawing.Point(244, 40);
|
||||
this.labelStatus.Name = "labelStatus";
|
||||
this.labelStatus.Size = new System.Drawing.Size(41, 13);
|
||||
this.labelStatus.TabIndex = 8;
|
||||
this.labelStatus.Text = "label1";
|
||||
//
|
||||
// textBoxLog
|
||||
//
|
||||
this.textBoxLog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxLog.Location = new System.Drawing.Point(26, 67);
|
||||
this.textBoxLog.Multiline = true;
|
||||
this.textBoxLog.Name = "textBoxLog";
|
||||
this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textBoxLog.Size = new System.Drawing.Size(651, 88);
|
||||
this.textBoxLog.TabIndex = 9;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(23, 51);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(25, 13);
|
||||
this.label1.TabIndex = 10;
|
||||
this.label1.Text = "Log";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(23, 175);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(39, 13);
|
||||
this.label2.TabIndex = 12;
|
||||
this.label2.Text = "Output";
|
||||
//
|
||||
// textBoxOutput
|
||||
//
|
||||
this.textBoxOutput.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.textBoxOutput.Location = new System.Drawing.Point(26, 191);
|
||||
this.textBoxOutput.Multiline = true;
|
||||
this.textBoxOutput.Name = "textBoxOutput";
|
||||
this.textBoxOutput.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textBoxOutput.Size = new System.Drawing.Size(651, 106);
|
||||
this.textBoxOutput.TabIndex = 11;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.progressBar1.Location = new System.Drawing.Point(26, 13);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(651, 23);
|
||||
this.progressBar1.TabIndex = 13;
|
||||
//
|
||||
// AudioToText
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(689, 348);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.textBoxOutput);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.textBoxLog);
|
||||
this.Controls.Add(this.labelStatus);
|
||||
this.Controls.Add(this.buttonOK);
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Name = "AudioToText";
|
||||
this.Text = "AudioToText";
|
||||
this.Load += new System.EventHandler(this.AudioToText_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button buttonOK;
|
||||
private System.Windows.Forms.Button buttonCancel;
|
||||
private System.Windows.Forms.Label labelStatus;
|
||||
private System.Windows.Forms.TextBox textBoxLog;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox textBoxOutput;
|
||||
private System.Windows.Forms.ProgressBar progressBar1;
|
||||
}
|
||||
}
|
273
src/Forms/AudioToText.cs
Normal file
273
src/Forms/AudioToText.cs
Normal file
@ -0,0 +1,273 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using Nikse.SubtitleEdit.Core;
|
||||
using Nikse.SubtitleEdit.Core.AudioToText.PhocketSphinx;
|
||||
using Nikse.SubtitleEdit.Core.ContainerFormats.Matroska;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
public partial class AudioToText : Form
|
||||
{
|
||||
public Subtitle Subtitle { get; set; }
|
||||
private readonly string _videoFileName;
|
||||
private int _delayInMilliseconds;
|
||||
private bool _abort;
|
||||
private string _waveFileName;
|
||||
private readonly BackgroundWorker _backgroundWorker;
|
||||
|
||||
private static readonly StringBuilder Output = new StringBuilder();
|
||||
private static readonly StringBuilder Error = new StringBuilder();
|
||||
|
||||
|
||||
public AudioToText(string videoFileName)
|
||||
{
|
||||
InitializeComponent();
|
||||
_videoFileName = videoFileName;
|
||||
_backgroundWorker = new BackgroundWorker();
|
||||
}
|
||||
|
||||
public static Process GetCommandLineProcess(string inputVideoFile, int audioTrackNumber, string outWaveFile, string encodeParamters, out string encoderName)
|
||||
{
|
||||
encoderName = "FFmpeg";
|
||||
string audioParameter = string.Empty;
|
||||
if (audioTrackNumber > 0)
|
||||
audioParameter = $"-map 0:a:{audioTrackNumber}";
|
||||
|
||||
const string fFmpegWaveTranscodeSettings = "-i \"{0}\" -acodec pcm_s16le -ac 1 -ar 16000 {2} \"{1}\"";
|
||||
//-i indicates the input
|
||||
//-ac 1 means 1 channel (mono)
|
||||
|
||||
|
||||
string exeFilePath = Configuration.Settings.General.FFmpegLocation;
|
||||
string parameters = string.Format(fFmpegWaveTranscodeSettings, inputVideoFile, outWaveFile, audioParameter);
|
||||
return new Process { StartInfo = new ProcessStartInfo(exeFilePath, parameters) { WindowStyle = ProcessWindowStyle.Hidden } };
|
||||
}
|
||||
|
||||
|
||||
private void ExtractAudio()
|
||||
{
|
||||
try
|
||||
{
|
||||
_waveFileName = Path.Combine(Path.GetTempPath(), Guid.NewGuid() + ".wav");
|
||||
Process process;
|
||||
try
|
||||
{
|
||||
process = GetCommandLineProcess(_videoFileName, -1, _waveFileName, Configuration.Settings.General.VlcWaveTranscodeSettings, out _);
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
{
|
||||
if (MessageBox.Show(Configuration.Settings.Language.AddWaveform.VlcMediaPlayerNotFound + Environment.NewLine +
|
||||
Environment.NewLine + Configuration.Settings.Language.AddWaveform.GoToVlcMediaPlayerHomePage,
|
||||
Configuration.Settings.Language.AddWaveform.VlcMediaPlayerNotFoundTitle,
|
||||
MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
Process.Start("http://www.videolan.org/");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
process.Start();
|
||||
while (!process.HasExited && !_abort)
|
||||
{
|
||||
Application.DoEvents();
|
||||
}
|
||||
|
||||
// check for delay in matroska files
|
||||
var mkvAudioTrackNumbers = new Dictionary<int, int>();
|
||||
if (_videoFileName.ToLower().EndsWith(".mkv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
MatroskaFile matroska = null;
|
||||
try
|
||||
{
|
||||
matroska = new MatroskaFile(_videoFileName);
|
||||
|
||||
if (matroska.IsValid)
|
||||
{
|
||||
foreach (var track in matroska.GetTracks())
|
||||
{
|
||||
if (track.IsAudio)
|
||||
{
|
||||
var audioTrackNames = new List<string>();
|
||||
if (track.CodecId != null && track.Language != null)
|
||||
audioTrackNames.Add("#" + track.TrackNumber + ": " + track.CodecId.Replace("\0", string.Empty) + " - " + track.Language.Replace("\0", string.Empty));
|
||||
else
|
||||
audioTrackNames.Add("#" + track.TrackNumber);
|
||||
mkvAudioTrackNumbers.Add(mkvAudioTrackNumbers.Count, track.TrackNumber);
|
||||
}
|
||||
}
|
||||
if (mkvAudioTrackNumbers.Count > 0)
|
||||
{
|
||||
_delayInMilliseconds = (int)matroska.GetTrackStartTime(mkvAudioTrackNumbers[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
_delayInMilliseconds = 0;
|
||||
}
|
||||
finally
|
||||
{
|
||||
matroska?.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
MessageBox.Show(exception.Message);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private string ExtractTextFromAudio(string targetFile, int delayInMilliseconds)
|
||||
{
|
||||
var path = Path.Combine(Configuration.DataDirectory, "pocketsphinx");
|
||||
var fileName = Path.Combine(path, "bin", "Release", "Win32", "pocketsphinx_continuous.exe");
|
||||
// var fileName = Path.Combine(path, "bin", "Release", "x64", "pocketsphinx_continuous.exe");
|
||||
var hmm = Path.Combine(path, "model", "en-us", "en-us");
|
||||
var lm = Path.Combine(path, "model", "en-us", "en-us.lm.bin");
|
||||
var dict = Path.Combine(path, "model", "en-us", "cmudict-en-us.dict");
|
||||
var pocketPhinxParams = $"-infile \"{targetFile}\" -hmm \"{hmm}\" -lm \"{lm}\" -dict \"{dict}\" -time yes"; // > \"{_resultFile}\"";
|
||||
|
||||
var process = new Process { StartInfo = new ProcessStartInfo(fileName, pocketPhinxParams) { CreateNoWindow = true, WindowStyle = ProcessWindowStyle.Hidden } };
|
||||
process.StartInfo.RedirectStandardOutput = true;
|
||||
process.StartInfo.RedirectStandardError = true;
|
||||
process.StartInfo.UseShellExecute = false;
|
||||
using (AutoResetEvent outputWaitHandle = new AutoResetEvent(false))
|
||||
using (AutoResetEvent errorWaitHandle = new AutoResetEvent(false))
|
||||
{
|
||||
process.OutputDataReceived += (sender, e) =>
|
||||
{
|
||||
if (e.Data == null)
|
||||
{
|
||||
outputWaitHandle.Set();
|
||||
}
|
||||
else
|
||||
{
|
||||
Output.AppendLine(e.Data);
|
||||
}
|
||||
};
|
||||
process.ErrorDataReceived += (sender, e) =>
|
||||
{
|
||||
if (e.Data == null)
|
||||
{
|
||||
errorWaitHandle.Set();
|
||||
}
|
||||
else
|
||||
{
|
||||
Error.AppendLine(e.Data);
|
||||
}
|
||||
};
|
||||
|
||||
process.Start();
|
||||
|
||||
process.BeginOutputReadLine();
|
||||
process.BeginErrorReadLine();
|
||||
var timeout = 1000 * 60 * 60; //60 min timeout
|
||||
|
||||
if (process.WaitForExit(timeout) &&
|
||||
outputWaitHandle.WaitOne(timeout) &&
|
||||
errorWaitHandle.WaitOne(timeout))
|
||||
{
|
||||
//Console.WriteLine("Done");
|
||||
// Process completed. Check process.ExitCode here.
|
||||
}
|
||||
else
|
||||
{
|
||||
// Console.WriteLine("Timeout");
|
||||
// Timed out.
|
||||
}
|
||||
}
|
||||
return Output.ToString();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var fileName = @"E:\PocketSphinx\pocketsphinx\a.txt";
|
||||
using (var s = new FileStream(fileName, FileMode.Open))
|
||||
{
|
||||
var reader = new ResultReader(s);
|
||||
var results = reader.Parse();
|
||||
var subtitleGenerator = new SubtitleGenerator(results);
|
||||
Subtitle = subtitleGenerator.Generate();
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
public static Stream GenerateStreamFromString(string s)
|
||||
{
|
||||
var stream = new MemoryStream();
|
||||
var writer = new StreamWriter(stream);
|
||||
writer.Write(s);
|
||||
writer.Flush();
|
||||
stream.Position = 0;
|
||||
return stream;
|
||||
}
|
||||
|
||||
private Subtitle Start(string videoFileName)
|
||||
{
|
||||
//labelStatus.Text = "Extracting audio from video...";
|
||||
ExtractAudio();
|
||||
Subtitle subtitle = new Subtitle();
|
||||
|
||||
var result = ExtractTextFromAudio(_waveFileName, _delayInMilliseconds);
|
||||
using (var stream = GenerateStreamFromString(result))
|
||||
{
|
||||
var reader = new ResultReader(stream);
|
||||
var results = reader.Parse();
|
||||
var subtitleGenerator = new SubtitleGenerator(results);
|
||||
subtitle = subtitleGenerator.Generate();
|
||||
}
|
||||
|
||||
// cleanup
|
||||
try
|
||||
{
|
||||
File.Delete(_waveFileName);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// don't show error about unsuccessful delete
|
||||
}
|
||||
|
||||
return subtitle;
|
||||
}
|
||||
|
||||
private void AudioToText_Load(object sender, EventArgs e)
|
||||
{
|
||||
_backgroundWorker.DoWork += _backgroundWorker_DoWork;
|
||||
_backgroundWorker.RunWorkerCompleted += _backgroundWorker_RunWorkerCompleted;
|
||||
_backgroundWorker.RunWorkerAsync(_videoFileName);
|
||||
progressBar1.Style = ProgressBarStyle.Marquee;
|
||||
progressBar1.Visible = true;
|
||||
labelStatus.Text = "Extracting text from video - this will take a while...";
|
||||
}
|
||||
|
||||
private void _backgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
{
|
||||
Subtitle = (Subtitle)e.Result;
|
||||
labelStatus.Text = "Done extracing text from video.";
|
||||
textBoxOutput.Text = Output.ToString();
|
||||
textBoxLog.Text = Error.ToString();
|
||||
progressBar1.Visible = false;
|
||||
}
|
||||
|
||||
private void _backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
e.Result = Start((string)e.Argument);
|
||||
}
|
||||
}
|
||||
}
|
120
src/Forms/AudioToText.resx
Normal file
120
src/Forms/AudioToText.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
486
src/Forms/Main.Designer.cs
generated
486
src/Forms/Main.Designer.cs
generated
@ -274,6 +274,8 @@
|
||||
this.toolStripMenuItemColumnImportText = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItemPasteSpecial = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.copyOriginalTextToCurrentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.moveTextUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.moveTextDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.splitLineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItemMergeLines = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@ -311,6 +313,7 @@
|
||||
this.fontDialog1 = new System.Windows.Forms.FontDialog();
|
||||
this.groupBoxVideo = new System.Windows.Forms.GroupBox();
|
||||
this.labelNextWord = new System.Windows.Forms.Label();
|
||||
this.audioVisualizer = new Nikse.SubtitleEdit.Controls.AudioVisualizer();
|
||||
this.checkBoxSyncListViewWithVideoWhilePlaying = new System.Windows.Forms.CheckBox();
|
||||
this.labelVideoInfo = new System.Windows.Forms.Label();
|
||||
this.trackBarWaveformPosition = new System.Windows.Forms.TrackBar();
|
||||
@ -350,6 +353,7 @@
|
||||
this.buttonPlayCurrent = new System.Windows.Forms.Button();
|
||||
this.buttonPlayNext = new System.Windows.Forms.Button();
|
||||
this.tabPageCreate = new System.Windows.Forms.TabPage();
|
||||
this.timeUpDownVideoPosition = new Nikse.SubtitleEdit.Controls.TimeUpDown();
|
||||
this.buttonGotoSub = new System.Windows.Forms.Button();
|
||||
this.buttonBeforeText = new System.Windows.Forms.Button();
|
||||
this.buttonSetEnd = new System.Windows.Forms.Button();
|
||||
@ -386,6 +390,7 @@
|
||||
this.labelVideoPosition2 = new System.Windows.Forms.Label();
|
||||
this.buttonAdjustGoToPosAndPause = new System.Windows.Forms.Button();
|
||||
this.buttonAdjustPlayBefore = new System.Windows.Forms.Button();
|
||||
this.timeUpDownVideoPositionAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown();
|
||||
this.ShowSubtitleTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.timerAutoDuration = new System.Windows.Forms.Timer(this.components);
|
||||
this.timerAutoContinue = new System.Windows.Forms.Timer(this.components);
|
||||
@ -416,6 +421,7 @@
|
||||
this.tabControlSubtitle = new System.Windows.Forms.TabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.splitContainerListViewAndText = new System.Windows.Forms.SplitContainer();
|
||||
this.SubtitleListview1 = new Nikse.SubtitleEdit.Controls.SubtitleListView();
|
||||
this.groupBoxEdit = new System.Windows.Forms.GroupBox();
|
||||
this.labelSingleLine = new System.Windows.Forms.Label();
|
||||
this.labelAlternateSingleLine = new System.Windows.Forms.Label();
|
||||
@ -427,6 +433,7 @@
|
||||
this.labelTextAlternateLineLengths = new System.Windows.Forms.Label();
|
||||
this.labelAlternateText = new System.Windows.Forms.Label();
|
||||
this.labelText = new System.Windows.Forms.Label();
|
||||
this.textBoxListViewTextAlternate = new Nikse.SubtitleEdit.Controls.SETextBox();
|
||||
this.contextMenuStripTextBoxListView = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.toolStripMenuItemWebVttVoice = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparatorWebVTT = new System.Windows.Forms.ToolStripSeparator();
|
||||
@ -460,30 +467,24 @@
|
||||
this.labelTextLineTotal = new System.Windows.Forms.Label();
|
||||
this.labelCharactersPerSecond = new System.Windows.Forms.Label();
|
||||
this.buttonUnBreak = new System.Windows.Forms.Button();
|
||||
this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown();
|
||||
this.numericUpDownDuration = new System.Windows.Forms.NumericUpDown();
|
||||
this.buttonPrevious = new System.Windows.Forms.Button();
|
||||
this.buttonNext = new System.Windows.Forms.Button();
|
||||
this.labelStartTime = new System.Windows.Forms.Label();
|
||||
this.textBoxListViewText = new Nikse.SubtitleEdit.Controls.SETextBox();
|
||||
this.labelDuration = new System.Windows.Forms.Label();
|
||||
this.labelAutoDuration = new System.Windows.Forms.Label();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.textBoxSource = new System.Windows.Forms.TextBox();
|
||||
this.panelVideoPlayer = new System.Windows.Forms.Panel();
|
||||
this.mediaPlayer = new Nikse.SubtitleEdit.Controls.VideoPlayerContainer();
|
||||
this.contextMenuStripEmpty = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.insertLineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.imageListPlayRate = new System.Windows.Forms.ImageList(this.components);
|
||||
this.timerTextUndo = new System.Windows.Forms.Timer(this.components);
|
||||
this.timerAlternateTextUndo = new System.Windows.Forms.Timer(this.components);
|
||||
this.moveTextUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.moveTextDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.SubtitleListview1 = new Nikse.SubtitleEdit.Controls.SubtitleListView();
|
||||
this.textBoxListViewTextAlternate = new Nikse.SubtitleEdit.Controls.SETextBox();
|
||||
this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown();
|
||||
this.textBoxListViewText = new Nikse.SubtitleEdit.Controls.SETextBox();
|
||||
this.mediaPlayer = new Nikse.SubtitleEdit.Controls.VideoPlayerContainer();
|
||||
this.audioVisualizer = new Nikse.SubtitleEdit.Controls.AudioVisualizer();
|
||||
this.timeUpDownVideoPosition = new Nikse.SubtitleEdit.Controls.TimeUpDown();
|
||||
this.timeUpDownVideoPositionAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown();
|
||||
this.generateTextFromCurrentVideoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
@ -2017,6 +2018,7 @@
|
||||
this.toolStripMenuItemImportSceneChanges,
|
||||
this.toolStripMenuItemRemoveSceneChanges,
|
||||
this.toolStripMenuItemAddWaveformBatch,
|
||||
this.generateTextFromCurrentVideoToolStripMenuItem,
|
||||
this.toolStripSeparator5,
|
||||
this.showhideWaveformToolStripMenuItem,
|
||||
this.showhideVideoToolStripMenuItem,
|
||||
@ -2032,107 +2034,107 @@
|
||||
// openVideoToolStripMenuItem
|
||||
//
|
||||
this.openVideoToolStripMenuItem.Name = "openVideoToolStripMenuItem";
|
||||
this.openVideoToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.openVideoToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.openVideoToolStripMenuItem.Text = "Open video...";
|
||||
this.openVideoToolStripMenuItem.Click += new System.EventHandler(this.buttonOpenVideo_Click);
|
||||
//
|
||||
// toolStripMenuItemOpenVideoFromUrl
|
||||
//
|
||||
this.toolStripMenuItemOpenVideoFromUrl.Name = "toolStripMenuItemOpenVideoFromUrl";
|
||||
this.toolStripMenuItemOpenVideoFromUrl.Size = new System.Drawing.Size(224, 22);
|
||||
this.toolStripMenuItemOpenVideoFromUrl.Size = new System.Drawing.Size(257, 22);
|
||||
this.toolStripMenuItemOpenVideoFromUrl.Text = "Open video from url...";
|
||||
this.toolStripMenuItemOpenVideoFromUrl.Click += new System.EventHandler(this.toolStripMenuItemOpenVideoFromUrl_Click);
|
||||
//
|
||||
// toolStripMenuItemOpenDvd
|
||||
//
|
||||
this.toolStripMenuItemOpenDvd.Name = "toolStripMenuItemOpenDvd";
|
||||
this.toolStripMenuItemOpenDvd.Size = new System.Drawing.Size(224, 22);
|
||||
this.toolStripMenuItemOpenDvd.Size = new System.Drawing.Size(257, 22);
|
||||
this.toolStripMenuItemOpenDvd.Text = "Open DVD...";
|
||||
this.toolStripMenuItemOpenDvd.Click += new System.EventHandler(this.toolStripMenuItemOpenDvd_Click);
|
||||
//
|
||||
// toolStripMenuItemSetAudioTrack
|
||||
//
|
||||
this.toolStripMenuItemSetAudioTrack.Name = "toolStripMenuItemSetAudioTrack";
|
||||
this.toolStripMenuItemSetAudioTrack.Size = new System.Drawing.Size(224, 22);
|
||||
this.toolStripMenuItemSetAudioTrack.Size = new System.Drawing.Size(257, 22);
|
||||
this.toolStripMenuItemSetAudioTrack.Text = "Choose audio track";
|
||||
//
|
||||
// closeVideoToolStripMenuItem
|
||||
//
|
||||
this.closeVideoToolStripMenuItem.Name = "closeVideoToolStripMenuItem";
|
||||
this.closeVideoToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.closeVideoToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.closeVideoToolStripMenuItem.Text = "Close video";
|
||||
this.closeVideoToolStripMenuItem.Click += new System.EventHandler(this.CloseVideoToolStripMenuItemClick);
|
||||
//
|
||||
// setVideoOffsetToolStripMenuItem
|
||||
//
|
||||
this.setVideoOffsetToolStripMenuItem.Name = "setVideoOffsetToolStripMenuItem";
|
||||
this.setVideoOffsetToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.setVideoOffsetToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.setVideoOffsetToolStripMenuItem.Text = "Set video offset...";
|
||||
this.setVideoOffsetToolStripMenuItem.Click += new System.EventHandler(this.setVideoOffsetToolStripMenuItem_Click);
|
||||
//
|
||||
// smpteTimeModedropFrameToolStripMenuItem
|
||||
//
|
||||
this.smpteTimeModedropFrameToolStripMenuItem.Name = "smpteTimeModedropFrameToolStripMenuItem";
|
||||
this.smpteTimeModedropFrameToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.smpteTimeModedropFrameToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.smpteTimeModedropFrameToolStripMenuItem.Text = "SMPTE timing (drop frame)";
|
||||
this.smpteTimeModedropFrameToolStripMenuItem.Click += new System.EventHandler(this.SmpteTimeModedropFrameToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItemImportSceneChanges
|
||||
//
|
||||
this.toolStripMenuItemImportSceneChanges.Name = "toolStripMenuItemImportSceneChanges";
|
||||
this.toolStripMenuItemImportSceneChanges.Size = new System.Drawing.Size(224, 22);
|
||||
this.toolStripMenuItemImportSceneChanges.Size = new System.Drawing.Size(257, 22);
|
||||
this.toolStripMenuItemImportSceneChanges.Text = "Import scene changes...";
|
||||
this.toolStripMenuItemImportSceneChanges.Click += new System.EventHandler(this.toolStripMenuItemImportSceneChanges_Click);
|
||||
//
|
||||
// toolStripMenuItemRemoveSceneChanges
|
||||
//
|
||||
this.toolStripMenuItemRemoveSceneChanges.Name = "toolStripMenuItemRemoveSceneChanges";
|
||||
this.toolStripMenuItemRemoveSceneChanges.Size = new System.Drawing.Size(224, 22);
|
||||
this.toolStripMenuItemRemoveSceneChanges.Size = new System.Drawing.Size(257, 22);
|
||||
this.toolStripMenuItemRemoveSceneChanges.Text = "Remove scene changes";
|
||||
this.toolStripMenuItemRemoveSceneChanges.Click += new System.EventHandler(this.toolStripMenuItemRemoveSceneChanges_Click);
|
||||
//
|
||||
// toolStripMenuItemAddWaveformBatch
|
||||
//
|
||||
this.toolStripMenuItemAddWaveformBatch.Name = "toolStripMenuItemAddWaveformBatch";
|
||||
this.toolStripMenuItemAddWaveformBatch.Size = new System.Drawing.Size(224, 22);
|
||||
this.toolStripMenuItemAddWaveformBatch.Size = new System.Drawing.Size(257, 22);
|
||||
this.toolStripMenuItemAddWaveformBatch.Text = "Add waveform batch...";
|
||||
this.toolStripMenuItemAddWaveformBatch.Click += new System.EventHandler(this.ToolStripMenuItemAddWaveformBatchClick);
|
||||
//
|
||||
// toolStripSeparator5
|
||||
//
|
||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||
this.toolStripSeparator5.Size = new System.Drawing.Size(221, 6);
|
||||
this.toolStripSeparator5.Size = new System.Drawing.Size(254, 6);
|
||||
//
|
||||
// showhideWaveformToolStripMenuItem
|
||||
//
|
||||
this.showhideWaveformToolStripMenuItem.Name = "showhideWaveformToolStripMenuItem";
|
||||
this.showhideWaveformToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.showhideWaveformToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.showhideWaveformToolStripMenuItem.Text = "Show/hide waveform";
|
||||
this.showhideWaveformToolStripMenuItem.Click += new System.EventHandler(this.ShowhideWaveformToolStripMenuItemClick);
|
||||
//
|
||||
// showhideVideoToolStripMenuItem
|
||||
//
|
||||
this.showhideVideoToolStripMenuItem.Name = "showhideVideoToolStripMenuItem";
|
||||
this.showhideVideoToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.showhideVideoToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.showhideVideoToolStripMenuItem.Text = "Show/hide video";
|
||||
this.showhideVideoToolStripMenuItem.Click += new System.EventHandler(this.toolStripButtonToggleVideo_Click);
|
||||
//
|
||||
// toolStripSeparator19
|
||||
//
|
||||
this.toolStripSeparator19.Name = "toolStripSeparator19";
|
||||
this.toolStripSeparator19.Size = new System.Drawing.Size(221, 6);
|
||||
this.toolStripSeparator19.Size = new System.Drawing.Size(254, 6);
|
||||
//
|
||||
// undockVideoControlsToolStripMenuItem
|
||||
//
|
||||
this.undockVideoControlsToolStripMenuItem.Name = "undockVideoControlsToolStripMenuItem";
|
||||
this.undockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.undockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.undockVideoControlsToolStripMenuItem.Text = "Un-dock video controls";
|
||||
this.undockVideoControlsToolStripMenuItem.Click += new System.EventHandler(this.UndockVideoControlsToolStripMenuItemClick);
|
||||
//
|
||||
// redockVideoControlsToolStripMenuItem
|
||||
//
|
||||
this.redockVideoControlsToolStripMenuItem.Name = "redockVideoControlsToolStripMenuItem";
|
||||
this.redockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||
this.redockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.redockVideoControlsToolStripMenuItem.Text = "Re-dock video controls";
|
||||
this.redockVideoControlsToolStripMenuItem.Visible = false;
|
||||
this.redockVideoControlsToolStripMenuItem.Click += new System.EventHandler(this.RedockVideoControlsToolStripMenuItemClick);
|
||||
@ -2531,6 +2533,20 @@
|
||||
this.copyOriginalTextToCurrentToolStripMenuItem.Text = "Copy original text to current";
|
||||
this.copyOriginalTextToCurrentToolStripMenuItem.Click += new System.EventHandler(this.copyOriginalTextToCurrentToolStripMenuItem_Click);
|
||||
//
|
||||
// moveTextUpToolStripMenuItem
|
||||
//
|
||||
this.moveTextUpToolStripMenuItem.Name = "moveTextUpToolStripMenuItem";
|
||||
this.moveTextUpToolStripMenuItem.Size = new System.Drawing.Size(313, 22);
|
||||
this.moveTextUpToolStripMenuItem.Text = "Move text up";
|
||||
this.moveTextUpToolStripMenuItem.Click += new System.EventHandler(this.moveTextUpToolStripMenuItem_Click);
|
||||
//
|
||||
// moveTextDownToolStripMenuItem
|
||||
//
|
||||
this.moveTextDownToolStripMenuItem.Name = "moveTextDownToolStripMenuItem";
|
||||
this.moveTextDownToolStripMenuItem.Size = new System.Drawing.Size(313, 22);
|
||||
this.moveTextDownToolStripMenuItem.Text = "Move text down";
|
||||
this.moveTextDownToolStripMenuItem.Click += new System.EventHandler(this.moveTextDownToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripSeparator7
|
||||
//
|
||||
this.toolStripSeparator7.Name = "toolStripSeparator7";
|
||||
@ -2777,6 +2793,44 @@
|
||||
this.labelNextWord.Text = "Next: xxx";
|
||||
this.labelNextWord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// audioVisualizer
|
||||
//
|
||||
this.audioVisualizer.AllowDrop = true;
|
||||
this.audioVisualizer.AllowNewSelection = true;
|
||||
this.audioVisualizer.AllowOverlap = false;
|
||||
this.audioVisualizer.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.audioVisualizer.BackColor = System.Drawing.Color.Black;
|
||||
this.audioVisualizer.BackgroundColor = System.Drawing.Color.Black;
|
||||
this.audioVisualizer.Color = System.Drawing.Color.GreenYellow;
|
||||
this.audioVisualizer.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.audioVisualizer.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(18)))));
|
||||
this.audioVisualizer.Location = new System.Drawing.Point(472, 32);
|
||||
this.audioVisualizer.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.audioVisualizer.Name = "audioVisualizer";
|
||||
this.audioVisualizer.NewSelectionParagraph = null;
|
||||
this.audioVisualizer.ParagraphColor = System.Drawing.Color.LimeGreen;
|
||||
this.audioVisualizer.SceneChanges = ((System.Collections.Generic.List<double>)(resources.GetObject("audioVisualizer.SceneChanges")));
|
||||
this.audioVisualizer.SelectedColor = System.Drawing.Color.Red;
|
||||
this.audioVisualizer.ShowGridLines = true;
|
||||
this.audioVisualizer.ShowSpectrogram = false;
|
||||
this.audioVisualizer.ShowWaveform = true;
|
||||
this.audioVisualizer.Size = new System.Drawing.Size(499, 229);
|
||||
this.audioVisualizer.StartPositionSeconds = 0D;
|
||||
this.audioVisualizer.TabIndex = 6;
|
||||
this.audioVisualizer.TextBold = true;
|
||||
this.audioVisualizer.TextColor = System.Drawing.Color.Gray;
|
||||
this.audioVisualizer.TextSize = 9F;
|
||||
this.audioVisualizer.VerticalZoomFactor = 1D;
|
||||
this.audioVisualizer.WaveformNotLoadedText = "Click to add waveform";
|
||||
this.audioVisualizer.WavePeaks = null;
|
||||
this.audioVisualizer.ZoomFactor = 1D;
|
||||
this.audioVisualizer.Click += new System.EventHandler(this.AudioWaveform_Click);
|
||||
this.audioVisualizer.DragDrop += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragDrop);
|
||||
this.audioVisualizer.DragEnter += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragEnter);
|
||||
this.audioVisualizer.MouseEnter += new System.EventHandler(this.audioVisualizer_MouseEnter);
|
||||
//
|
||||
// checkBoxSyncListViewWithVideoWhilePlaying
|
||||
//
|
||||
this.checkBoxSyncListViewWithVideoWhilePlaying.AutoSize = true;
|
||||
@ -3237,6 +3291,26 @@
|
||||
this.tabPageCreate.Text = "Create";
|
||||
this.tabPageCreate.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// timeUpDownVideoPosition
|
||||
//
|
||||
this.timeUpDownVideoPosition.AutoSize = true;
|
||||
this.timeUpDownVideoPosition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.timeUpDownVideoPosition.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.timeUpDownVideoPosition.Location = new System.Drawing.Point(96, 191);
|
||||
this.timeUpDownVideoPosition.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.timeUpDownVideoPosition.Name = "timeUpDownVideoPosition";
|
||||
this.timeUpDownVideoPosition.Size = new System.Drawing.Size(96, 27);
|
||||
this.timeUpDownVideoPosition.TabIndex = 12;
|
||||
timeCode4.Hours = 0;
|
||||
timeCode4.Milliseconds = 0;
|
||||
timeCode4.Minutes = 0;
|
||||
timeCode4.Seconds = 0;
|
||||
timeCode4.TimeSpan = System.TimeSpan.Parse("00:00:00");
|
||||
timeCode4.TotalMilliseconds = 0D;
|
||||
timeCode4.TotalSeconds = 0D;
|
||||
this.timeUpDownVideoPosition.TimeCode = timeCode4;
|
||||
this.timeUpDownVideoPosition.UseVideoOffset = false;
|
||||
//
|
||||
// buttonGotoSub
|
||||
//
|
||||
this.buttonGotoSub.Location = new System.Drawing.Point(6, 58);
|
||||
@ -3671,6 +3745,26 @@
|
||||
this.buttonAdjustPlayBefore.UseVisualStyleBackColor = true;
|
||||
this.buttonAdjustPlayBefore.Click += new System.EventHandler(this.buttonBeforeText_Click);
|
||||
//
|
||||
// timeUpDownVideoPositionAdjust
|
||||
//
|
||||
this.timeUpDownVideoPositionAdjust.AutoSize = true;
|
||||
this.timeUpDownVideoPositionAdjust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.timeUpDownVideoPositionAdjust.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.timeUpDownVideoPositionAdjust.Location = new System.Drawing.Point(96, 213);
|
||||
this.timeUpDownVideoPositionAdjust.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.timeUpDownVideoPositionAdjust.Name = "timeUpDownVideoPositionAdjust";
|
||||
this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(96, 27);
|
||||
this.timeUpDownVideoPositionAdjust.TabIndex = 13;
|
||||
timeCode5.Hours = 0;
|
||||
timeCode5.Milliseconds = 0;
|
||||
timeCode5.Minutes = 0;
|
||||
timeCode5.Seconds = 0;
|
||||
timeCode5.TimeSpan = System.TimeSpan.Parse("00:00:00");
|
||||
timeCode5.TotalMilliseconds = 0D;
|
||||
timeCode5.TotalSeconds = 0D;
|
||||
this.timeUpDownVideoPositionAdjust.TimeCode = timeCode5;
|
||||
this.timeUpDownVideoPositionAdjust.UseVideoOffset = false;
|
||||
//
|
||||
// ShowSubtitleTimer
|
||||
//
|
||||
this.ShowSubtitleTimer.Enabled = true;
|
||||
@ -3935,6 +4029,36 @@
|
||||
this.splitContainerListViewAndText.SplitterDistance = 91;
|
||||
this.splitContainerListViewAndText.TabIndex = 2;
|
||||
//
|
||||
// SubtitleListview1
|
||||
//
|
||||
this.SubtitleListview1.AllowColumnReorder = true;
|
||||
this.SubtitleListview1.AllowDrop = true;
|
||||
this.SubtitleListview1.ContextMenuStrip = this.contextMenuStripListview;
|
||||
this.SubtitleListview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.SubtitleListview1.FirstVisibleIndex = -1;
|
||||
this.SubtitleListview1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.SubtitleListview1.FullRowSelect = true;
|
||||
this.SubtitleListview1.GridLines = true;
|
||||
this.SubtitleListview1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
||||
this.SubtitleListview1.HideSelection = false;
|
||||
this.SubtitleListview1.Location = new System.Drawing.Point(0, 0);
|
||||
this.SubtitleListview1.Name = "SubtitleListview1";
|
||||
this.SubtitleListview1.OwnerDraw = true;
|
||||
this.SubtitleListview1.Size = new System.Drawing.Size(724, 91);
|
||||
this.SubtitleListview1.SubtitleFontBold = false;
|
||||
this.SubtitleListview1.SubtitleFontName = "Tahoma";
|
||||
this.SubtitleListview1.SubtitleFontSize = 8;
|
||||
this.SubtitleListview1.TabIndex = 0;
|
||||
this.SubtitleListview1.UseCompatibleStateImageBehavior = false;
|
||||
this.SubtitleListview1.UseSyntaxColoring = true;
|
||||
this.SubtitleListview1.View = System.Windows.Forms.View.Details;
|
||||
this.SubtitleListview1.SelectedIndexChanged += new System.EventHandler(this.SubtitleListview1_SelectedIndexChanged);
|
||||
this.SubtitleListview1.DragDrop += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragDrop);
|
||||
this.SubtitleListview1.DragEnter += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragEnter);
|
||||
this.SubtitleListview1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SubtitleListview1KeyDown);
|
||||
this.SubtitleListview1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.SubtitleListview1_MouseDoubleClick);
|
||||
this.SubtitleListview1.MouseEnter += new System.EventHandler(this.SubtitleListview1_MouseEnter);
|
||||
//
|
||||
// groupBoxEdit
|
||||
//
|
||||
this.groupBoxEdit.Controls.Add(this.labelSingleLine);
|
||||
@ -4070,6 +4194,28 @@
|
||||
this.labelText.TabIndex = 5;
|
||||
this.labelText.Text = "Text";
|
||||
//
|
||||
// textBoxListViewTextAlternate
|
||||
//
|
||||
this.textBoxListViewTextAlternate.AllowDrop = true;
|
||||
this.textBoxListViewTextAlternate.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.textBoxListViewTextAlternate.ContextMenuStrip = this.contextMenuStripTextBoxListView;
|
||||
this.textBoxListViewTextAlternate.Enabled = false;
|
||||
this.textBoxListViewTextAlternate.HideSelection = false;
|
||||
this.textBoxListViewTextAlternate.Location = new System.Drawing.Point(946, 28);
|
||||
this.textBoxListViewTextAlternate.Multiline = true;
|
||||
this.textBoxListViewTextAlternate.Name = "textBoxListViewTextAlternate";
|
||||
this.textBoxListViewTextAlternate.Size = new System.Drawing.Size(0, 63);
|
||||
this.textBoxListViewTextAlternate.TabIndex = 33;
|
||||
this.textBoxListViewTextAlternate.Visible = false;
|
||||
this.textBoxListViewTextAlternate.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseClick);
|
||||
this.textBoxListViewTextAlternate.TextChanged += new System.EventHandler(this.textBoxListViewTextAlternate_TextChanged);
|
||||
this.textBoxListViewTextAlternate.Enter += new System.EventHandler(this.TextBoxListViewTextAlternateEnter);
|
||||
this.textBoxListViewTextAlternate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyDown);
|
||||
this.textBoxListViewTextAlternate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyUp);
|
||||
this.textBoxListViewTextAlternate.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseMove);
|
||||
//
|
||||
// contextMenuStripTextBoxListView
|
||||
//
|
||||
this.contextMenuStripTextBoxListView.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@ -4342,6 +4488,26 @@
|
||||
this.buttonUnBreak.UseVisualStyleBackColor = true;
|
||||
this.buttonUnBreak.Click += new System.EventHandler(this.ButtonUnBreakClick);
|
||||
//
|
||||
// timeUpDownStartTime
|
||||
//
|
||||
this.timeUpDownStartTime.AutoSize = true;
|
||||
this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.timeUpDownStartTime.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.timeUpDownStartTime.Location = new System.Drawing.Point(9, 26);
|
||||
this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.timeUpDownStartTime.Name = "timeUpDownStartTime";
|
||||
this.timeUpDownStartTime.Size = new System.Drawing.Size(96, 27);
|
||||
this.timeUpDownStartTime.TabIndex = 0;
|
||||
timeCode6.Hours = 0;
|
||||
timeCode6.Milliseconds = 0;
|
||||
timeCode6.Minutes = 0;
|
||||
timeCode6.Seconds = 0;
|
||||
timeCode6.TimeSpan = System.TimeSpan.Parse("00:00:00");
|
||||
timeCode6.TotalMilliseconds = 0D;
|
||||
timeCode6.TotalSeconds = 0D;
|
||||
this.timeUpDownStartTime.TimeCode = timeCode6;
|
||||
this.timeUpDownStartTime.UseVideoOffset = false;
|
||||
//
|
||||
// numericUpDownDuration
|
||||
//
|
||||
this.numericUpDownDuration.DecimalPlaces = 3;
|
||||
@ -4395,6 +4561,28 @@
|
||||
this.labelStartTime.TabIndex = 3;
|
||||
this.labelStartTime.Text = "Start time";
|
||||
//
|
||||
// textBoxListViewText
|
||||
//
|
||||
this.textBoxListViewText.AllowDrop = true;
|
||||
this.textBoxListViewText.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.textBoxListViewText.ContextMenuStrip = this.contextMenuStripTextBoxListView;
|
||||
this.textBoxListViewText.Enabled = false;
|
||||
this.textBoxListViewText.HideSelection = false;
|
||||
this.textBoxListViewText.Location = new System.Drawing.Point(236, 28);
|
||||
this.textBoxListViewText.Multiline = true;
|
||||
this.textBoxListViewText.Name = "textBoxListViewText";
|
||||
this.textBoxListViewText.Size = new System.Drawing.Size(362, 63);
|
||||
this.textBoxListViewText.TabIndex = 5;
|
||||
this.textBoxListViewText.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextMouseClick);
|
||||
this.textBoxListViewText.TextChanged += new System.EventHandler(this.TextBoxListViewTextTextChanged);
|
||||
this.textBoxListViewText.Enter += new System.EventHandler(this.TextBoxListViewTextEnter);
|
||||
this.textBoxListViewText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextKeyDown);
|
||||
this.textBoxListViewText.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxListViewText_KeyUp);
|
||||
this.textBoxListViewText.Leave += new System.EventHandler(this.textBoxListViewText_Leave);
|
||||
this.textBoxListViewText.MouseMove += new System.Windows.Forms.MouseEventHandler(this.textBoxListViewText_MouseMove);
|
||||
//
|
||||
// labelDuration
|
||||
//
|
||||
this.labelDuration.AutoSize = true;
|
||||
@ -4456,6 +4644,34 @@
|
||||
this.panelVideoPlayer.Size = new System.Drawing.Size(220, 246);
|
||||
this.panelVideoPlayer.TabIndex = 5;
|
||||
//
|
||||
// mediaPlayer
|
||||
//
|
||||
this.mediaPlayer.AllowDrop = true;
|
||||
this.mediaPlayer.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.mediaPlayer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.mediaPlayer.CurrentPosition = 0D;
|
||||
this.mediaPlayer.FontSizeFactor = 1F;
|
||||
this.mediaPlayer.LastParagraph = null;
|
||||
this.mediaPlayer.Location = new System.Drawing.Point(0, 0);
|
||||
this.mediaPlayer.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.mediaPlayer.Name = "mediaPlayer";
|
||||
this.mediaPlayer.ShowFullscreenButton = true;
|
||||
this.mediaPlayer.ShowMuteButton = true;
|
||||
this.mediaPlayer.ShowStopButton = true;
|
||||
this.mediaPlayer.Size = new System.Drawing.Size(219, 246);
|
||||
this.mediaPlayer.SmpteMode = false;
|
||||
this.mediaPlayer.SubtitleText = "";
|
||||
this.mediaPlayer.TabIndex = 5;
|
||||
this.mediaPlayer.TextRightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||
this.mediaPlayer.VideoHeight = 0;
|
||||
this.mediaPlayer.VideoPlayer = null;
|
||||
this.mediaPlayer.VideoWidth = 0;
|
||||
this.mediaPlayer.Volume = 0D;
|
||||
this.mediaPlayer.DragDrop += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragDrop);
|
||||
this.mediaPlayer.DragEnter += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragEnter);
|
||||
//
|
||||
// contextMenuStripEmpty
|
||||
//
|
||||
this.contextMenuStripEmpty.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@ -4487,219 +4703,12 @@
|
||||
this.timerAlternateTextUndo.Interval = 700;
|
||||
this.timerAlternateTextUndo.Tick += new System.EventHandler(this.TimerAlternateTextUndoTick);
|
||||
//
|
||||
// moveTextUpToolStripMenuItem
|
||||
// generateTextFromCurrentVideoToolStripMenuItem
|
||||
//
|
||||
this.moveTextUpToolStripMenuItem.Name = "moveTextUpToolStripMenuItem";
|
||||
this.moveTextUpToolStripMenuItem.Size = new System.Drawing.Size(313, 22);
|
||||
this.moveTextUpToolStripMenuItem.Text = "Move text up";
|
||||
this.moveTextUpToolStripMenuItem.Click += new System.EventHandler(this.moveTextUpToolStripMenuItem_Click);
|
||||
//
|
||||
// moveTextDownToolStripMenuItem
|
||||
//
|
||||
this.moveTextDownToolStripMenuItem.Name = "moveTextDownToolStripMenuItem";
|
||||
this.moveTextDownToolStripMenuItem.Size = new System.Drawing.Size(313, 22);
|
||||
this.moveTextDownToolStripMenuItem.Text = "Move text down";
|
||||
this.moveTextDownToolStripMenuItem.Click += new System.EventHandler(this.moveTextDownToolStripMenuItem_Click);
|
||||
//
|
||||
// SubtitleListview1
|
||||
//
|
||||
this.SubtitleListview1.AllowColumnReorder = true;
|
||||
this.SubtitleListview1.AllowDrop = true;
|
||||
this.SubtitleListview1.ContextMenuStrip = this.contextMenuStripListview;
|
||||
this.SubtitleListview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.SubtitleListview1.FirstVisibleIndex = -1;
|
||||
this.SubtitleListview1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.SubtitleListview1.FullRowSelect = true;
|
||||
this.SubtitleListview1.GridLines = true;
|
||||
this.SubtitleListview1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
||||
this.SubtitleListview1.HideSelection = false;
|
||||
this.SubtitleListview1.Location = new System.Drawing.Point(0, 0);
|
||||
this.SubtitleListview1.Name = "SubtitleListview1";
|
||||
this.SubtitleListview1.OwnerDraw = true;
|
||||
this.SubtitleListview1.Size = new System.Drawing.Size(724, 91);
|
||||
this.SubtitleListview1.SubtitleFontBold = false;
|
||||
this.SubtitleListview1.SubtitleFontName = "Tahoma";
|
||||
this.SubtitleListview1.SubtitleFontSize = 8;
|
||||
this.SubtitleListview1.TabIndex = 0;
|
||||
this.SubtitleListview1.UseCompatibleStateImageBehavior = false;
|
||||
this.SubtitleListview1.UseSyntaxColoring = true;
|
||||
this.SubtitleListview1.View = System.Windows.Forms.View.Details;
|
||||
this.SubtitleListview1.SelectedIndexChanged += new System.EventHandler(this.SubtitleListview1_SelectedIndexChanged);
|
||||
this.SubtitleListview1.DragDrop += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragDrop);
|
||||
this.SubtitleListview1.DragEnter += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragEnter);
|
||||
this.SubtitleListview1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SubtitleListview1KeyDown);
|
||||
this.SubtitleListview1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.SubtitleListview1_MouseDoubleClick);
|
||||
this.SubtitleListview1.MouseEnter += new System.EventHandler(this.SubtitleListview1_MouseEnter);
|
||||
//
|
||||
// textBoxListViewTextAlternate
|
||||
//
|
||||
this.textBoxListViewTextAlternate.AllowDrop = true;
|
||||
this.textBoxListViewTextAlternate.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.textBoxListViewTextAlternate.ContextMenuStrip = this.contextMenuStripTextBoxListView;
|
||||
this.textBoxListViewTextAlternate.Enabled = false;
|
||||
this.textBoxListViewTextAlternate.HideSelection = false;
|
||||
this.textBoxListViewTextAlternate.Location = new System.Drawing.Point(946, 28);
|
||||
this.textBoxListViewTextAlternate.Multiline = true;
|
||||
this.textBoxListViewTextAlternate.Name = "textBoxListViewTextAlternate";
|
||||
this.textBoxListViewTextAlternate.Size = new System.Drawing.Size(0, 63);
|
||||
this.textBoxListViewTextAlternate.TabIndex = 33;
|
||||
this.textBoxListViewTextAlternate.Visible = false;
|
||||
this.textBoxListViewTextAlternate.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseClick);
|
||||
this.textBoxListViewTextAlternate.TextChanged += new System.EventHandler(this.textBoxListViewTextAlternate_TextChanged);
|
||||
this.textBoxListViewTextAlternate.Enter += new System.EventHandler(this.TextBoxListViewTextAlternateEnter);
|
||||
this.textBoxListViewTextAlternate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyDown);
|
||||
this.textBoxListViewTextAlternate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyUp);
|
||||
this.textBoxListViewTextAlternate.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseMove);
|
||||
//
|
||||
// timeUpDownStartTime
|
||||
//
|
||||
this.timeUpDownStartTime.AutoSize = true;
|
||||
this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.timeUpDownStartTime.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.timeUpDownStartTime.Location = new System.Drawing.Point(9, 26);
|
||||
this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.timeUpDownStartTime.Name = "timeUpDownStartTime";
|
||||
this.timeUpDownStartTime.Size = new System.Drawing.Size(96, 27);
|
||||
this.timeUpDownStartTime.TabIndex = 0;
|
||||
timeCode4.Hours = 0;
|
||||
timeCode4.Milliseconds = 0;
|
||||
timeCode4.Minutes = 0;
|
||||
timeCode4.Seconds = 0;
|
||||
timeCode4.TimeSpan = System.TimeSpan.Parse("00:00:00");
|
||||
timeCode4.TotalMilliseconds = 0D;
|
||||
timeCode4.TotalSeconds = 0D;
|
||||
this.timeUpDownStartTime.TimeCode = timeCode4;
|
||||
this.timeUpDownStartTime.UseVideoOffset = false;
|
||||
//
|
||||
// textBoxListViewText
|
||||
//
|
||||
this.textBoxListViewText.AllowDrop = true;
|
||||
this.textBoxListViewText.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.textBoxListViewText.ContextMenuStrip = this.contextMenuStripTextBoxListView;
|
||||
this.textBoxListViewText.Enabled = false;
|
||||
this.textBoxListViewText.HideSelection = false;
|
||||
this.textBoxListViewText.Location = new System.Drawing.Point(236, 28);
|
||||
this.textBoxListViewText.Multiline = true;
|
||||
this.textBoxListViewText.Name = "textBoxListViewText";
|
||||
this.textBoxListViewText.Size = new System.Drawing.Size(362, 63);
|
||||
this.textBoxListViewText.TabIndex = 5;
|
||||
this.textBoxListViewText.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextMouseClick);
|
||||
this.textBoxListViewText.TextChanged += new System.EventHandler(this.TextBoxListViewTextTextChanged);
|
||||
this.textBoxListViewText.Enter += new System.EventHandler(this.TextBoxListViewTextEnter);
|
||||
this.textBoxListViewText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextKeyDown);
|
||||
this.textBoxListViewText.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxListViewText_KeyUp);
|
||||
this.textBoxListViewText.Leave += new System.EventHandler(this.textBoxListViewText_Leave);
|
||||
this.textBoxListViewText.MouseMove += new System.Windows.Forms.MouseEventHandler(this.textBoxListViewText_MouseMove);
|
||||
//
|
||||
// mediaPlayer
|
||||
//
|
||||
this.mediaPlayer.AllowDrop = true;
|
||||
this.mediaPlayer.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.mediaPlayer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.mediaPlayer.CurrentPosition = 0D;
|
||||
this.mediaPlayer.FontSizeFactor = 1F;
|
||||
this.mediaPlayer.LastParagraph = null;
|
||||
this.mediaPlayer.Location = new System.Drawing.Point(0, 0);
|
||||
this.mediaPlayer.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.mediaPlayer.Name = "mediaPlayer";
|
||||
this.mediaPlayer.ShowFullscreenButton = true;
|
||||
this.mediaPlayer.ShowMuteButton = true;
|
||||
this.mediaPlayer.ShowStopButton = true;
|
||||
this.mediaPlayer.Size = new System.Drawing.Size(219, 246);
|
||||
this.mediaPlayer.SmpteMode = false;
|
||||
this.mediaPlayer.SubtitleText = "";
|
||||
this.mediaPlayer.TabIndex = 5;
|
||||
this.mediaPlayer.TextRightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||
this.mediaPlayer.VideoHeight = 0;
|
||||
this.mediaPlayer.VideoPlayer = null;
|
||||
this.mediaPlayer.VideoWidth = 0;
|
||||
this.mediaPlayer.Volume = 0D;
|
||||
this.mediaPlayer.DragDrop += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragDrop);
|
||||
this.mediaPlayer.DragEnter += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragEnter);
|
||||
//
|
||||
// audioVisualizer
|
||||
//
|
||||
this.audioVisualizer.AllowDrop = true;
|
||||
this.audioVisualizer.AllowNewSelection = true;
|
||||
this.audioVisualizer.AllowOverlap = false;
|
||||
this.audioVisualizer.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.audioVisualizer.BackColor = System.Drawing.Color.Black;
|
||||
this.audioVisualizer.BackgroundColor = System.Drawing.Color.Black;
|
||||
this.audioVisualizer.Color = System.Drawing.Color.GreenYellow;
|
||||
this.audioVisualizer.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.audioVisualizer.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(18)))));
|
||||
this.audioVisualizer.Location = new System.Drawing.Point(472, 32);
|
||||
this.audioVisualizer.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.audioVisualizer.Name = "audioVisualizer";
|
||||
this.audioVisualizer.NewSelectionParagraph = null;
|
||||
this.audioVisualizer.ParagraphColor = System.Drawing.Color.LimeGreen;
|
||||
this.audioVisualizer.SceneChanges = ((System.Collections.Generic.List<double>)(resources.GetObject("audioVisualizer.SceneChanges")));
|
||||
this.audioVisualizer.SelectedColor = System.Drawing.Color.Red;
|
||||
this.audioVisualizer.ShowGridLines = true;
|
||||
this.audioVisualizer.ShowSpectrogram = false;
|
||||
this.audioVisualizer.ShowWaveform = true;
|
||||
this.audioVisualizer.Size = new System.Drawing.Size(499, 229);
|
||||
this.audioVisualizer.StartPositionSeconds = 0D;
|
||||
this.audioVisualizer.TabIndex = 6;
|
||||
this.audioVisualizer.TextBold = true;
|
||||
this.audioVisualizer.TextColor = System.Drawing.Color.Gray;
|
||||
this.audioVisualizer.TextSize = 9F;
|
||||
this.audioVisualizer.VerticalZoomFactor = 1D;
|
||||
this.audioVisualizer.WaveformNotLoadedText = "Click to add waveform";
|
||||
this.audioVisualizer.WavePeaks = null;
|
||||
this.audioVisualizer.ZoomFactor = 1D;
|
||||
this.audioVisualizer.Click += new System.EventHandler(this.AudioWaveform_Click);
|
||||
this.audioVisualizer.DragDrop += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragDrop);
|
||||
this.audioVisualizer.DragEnter += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragEnter);
|
||||
this.audioVisualizer.MouseEnter += new System.EventHandler(this.audioVisualizer_MouseEnter);
|
||||
//
|
||||
// timeUpDownVideoPosition
|
||||
//
|
||||
this.timeUpDownVideoPosition.AutoSize = true;
|
||||
this.timeUpDownVideoPosition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.timeUpDownVideoPosition.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.timeUpDownVideoPosition.Location = new System.Drawing.Point(96, 191);
|
||||
this.timeUpDownVideoPosition.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.timeUpDownVideoPosition.Name = "timeUpDownVideoPosition";
|
||||
this.timeUpDownVideoPosition.Size = new System.Drawing.Size(96, 27);
|
||||
this.timeUpDownVideoPosition.TabIndex = 12;
|
||||
timeCode5.Hours = 0;
|
||||
timeCode5.Milliseconds = 0;
|
||||
timeCode5.Minutes = 0;
|
||||
timeCode5.Seconds = 0;
|
||||
timeCode5.TimeSpan = System.TimeSpan.Parse("00:00:00");
|
||||
timeCode5.TotalMilliseconds = 0D;
|
||||
timeCode5.TotalSeconds = 0D;
|
||||
this.timeUpDownVideoPosition.TimeCode = timeCode5;
|
||||
this.timeUpDownVideoPosition.UseVideoOffset = false;
|
||||
//
|
||||
// timeUpDownVideoPositionAdjust
|
||||
//
|
||||
this.timeUpDownVideoPositionAdjust.AutoSize = true;
|
||||
this.timeUpDownVideoPositionAdjust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.timeUpDownVideoPositionAdjust.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.timeUpDownVideoPositionAdjust.Location = new System.Drawing.Point(96, 213);
|
||||
this.timeUpDownVideoPositionAdjust.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.timeUpDownVideoPositionAdjust.Name = "timeUpDownVideoPositionAdjust";
|
||||
this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(96, 27);
|
||||
this.timeUpDownVideoPositionAdjust.TabIndex = 13;
|
||||
timeCode6.Hours = 0;
|
||||
timeCode6.Milliseconds = 0;
|
||||
timeCode6.Minutes = 0;
|
||||
timeCode6.Seconds = 0;
|
||||
timeCode6.TimeSpan = System.TimeSpan.Parse("00:00:00");
|
||||
timeCode6.TotalMilliseconds = 0D;
|
||||
timeCode6.TotalSeconds = 0D;
|
||||
this.timeUpDownVideoPositionAdjust.TimeCode = timeCode6;
|
||||
this.timeUpDownVideoPositionAdjust.UseVideoOffset = false;
|
||||
this.generateTextFromCurrentVideoToolStripMenuItem.Name = "generateTextFromCurrentVideoToolStripMenuItem";
|
||||
this.generateTextFromCurrentVideoToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
|
||||
this.generateTextFromCurrentVideoToolStripMenuItem.Text = "Generate text from current video...";
|
||||
this.generateTextFromCurrentVideoToolStripMenuItem.Click += new System.EventHandler(this.generateTextFromCurrentVideoToolStripMenuItem_Click);
|
||||
//
|
||||
// Main
|
||||
//
|
||||
@ -5226,5 +5235,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem smpteTimeModedropFrameToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem moveTextUpToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem moveTextDownToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem generateTextFromCurrentVideoToolStripMenuItem;
|
||||
}
|
||||
}
|
@ -18657,6 +18657,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
toolStripMenuItemImportSceneChanges.Visible = false;
|
||||
toolStripMenuItemRemoveSceneChanges.Visible = false;
|
||||
}
|
||||
|
||||
generateTextFromCurrentVideoToolStripMenuItem.Visible = Configuration.Settings.General.ShowBetaStuff;
|
||||
}
|
||||
|
||||
private void ChooseAudioTrack(object sender, EventArgs e)
|
||||
@ -22029,6 +22031,19 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_subtitleListViewIndex = -1;
|
||||
SubtitleListview1_SelectedIndexChanged(null, null);
|
||||
}
|
||||
|
||||
private void generateTextFromCurrentVideoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var form = new AudioToText(_videoFileName))
|
||||
{
|
||||
if (form.ShowDialog(this) == DialogResult.OK)
|
||||
{
|
||||
_subtitle.Paragraphs.Clear();
|
||||
_subtitle.Paragraphs.AddRange(form.Subtitle.Paragraphs);
|
||||
SubtitleListview1.Fill(_subtitle, _subtitleAlternate);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -462,20 +462,20 @@
|
||||
<data name="toolStripButtonNetflixQualityCheck.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALnSURBVFhHtZfPa9RAFMdHN7/G3SabZHoUvOrBswe9e/Hu
|
||||
wT/Ai3cPgkerWBEUumALWoqt1nZ3KYJicfFUSisotKW04naTjeBBvFQEfzS+t0yWdPIK7o984Xua9/I+
|
||||
+yZvMsuO0qblxREXGbe08gUZQqpuODHlm4xpMuT/9NYskwBt01+QIaSo4uieAZYAYNfyMwAbXPxpms4p
|
||||
GZYRVRzdM0DFcA6WDboLIffHZVhGVHF0XwCzmh23iC5Epvi+wVhJhh4SVRzdF0BVt+OG4WYBwIE5ek2G
|
||||
HhJVHN0XACZOFWwSILLcHXjocRnelVo4cd8Ak7ANayY9km2jfEmGd6UWTtw3wDPYhmnNIQECSyzL8K7U
|
||||
won7BkDfKYzEW8TBtM7FQaiXz8qUjtJF0x4IYEIbiRd1uguh5U/KlI7SRdMeCGAa3oO70IXP1Ehy5+cO
|
||||
K43KtHwAcBzHAOD1EQdT2xI3ZBqbh9h04cQDAaDvA8ADMBT8pQJEuvMFDiYD8x5Dt9J5iQcGwHHELoTc
|
||||
m80AgEOrfAXzHkJMOi/xwAA4jh0AzTtHAphiHfNuQ8wisQ0DA6BxHHEtMvwVCqKluecREl9aNXcoADiO
|
||||
uBbo4jIFAHeFFwiAcWruUADwl+FaAx4WcT9QAfCugO8AdgonJ507FAB8qFxmoeVeVwHQb2BUsQszeQCg
|
||||
5TILmO1t89IPFWAPDis8tCrKNgwdABVZoqICoGt6OR4HiHReLgBNwzuNHyQVYBu6gOP4NLUNuQCg2pb/
|
||||
SgVAz8An/FFqG3IDCE64FymA93CJuZfahtwAQMdCLrYoiAqM7ZzchjwBWJv7VymAd3ChxW8I5uUK8IGx
|
||||
IlzVv6kAAbyME3IbcgVAtbkYUwHQL2Ekn8M25A/A3JNNLn6rAJ+gC09gG3IHQMFftjkVAF2D+2TPAAtG
|
||||
cb9eKDbrurNa0+2lqmFPVXXnllwmtWd4Z1YNZ2UN/rR81N2vm7y4vwtdaXDxlwZg7B8t+bAZJ2IhjwAA
|
||||
AABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALmSURBVFhHtZfPaxNBFMdHs7/GpPtzehS86sGzB7178e7B
|
||||
P8CLdw+CR6tYERQSsAUtxdYfbRKKoFgMnkqJgkJbSium2c0KHsRLRfBH1/fCJGxnX8Em2S98T/Pevk/e
|
||||
7JudsIO0bvlJzEXGbc09J0NI1Q0noXydMU2G/J/emC4J0DGDBRlCiiqOPjTAEgBsW0EGYI2LPy3TOSHD
|
||||
MqKKow8NUDacvWWD7kLEg0kZlhFVHD0QwJxmJ22iC7Epvq8xVpKh+0QVRw8EUNXtpGF4WQBwaI5fkaH7
|
||||
RBVHDwSAidMFmwSILW8LHnpUhvelFu55YIAp2IamSY9kx3AvyPC+1MI9DwzwBLZhRnNIgNASyzK8L7Vw
|
||||
zwMDoG8VxpIN4mBqcrEX6e5pmdJVumjaQwGUtbFkUae7EFnBlEzpKl007aEAZuA9uA1d+EyNJHd+brHS
|
||||
uEzLBwDHcQIAXh1wMHUscU2msWcQmy7c81AA6LsAcA8MBX+pALHufIGDycC8h9CtdF7PQwPgOGIXIu7P
|
||||
ZQDAkeVewrz7EJPO63loABzHLoDmnyEBTPEO825CzCKxDUMDoHEccS02ghUKoq15ZxESX1o1dyQAOI64
|
||||
FuriIgUAd4XnCIBxau5IAPCX4VoDHhbzIFQB8K6A7wB2CicnnTsSAHyoXGaR5V1VAdCvYVSxC7N5AKDl
|
||||
MguZ7W/y0g8VYAcOKzy0Kso2jBwAFVuiogKga7qbTAJEOi8XgJbhn8QPkgqwCV3AcXyc2oZcAFAdK3ip
|
||||
AqBn4RP+ILUNuQGEx7zzFMB7uMTcSW1DbgCgIxEXGxREBcZ2Xm5DngCsw4PLFMBbuNDiNwTzcgX4wFgR
|
||||
rurfVIAQXsay3IZcAVAdLiZUAPQLGMmnsA35AzDveIuL3yrAJ+jCI9iG3AFQ8JdtXgVA1+A+eWiABaO4
|
||||
Wy8UW3XdWa3p9lLVsKerunNDLpPaMfxTq4az0oQ/LR917+s6L+5uQ1caXPylARj7B0XRr/vT3Iz3AAAA
|
||||
AElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButtonSettings.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@ -653,6 +653,15 @@
|
||||
<metadata name="fontDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>825, 56</value>
|
||||
</metadata>
|
||||
<data name="audioVisualizer.SceneChanges" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
|
||||
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
|
||||
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
|
||||
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLkRvdWJsZQMAAAAGX2l0
|
||||
ZW1zBV9zaXplCF92ZXJzaW9uBwAABggIAgAAAAkDAAAAAAAAAAAAAAAPAwAAAAAAAAAGCw==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolStripWaveControls.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>650, 56</value>
|
||||
</metadata>
|
||||
@ -765,7 +774,7 @@
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD2
|
||||
CAAAAk1TRnQBSQFMAgEBAgEAAXABJAFwASQBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
CAAAAk1TRnQBSQFMAgEBAgEAAXgBJAF4ASQBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||
@ -812,15 +821,6 @@
|
||||
<metadata name="timerAlternateTextUndo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>916, 95</value>
|
||||
</metadata>
|
||||
<data name="audioVisualizer.SceneChanges" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
|
||||
ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
|
||||
PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
|
||||
AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLkRvdWJsZQMAAAAGX2l0
|
||||
ZW1zBV9zaXplCF92ZXJzaW9uBwAABggIAgAAAAkDAAAAAAAAAAAAAAAPAwAAAAAAAAAGCw==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>154</value>
|
||||
</metadata>
|
||||
|
@ -92,6 +92,12 @@
|
||||
<Compile Include="Forms\AddWaveformBatch.Designer.cs">
|
||||
<DependentUpon>AddWaveformBatch.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AudioToText.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AudioToText.Designer.cs">
|
||||
<DependentUpon>AudioToText.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Cavena890SaveOptions.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -952,6 +958,9 @@
|
||||
<EmbeddedResource Include="Forms\AddWaveformBatch.resx">
|
||||
<DependentUpon>AddWaveformBatch.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\AudioToText.resx">
|
||||
<DependentUpon>AudioToText.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\Cavena890SaveOptions.resx">
|
||||
<DependentUpon>Cavena890SaveOptions.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
Loading…
Reference in New Issue
Block a user