v.01 Final changes
This commit is contained in:
+353
@@ -0,0 +1,353 @@
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
##
|
||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||
|
||||
# User-specific files
|
||||
*.rsuser
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
# Mono auto generated files
|
||||
mono_crash.*
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
[Aa][Rr][Mm]/
|
||||
[Aa][Rr][Mm]64/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
[Ll]og/
|
||||
[Ll]ogs/
|
||||
|
||||
# Visual Studio 2015/2017 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# Visual Studio 2017 auto generated files
|
||||
Generated\ Files/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
# NUnit
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
nunit-*.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
# Benchmark Results
|
||||
BenchmarkDotNet.Artifacts/
|
||||
|
||||
# .NET Core
|
||||
project.lock.json
|
||||
project.fragment.lock.json
|
||||
artifacts/
|
||||
|
||||
# StyleCop
|
||||
StyleCopReport.xml
|
||||
|
||||
# Files built by Visual Studio
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_h.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.iobj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.ipdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*_wpftmp.csproj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opendb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
*.VC.db
|
||||
*.VC.VC.opendb
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# Visual Studio Trace Files
|
||||
*.e2e
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding add-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# AxoCover is a Code Coverage Tool
|
||||
.axoCover/*
|
||||
!.axoCover/settings.json
|
||||
|
||||
# Visual Studio code coverage results
|
||||
*.coverage
|
||||
*.coveragexml
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
AutoTest.Net/
|
||||
|
||||
# Web workbench (sass)
|
||||
.sass-cache/
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# Note: Comment the next line if you want to checkin your web deploy settings,
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
||||
# checkin your Azure Web App publish settings, but sensitive information contained
|
||||
# in these scripts will be unencrypted
|
||||
PublishScripts/
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# NuGet Symbol Packages
|
||||
*.snupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/[Pp]ackages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/[Pp]ackages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/[Pp]ackages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignorable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Microsoft Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Microsoft Azure Emulator
|
||||
ecf/
|
||||
rcf/
|
||||
|
||||
# Windows Store app package directories and files
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
Package.StoreAssociation.xml
|
||||
_pkginfo.txt
|
||||
*.appx
|
||||
*.appxbundle
|
||||
*.appxupload
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!?*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
ClientBin/
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.jfm
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
orleans.codegen.cs
|
||||
|
||||
# Including strong name files can present a security risk
|
||||
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
||||
#*.snk
|
||||
|
||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
||||
#bower_components/
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file
|
||||
# to a newer Visual Studio version. Backup files are not needed,
|
||||
# because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
ServiceFabricBackup/
|
||||
*.rptproj.bak
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
*.ndf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
*.rptproj.rsuser
|
||||
*- [Bb]ackup.rdl
|
||||
*- [Bb]ackup ([0-9]).rdl
|
||||
*- [Bb]ackup ([0-9][0-9]).rdl
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
node_modules/
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
||||
*.vbw
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
paket-files/
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
|
||||
# CodeRush personal settings
|
||||
.cr/personal
|
||||
|
||||
# Python Tools for Visual Studio (PTVS)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# Cake - Uncomment if you are using it
|
||||
# tools/**
|
||||
# !tools/packages.config
|
||||
|
||||
# Tabs Studio
|
||||
*.tss
|
||||
|
||||
# Telerik's JustMock configuration file
|
||||
*.jmconfig
|
||||
|
||||
# BizTalk build output
|
||||
*.btp.cs
|
||||
*.btm.cs
|
||||
*.odx.cs
|
||||
*.xsd.cs
|
||||
|
||||
# OpenCover UI analysis results
|
||||
OpenCover/
|
||||
|
||||
# Azure Stream Analytics local run output
|
||||
ASALocalRun/
|
||||
|
||||
# MSBuild Binary and Structured Log
|
||||
*.binlog
|
||||
|
||||
# NVidia Nsight GPU debugger configuration file
|
||||
*.nvuser
|
||||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
.mfractor/
|
||||
|
||||
# Local History for Visual Studio
|
||||
.localhistory/
|
||||
|
||||
# BeatPulse healthcheck temp database
|
||||
healthchecksdb
|
||||
|
||||
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
||||
MigrationBackup/
|
||||
|
||||
# Ionide (cross platform F# VS Code tools) working folder
|
||||
.ionide/
|
||||
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
"",
|
||||
"\\YeetTonTuyeau"
|
||||
],
|
||||
"SelectedNode": "\\YeetTonTuyeau\\YeetTonTuyeau.cs",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
|
||||
<Costura />
|
||||
</Weavers>
|
||||
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
|
||||
<xs:element name="Weavers">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element name="Costura" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="ExcludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="IncludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged32Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged 64 bit assembly names to include, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="PreloadOrder" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The order of preloaded assemblies, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
<xs:attribute name="CreateTemporaryAssemblies" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IncludeDebugSymbols" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Controls if .pdbs for reference assemblies are also embedded.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="DisableCompression" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="DisableCleanup" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="LoadAtModuleInit" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IgnoreSatelliteAssemblies" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="ExcludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IncludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Unmanaged32Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Unmanaged64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged 64 bit assembly names to include, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="PreloadOrder" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The order of preloaded assemblies, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
<xs:attribute name="VerifyAssembly" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="GenerateXsd" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@@ -34,3 +35,5 @@ using System.Runtime.InteropServices;
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: NeutralResourcesLanguage("fr-CA")]
|
||||
|
||||
|
||||
Generated
+61
@@ -29,6 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(YeetTonTuyeau));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.titreApp = new System.Windows.Forms.Label();
|
||||
this.quitApp = new System.Windows.Forms.Button();
|
||||
@@ -48,6 +49,11 @@
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ffmpeg_label = new System.Windows.Forms.Label();
|
||||
this.ffprobe_label = new System.Windows.Forms.Label();
|
||||
this.ffm_box = new System.Windows.Forms.CheckBox();
|
||||
this.ffp_box = new System.Windows.Forms.CheckBox();
|
||||
this.ffmpegCheckTmr = new System.Windows.Forms.Timer(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.memeImg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
@@ -227,12 +233,60 @@
|
||||
this.aboutToolStripMenuItem.Text = "À propos";
|
||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItem_Click);
|
||||
//
|
||||
// ffmpeg_label
|
||||
//
|
||||
this.ffmpeg_label.AutoSize = true;
|
||||
this.ffmpeg_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ffmpeg_label.Location = new System.Drawing.Point(241, 5);
|
||||
this.ffmpeg_label.Name = "ffmpeg_label";
|
||||
this.ffmpeg_label.Size = new System.Drawing.Size(49, 16);
|
||||
this.ffmpeg_label.TabIndex = 36;
|
||||
this.ffmpeg_label.Text = "ffmpeg";
|
||||
//
|
||||
// ffprobe_label
|
||||
//
|
||||
this.ffprobe_label.AutoSize = true;
|
||||
this.ffprobe_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ffprobe_label.Location = new System.Drawing.Point(313, 5);
|
||||
this.ffprobe_label.Name = "ffprobe_label";
|
||||
this.ffprobe_label.Size = new System.Drawing.Size(50, 16);
|
||||
this.ffprobe_label.TabIndex = 37;
|
||||
this.ffprobe_label.Text = "ffprobe";
|
||||
//
|
||||
// ffm_box
|
||||
//
|
||||
this.ffm_box.AutoSize = true;
|
||||
this.ffm_box.Enabled = false;
|
||||
this.ffm_box.Location = new System.Drawing.Point(220, 7);
|
||||
this.ffm_box.Name = "ffm_box";
|
||||
this.ffm_box.Size = new System.Drawing.Size(15, 14);
|
||||
this.ffm_box.TabIndex = 38;
|
||||
this.ffm_box.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ffp_box
|
||||
//
|
||||
this.ffp_box.AutoSize = true;
|
||||
this.ffp_box.Enabled = false;
|
||||
this.ffp_box.Location = new System.Drawing.Point(292, 7);
|
||||
this.ffp_box.Name = "ffp_box";
|
||||
this.ffp_box.Size = new System.Drawing.Size(15, 14);
|
||||
this.ffp_box.TabIndex = 39;
|
||||
this.ffp_box.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ffmpegCheckTmr
|
||||
//
|
||||
this.ffmpegCheckTmr.Tick += new System.EventHandler(this.FfmpegCheckTmr_Tick);
|
||||
//
|
||||
// YeetTonTuyeau
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(375, 385);
|
||||
this.Controls.Add(this.memeImg);
|
||||
this.Controls.Add(this.ffp_box);
|
||||
this.Controls.Add(this.ffm_box);
|
||||
this.Controls.Add(this.ffprobe_label);
|
||||
this.Controls.Add(this.ffmpeg_label);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.label1);
|
||||
@@ -250,10 +304,12 @@
|
||||
this.Controls.Add(this.mp3txt);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "YeetTonTuyeau";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "YeetTonTuyeau V0.1";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.YeetTonTuyeau_FormClosing);
|
||||
((System.ComponentModel.ISupportInitialize)(this.memeImg)).EndInit();
|
||||
@@ -286,6 +342,11 @@
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private System.Windows.Forms.Label ffmpeg_label;
|
||||
private System.Windows.Forms.Label ffprobe_label;
|
||||
private System.Windows.Forms.CheckBox ffm_box;
|
||||
private System.Windows.Forms.CheckBox ffp_box;
|
||||
private System.Windows.Forms.Timer ffmpegCheckTmr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,12 +16,48 @@ namespace YeetTonTuyeau
|
||||
public partial class YeetTonTuyeau : Form
|
||||
{
|
||||
public int pceTimeValue = 0;
|
||||
public int fe = 0;
|
||||
public YeetTonTuyeau()
|
||||
{
|
||||
InitializeComponent();
|
||||
FFmpeg.GetLatestVersion();
|
||||
memeImg.Visible = false;
|
||||
stopBtn.Enabled = false;
|
||||
|
||||
ffmpegCheck();
|
||||
ffmpegDCheck();
|
||||
ffmpegCheckTmr.Start();
|
||||
|
||||
if (fe == 4)
|
||||
{
|
||||
string message = "ffmpeg est manquant, voulez-vous le télécharger ?";
|
||||
string caption = "sérieux?";
|
||||
|
||||
MessageBoxButtons buttons = MessageBoxButtons.YesNo;
|
||||
DialogResult resultat;
|
||||
|
||||
resultat = MessageBox.Show(message, caption, buttons);
|
||||
|
||||
if (resultat == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
FFmpeg.GetLatestVersion();
|
||||
}
|
||||
|
||||
}
|
||||
else if (fe == 2 || fe == 3)
|
||||
{
|
||||
string message = "ffmpeg ou ffprobe est manquant, voulez-vous le télécharger ?";
|
||||
string caption = "sérieux?";
|
||||
|
||||
MessageBoxButtons buttons = MessageBoxButtons.YesNo;
|
||||
DialogResult resultat;
|
||||
|
||||
resultat = MessageBox.Show(message, caption, buttons);
|
||||
|
||||
if (resultat == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
FFmpeg.GetLatestVersion();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string AddQuotesIfRequired(string path)
|
||||
@@ -127,9 +163,9 @@ namespace YeetTonTuyeau
|
||||
private void convertProcess()
|
||||
{
|
||||
char comm = '"';
|
||||
string filename = Path.GetFileNameWithoutExtension(mp3txt.Text);
|
||||
convertBtn.Enabled = false;
|
||||
stopBtn.Enabled = true;
|
||||
string filename = Path.GetFileNameWithoutExtension(mp3txt.Text);
|
||||
Conversion convert = new Conversion();
|
||||
convert.AddParameter(@"-r 1 -loop 1 -i " + comm + imgtxt.Text + comm + " -i " + comm + mp3txt.Text + comm + " -acodec copy -r 1 -shortest -vf scale=1280:-1 " + comm + outputtxt.Text + "\\" + filename + "_(video).flv" + comm);
|
||||
convert.OnProgress += Convert_OnProgress;
|
||||
@@ -172,10 +208,62 @@ namespace YeetTonTuyeau
|
||||
this.Invoke(new Action(() => progressBar1.Value = percent));
|
||||
this.Invoke(new Action(() => convertBtn.Enabled = true));
|
||||
this.Invoke(new Action(() => stopBtn.Enabled = false));
|
||||
|
||||
Process.Start(@outputtxt.Text);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void ffmpegCheck()
|
||||
{
|
||||
if (File.Exists("ffmpeg.exe") && File.Exists("ffprobe.exe"))
|
||||
{
|
||||
fe = 1;
|
||||
}
|
||||
else if (File.Exists("ffmpeg.exe"))
|
||||
{
|
||||
fe = 2;
|
||||
}
|
||||
else if (File.Exists("ffprobe.exe"))
|
||||
{
|
||||
fe = 3;
|
||||
}
|
||||
else
|
||||
fe = 4;
|
||||
}
|
||||
|
||||
|
||||
private void ffmpegDCheck()
|
||||
{
|
||||
switch (fe)
|
||||
{
|
||||
case 1:
|
||||
ffm_box.Checked = true;
|
||||
ffp_box.Checked = true;
|
||||
ffmpeg_label.ForeColor = Color.Green;
|
||||
ffprobe_label.ForeColor = Color.Green;
|
||||
break;
|
||||
case 2:
|
||||
ffm_box.Checked = true;
|
||||
ffp_box.Checked = false;
|
||||
ffmpeg_label.ForeColor = Color.Green;
|
||||
ffprobe_label.ForeColor = Color.Red;
|
||||
break;
|
||||
case 3:
|
||||
ffm_box.Checked = false;
|
||||
ffp_box.Checked = true;
|
||||
ffmpeg_label.ForeColor = Color.Red;
|
||||
ffprobe_label.ForeColor = Color.Green;
|
||||
break;
|
||||
case 4:
|
||||
ffm_box.Checked = false;
|
||||
ffp_box.Checked = false;
|
||||
ffmpeg_label.ForeColor = Color.Red;
|
||||
ffprobe_label.ForeColor = Color.Red;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void iightImma()
|
||||
{
|
||||
pceTimer.Start();
|
||||
@@ -255,7 +343,12 @@ namespace YeetTonTuyeau
|
||||
progressBar1.Value = 0;
|
||||
string filename = Path.GetFileNameWithoutExtension(mp3txt.Text);
|
||||
infoProgress.Text = filename;
|
||||
}
|
||||
|
||||
private void FfmpegCheckTmr_Tick(object sender, EventArgs e)
|
||||
{
|
||||
ffmpegCheck();
|
||||
ffmpegDCheck();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@@ -12,6 +13,23 @@
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -32,7 +50,13 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>horse-face_1f434.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Costura, Version=4.1.0.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
@@ -105,5 +129,28 @@
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Annotation 2019-10-06 040409.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="horse-face_1f434.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Fody.6.0.0\build\Fody.targets" Condition="Exists('..\packages\Fody.6.0.0\build\Fody.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Fody.6.0.0\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.0.0\build\Fody.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props'))" />
|
||||
</Target>
|
||||
</Project>
|
||||
File diff suppressed because it is too large
Load Diff
Generated
+3
@@ -28,6 +28,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(aboutApp));
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
@@ -98,10 +99,12 @@
|
||||
this.Controls.Add(this.aboutText);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "aboutApp";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = " yeeeeeeeeeeeeeeeeet";
|
||||
this.TopMost = true;
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
5c5ba26cb6935e0513511396c543d6f9d4af573e
|
||||
9e236a0df8442e1551c87567e491c33b67c55cb9
|
||||
|
||||
@@ -14,3 +14,18 @@ C:\Users\titma\source\repos\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.
|
||||
C:\Users\titma\source\repos\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.exe
|
||||
C:\Users\titma\source\repos\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.pdb
|
||||
C:\Users\titma\source\repos\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.csprojAssemblyReference.cache
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\bin\Debug\YeetTonTuyeau.exe.config
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\bin\Debug\YeetTonTuyeau.exe
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\bin\Debug\YeetTonTuyeau.pdb
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\bin\Debug\Newtonsoft.Json.xml
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\bin\Debug\Xabe.FFmpeg.xml
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.aboutApp.resources
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.Properties.Resources.resources
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.YeetTonTuyeau.resources
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.csproj.GenerateResource.cache
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.csproj.CoreCompileInputs.cache
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.csproj.Fody.CopyLocal.cache
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.csproj.CopyComplete
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.exe
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.pdb
|
||||
C:\Users\titma\Source\Repos\quoije\YeetTonTuyeau\YeetTonTuyeau\obj\Debug\YeetTonTuyeau.csprojAssemblyReference.cache
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Costura.Fody" version="4.1.0" targetFramework="net472" />
|
||||
<package id="Fody" version="6.0.0" targetFramework="net472" developmentDependency="true" />
|
||||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net472" />
|
||||
<package id="Xabe.FFmpeg" version="3.5.0" targetFramework="net472" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user