Giter Site home page Giter Site logo

rcfilmplexpost's Introduction

#RCfilmPlexPost Updates:

October/31/2017

Ok to save space on my NAS drives and to become more MacOS compatible. I have updated the code to a mp4 container & FFmpeg will transcode HEVC. I have included the vtag hvc1 for MacOS/iOS compatibility. This means that if you update your iOS and TVos profiles to allow direct play of HEVC and of course you’re running iOS 11 then you will have a great day.

I have currently tested this with resolutions all the way to 4K with my Apple TV 4K

It takes my server about 45 minutes to transcode at 1080 broadcast of one hour.

Before the file size was 1 to 3 GB. Now the total file size is around 350 to 400 MB for the same quality

Added support to copy subtitles & metadata information over from original source

You can of course tweak all the settings to your own liking

October/20/2017

I added a RCwrapper.sh to bypass the Plex internal python. RCfilmPlexPost requires python 2.x on your system to run so if you don’t have it install one and run with env.

In order to run from the Plex postproccessing you must use the RCwrapper.sh

Files that will need to be edited to work with your system.

RCwrapper.sh

Copy RCfilmPlexPost.conf then edit

Test with ./RCFilmPlexPost.py in cli first then test in Plex with RCwapper.sh

This script was forked from https://github.com/ekim1337/PlexComskip

This script is a complete post processing solution which includes the following functionality:

  • Scanning a show and removing commercials
  • Transcoding the recorded show from mpeg2 to h264 in order to save space
  • Logging of all processing and the option to stash the original file in a safe place in case something goes wrong

Improvements over the original PlexComskip include the following:

  • Use of a new comskip.ini from the comskip forums tuned for use with USA broadcast TV
  • Option to transcode the now commercial free video to h264 using ffmpeg
  • The option to stash the original file in a safe place in case something goes wrong during processing
  • Support for NFS based sources. The original script would crash on shares where the ability to set permissions is limited
  • A new name to reflect the additional functionality

#Requirements

You will need the following software

#Limitations

  • This script uses alot of storage during the processing. A 30 minute 1080i show will need 5G or more of space during the processing step
  • This was only tested on Linux, further testing is needed for windows

#TODO

  • Remove need for mediainfo binary by finding a better way to scan the resolution from the file
  • Re-arrange script to only transcode if sanity checks pass
  • Filters for shows you don't want to comskip
  • Transcode ONLY option
  • Rewrite to be better in every way

rcfilmplexpost's People

Contributors

ekim1337 avatar ephro avatar rcfilm avatar someone2b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gex2501

rcfilmplexpost's Issues

Crash if stash dir isn't set

Crash if stash dir isn't set even if stash-original: False
This is the original config file;

#Specify whether to save a copy of the original recording. A directory then needs specified to stash the original file. This gives you something to restore if comskip or transcoding goes wrong
stash-original: False
#stash-dir: /media/share/RCfilmPlexPost

This is what I changed to;

#Specify whether to save a copy of the original recording. A directory then needs specified to stash the original file. This gives you something to restore if comskip or transcoding goes wrong
stash-original: False
stash-dir: /media/share/RCfilmPlexPost

Any updates since 2017?

I'm wanting to try this on freenas where plex is running. Has there been any updates since 2017?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.