Skip to content

It converts all videos in a given directory so that all devices which are connected to plex/jellyfin/emby can play seamlessly. It also removes website names from the files so that plex/jellyfin/emby can recognize the movie names and shows the perfect metadata of any given movie.

License

Notifications You must be signed in to change notification settings

srikar-kodakandla/preprocess_videos_for_mediaserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Buffering while playing videos because of transcoding ? or do you have very less computational power in your cloud instance then it's better to convert videos before HTTP streaming.

it converts all videos in a given directory so that all devices which are connected to media server (plex/jellyfin/emby) can play seamlessly. It also removes website names from the files so that media server (plex/jellyfin/emby) or any other media servers can recognize the movie names and shows the perfect metadata of any given movie.

It won't convert the same file again , it checks if it is already converted and skips if it has already converted.so my recommendation is to run this python file using "screen" and also use "crontab" to schedule it to run daily, so that it converts files when ever you add a new video in to that directory.

00 00 * * * screen -dmS preprocess_video_for_mediaserver ipython3 convert_videos_for_media_servers.py

The above command will run every night at 12:00 AM it converts video in such a way that it is efficient in HTTP streaming and better suited for internet streaming , it also suits for almost all devices .if you want to explicitly change the device , then you can give your device name . you can search your device name using the following command

HandBrakeCLI --preset-list

About

It converts all videos in a given directory so that all devices which are connected to plex/jellyfin/emby can play seamlessly. It also removes website names from the files so that plex/jellyfin/emby can recognize the movie names and shows the perfect metadata of any given movie.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages