Skip to content

Commit

Permalink
fixed paths with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fuomag9 committed Jan 21, 2019
1 parent e709452 commit 2dc9fcd
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ bld/
[Bb]in/
[Oo]bj/
[Ll]og/
Installer/Installer-cache
Installer/Installer-SetupFiles

# Visual Studio 2015 cache/options directory
.vs/
Expand Down
Binary file modified Installer/Installer-SetupFiles/Installer.msi
Binary file not shown.
Binary file modified Installer/Installer-cache/cacheIndex.txt
Binary file not shown.
Binary file removed Installer/Installer-cache/part1/disk1.cab
Binary file not shown.
Binary file removed Installer/Installer-cache/part1/output-info.ini
Binary file not shown.
10 changes: 5 additions & 5 deletions Installer/Installer.aip
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Microsoft.WindowsAPICodePack.Shell.dll" Value="..\packages\Microsoft.WindowsAPICodePack-Shell.1.1.0.0\lib"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Microsoft.WindowsAPICodePack.ShellExtensions.dll" Value="..\packages\Microsoft.WindowsAPICodePack-Shell.1.1.0.0\lib"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Microsoft.WindowsAPICodePack.dll" Value="..\packages\Microsoft.WindowsAPICodePack-Core.1.1.0.0\lib"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Video2x.exe" Value="..\Video2x\bin\Release"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Video2x.exe.config" Value="..\Video2x\bin\Release"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Video2x.exe" Value="..\Video2x\bin\Debug"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Video2x.exe.config" Value="..\Video2x\bin\Debug"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_Microsoft.WindowsAPICodePack.Shell.dll" Value="Microsoft.WindowsAPICodePack.Shell.dll"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_Microsoft.WindowsAPICodePack.ShellExtensions.dll" Value="Microsoft.WindowsAPICodePack.ShellExtensions.dll"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_Microsoft.WindowsAPICodePack.dll" Value="Microsoft.WindowsAPICodePack.dll"/>
Expand All @@ -22,10 +22,10 @@
<ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install [|ProductName]." ValueLocId="*"/>
<ROW Property="CTRLS" Value="2"/>
<ROW Property="Manufacturer" Value="fuomag9"/>
<ROW Property="ProductCode" Value="1033:{C59B6DAE-89D9-424A-BBFA-BFF5119C51A0} " Type="16"/>
<ROW Property="ProductCode" Value="1033:{B0179C6E-FAFE-4776-BBE6-E94071E116CA} " Type="16"/>
<ROW Property="ProductLanguage" Value="1033"/>
<ROW Property="ProductName" Value="Video2x"/>
<ROW Property="ProductVersion" Value="1.0.5" Type="32"/>
<ROW Property="ProductName" Value="Video2x [|ProductVersion]"/>
<ROW Property="ProductVersion" Value="1.0.7" Type="32"/>
<ROW Property="RUNAPPLICATION" Value="1" Type="4"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
<ROW Property="UpgradeCode" Value="{5F4E7CB6-CD9E-42A3-A079-DA074FBD62B8}"/>
Expand Down
4 changes: 2 additions & 2 deletions Video2x/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Video2x"
mc:Ignorable="d"
Title="Video2x 1.0.5" Height="450" Width="800">
Title="Video2x 1.0.7" Height="450" Width="800">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="455*"/>
<ColumnDefinition Width="337*"/>
</Grid.ColumnDefinitions>
<Button x:Name="button_enhance" Content="ENHANCE" HorizontalAlignment="Left" Margin="206,184,0,0" VerticalAlignment="Top" Width="367" Height="181" Click="Button_enhance_Click" Grid.ColumnSpan="2"/>
<Button x:Name="button_enhance" Content="ENHANCE" HorizontalAlignment="Left" Margin="206,184,0,0" VerticalAlignment="Top" Width="367" Height="181" Click="Button_enhance_Click" Grid.ColumnSpan="2" FontSize="72"/>
<Button Content="select video" HorizontalAlignment="Left" Margin="30.176,33,0,0" VerticalAlignment="Top" Width="88" Height="30" Click="Button_Click" Grid.Column="1"/>
<TextBox x:Name="textbox_folder" HorizontalAlignment="Left" Height="30" Margin="22,33,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="444" IsReadOnly="True" Grid.ColumnSpan="2"/>
<TextBox x:Name="textbox_save" HorizontalAlignment="Left" Height="30" Margin="22,84,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="444" IsReadOnly="True" Grid.ColumnSpan="2"/>
Expand Down
4 changes: 2 additions & 2 deletions Video2x/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private async void Button_enhance_Click(object sender, RoutedEventArgs e)
//just because threads hates me :(
string input_file = textbox_folder.Text;

await Task.Run(() => Esegui_console(temp_dir, "ffmpeg -i " + input_file + " -vsync 0 img-%d.png", debug));
await Task.Run(() => Esegui_console(temp_dir, "ffmpeg -i '" + input_file + "' -vsync 0 img-%d.png", debug));

progress_bar.Value++;

Expand Down Expand Up @@ -172,7 +172,7 @@ private async void Button_enhance_Click(object sender, RoutedEventArgs e)



await Task.Run(() => Esegui_console(temp_dir, "ffmpeg -r "+framerate+" -f image2 -s "+risoluzione+" -start_number 1 -i img-%d.png -vframes "+frames_count +" -vcodec libx264 -crf "+ compression_rate+ " -pix_fmt yuv420p "+result_file, debug));
await Task.Run(() => Esegui_console(temp_dir, "ffmpeg -r "+framerate+" -f image2 -s "+risoluzione+" -start_number 1 -i img-%d.png -vframes "+frames_count +" -vcodec libx264 -crf "+ compression_rate+ " -pix_fmt yuv420p '"+result_file+"'", debug));

progress_bar.Value++;

Expand Down

0 comments on commit 2dc9fcd

Please sign in to comment.