Created
February 14, 2023 00:09
-
-
Save 0187773933/f3b0523300465374f27576bc1245bcd6 to your computer and use it in GitHub Desktop.
MakeMKV FFmpeg Combine DVD Tracks to MP4
This file contains hidden or 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
Get-ChildItem -Path . -Filter *.mkv | Sort-Object { [int]($_.Name -replace '.*_t(\d{2}).mkv', '$1') } | foreach { $_.FullName } | foreach { "file '$_'" } | Out-File -Encoding ascii -FilePath output.txt; Get-Content .\output.txt; ffmpeg -y -safe 0 -f concat -i output.txt -c copy combined.mp4; Remove-Item .\output.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment