BrianDMG / conv2mp4

This Powershell script will recursively search through a user-defined file path and convert all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. The purpose of this script is to reduce transcoding CPU load on a media server like Plex or Emby and increase video compatibility across platforms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request - Creating Multiple Outputs

plokjr opened this issue · comments

FFmpeg supports multiple outputs for a single input like so:

ffmpeg -i input \
-s 1280x720 -acodec … -vcodec … output1 \
-s 640x480 -acodec … -vcodec … output2 \
-s 320x240 -acodec … -vcodec … output3

It would be very comfortable to have this option in conv2mp4 to encode videos in multiple resolutions at once. We could produce optimized versions for different devices, like TV and mobile. Is this possible?

commented

I'll look at implementing this within the next 2-3 releases. I really want to avoid over-complicating this script on the user side, so if I can find a way to gracefully implement this feature without negatively affecting ease of use, I will.

Thanks for looking into it! Hopefully there's a way to implement this without affecting ease of use.

commented

Hey, sorry for the long-delayed response, things have been hectic. I've decided that this feature is out of scope for this project. Anyone who wants to see this feature is welcome to either submit a pull request and I'll merge the code, or fork this repository and add the feature.