Here's the latest attempt before giving up. mkv with the same naming scheme.Įxample of running the script with D:\Videos as the target directory:ĭ:\Videos\home_dvr\movies\video1.mkv -> D:\Videos\home_dvr\video1.mp4ĭ:\Videos\home_dvr\tv\video2.mkv -> D:\Videos\home_dvr\tv\video2.mp4Īs you can guess, I can't figure it out for the life of me. mp4 via the above command, and place them in the same location as the. mkv files (Get-ChildItem ".*.mkv"), transcode them to. What I want is have a PowerShell script that will run once, scanning a folder and all sub-folders for. The command I've been running is as follows: ffmpeg -i OldVideoName.mkv -vcodec copy -acodec ac3 OldVideoName.mp4 mp4 so I could have better playback support to my PlayStation 3 via Plex, and thought that this would be a good learning experience. Hell show you why this process is so much easier that using a video editor to combine and encode files, mainly because this method is so fast Prerequisites include: ffmpeg (. Recently, I've begun using FFMPEG to convert all of my. I thought that it would be a good learning experience for me to play around with PowerShell at home, far away from my production environment. With that being said, I have no idea what I'm doing (surprise, surprise). Being the good Windows systems admin that I am, I'm finally getting around to learning PowerShell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |