Sign inSign up

htobi02/ffmpeg-media-convert

By htobi02

Updated 12 months ago

Image
0

4.2K

htobi02/ffmpeg-media-convert repository overview

ffmpeg-media-convert

Convert your Movie Media into multiple optimized Versions
complete Readme will be added soon

Info

This Script creates multiple for Plex optimized versions from your Media Library. If your Library contains one 4K HDR Movie, it will get converted into 6 different versions:

  1. 4K HDR 20Mbit
  2. 1080p HDR 10Mbit
  3. 720p HDR 4Mbit
  4. 4K SDR 12Mbit
  5. 1080p SDR 8Mbit
  6. 720p SDR 4Mbit

SD Content will be reencoded in HEVC 1MBit

You can define all Bitrate settings with parameters.

Dependencies

dependencies are automatically downloaded

Usage

pwsh ./transcode-movies.ps1 -MoviePath /PATH/TO/YOUR/MOVIES -NewPath /PATH/FOR/CONVERTED
More Configoptions:
ParameterDescriptionDefault
-codecchoose videocodechevc
-audiocodecchoose audiocodeccopy
-bitrate4khdrBitrate for 4K HDR Content20M
-bitratefhdhdrBitrate for 1080p HDR Content10M
-bitratehdhdrBitrate for 720p HDR Content4M
-bitratesdhdrBitrate for SD HDR Content1M
-bitrate4kBitrate for 4K SDR Content12M
-bitratefhdBitrate for 1080p SDR Content8M
-bitratehdBitrate for 720p SDR Content4M
-bitratesdBitrate for SD SDR Content1M

TODO

  • Depencency Check
  • Auto Update/Download Depencencies
  • create Docker Container
  • Auto Select Codec if no Parameter was set
  • Use Hardwaredecoding if Devices present
  • Merge Files with "CD[X]" in Name
  • Add TMDB Year for Movies without date in Name

Tag summary

Content type

Image

Digest

sha256:10ff466e6

Size

260.3 MB

Last updated

about 1 year ago

docker pull htobi02/ffmpeg-media-convert