![]() source T:\Old mkvs and eg.destination D:\New mkvs :: convert all mkv files in a source Folder to mkv with AC3 using ffmpeg $output = Join-Path $DirOut -ChildPath ((Get-Item $source).basename + "_out.mkv")& $ffpath -i $source -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k $output -loglevel 8 -stats ![]() $ffpath = "C:\Windows\System32\ffmpeg.exe"$DirOut = "D:\converted" $source = Get-ChildItem -path "D:\convert*" -Recurse -Include *.mkv I have attached the two scripts, I hope someone can help me resolve these, thanks it would be good to convert the audio and duplicate the folders in the `converted` folder the same as in the convert folder, but is not essential. Have the video in 7 folders, each have 8 files. the second script allows the source and target directories to be different, but that hasn't worked at all. I have been given 2 scripts, the first one A-worked perfectly yesterday but today is throwing up errors, cant see why. I have a number of video files with DTS audio, I need to convert to AC3 Audio, without reprocessing the video.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |