Created
May 21, 2015 18:06
-
-
Save yanoshi/e351e4ed695bb3218396 to your computer and use it in GitHub Desktop.
AutoConvert + A's Video Converter で AMD VCEを行うためのスクリプト群(encoder.ps1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[string]$output_fullpath | |
) | |
$input_fullpath = [System.IO.Path]::ChangeExtension($output_fullpath, ".avs") | |
$input_filename = Split-Path $input_fullpath -Leaf | |
$output_path = Split-Path $output_fullpath -Parent | |
Start-Process -FilePath "C:\Program Files (x86)\A's Video Converter\AsVideoConv.exe" -ArgumentList "/p" , "main" , "/o$output_path" , "/i$input_fullpath" , "/c4" , "/m" -Wait | |
$temp_filename = [System.IO.Path]::ChangeExtension($input_filename, ".mp4") | |
$temp_fullpath = Join-Path $output_path $temp_filename | |
mv -LiteralPath $temp_fullpath $output_fullpath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment