tom472 / mediabox

Container based media tools configuration
MIT License
428 stars 83 forks source link

Request - Add FFmpeg or HandbrakeCLI #110

Closed archshift2 closed 3 years ago

archshift2 commented 3 years ago

Consider adding ffmpeg or handbrakecli as a docker container in order to support Plex DVR post-processing scripts.

tom472 commented 3 years ago

I can look into this - do you happen to have any links to specific containers or any write ups on the topic? Thanks

archshift2 commented 3 years ago

I had attempted to modify my setup with a separate handbrake docker based on a plex forum I came across. Since it is a separate container, a watch folder strategy would be needed. https://forums.plex.tv/t/plex-dvr-linux-docker-post-processing-script-using-handbrake-to-compress-video-and-retaining-close-caption/492673

Since the encoder would really only be used for DVR post processing, it seems like a better approach might be to integrate with a plex container instead of create a separate install and watch folder scheme. https://www.reddit.com/r/unRAID/comments/81l0j8/in_case_anyone_needs_it_ive_created_a_plex_media/

I just stumbled across the second option as I was trying to find a solution. It looks promising and could be integrated into the setup script with a transcoding choice which will select the approach docker image. I might test the alternative docker image to see how it works out.

archshift2 commented 3 years ago

There is a way to invoke the built-in Plex encoder. I was able to download the script below and post-processing was successful. https://github.com/cedarrapidsboy/pms-postprocessing

Suggest marking closed given the specific nature of this request.