Created
January 20, 2023 02:54
-
-
Save xxiz/30fec2647c3a4b345a41db38f3b001fe to your computer and use it in GitHub Desktop.
merge srt files with same name
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
Get-ChildItem -Path "path\to\directory" -Filter "S01*.mp4" | %{ ffmpeg -i $_.FullName -i "$($_.BaseName).srt" -c copy -c:s mov_text "_$($_.BaseName).mp4"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment