GithubHelp home page GithubHelp logo

lplr's Introduction

LPLR: Low Powered Letterbox Remover

View LPLR on replit.com

View a demonstration of LPLR on Replit

Who?

Built by me (bildsben).

What?

Low Powered Letterbox Remover (abbreviated to LPLR) is a standalone program designed to run in the background of a LINUX server 24/7 and analyse all the video files in a certain directory and all subdirectories, and detect the recommendedcrop for each of these videos.

Side Note- What is the Letterbox effect on a video?

The letterbox effect occurs when a video is filmed in an aspect ratio such as 16:9, but the video contents are actually in a different aspect ratio (e.g 4:3). This often occurs when videos have been downloaded from the internet where the owner of the video expects a specific aspect ratio. This causes black bars on the top and bottom, sides, or both top bottom and sides of videos. An example is shown below.

A screenshot of a video with the letterboxing effect at the top and bottom of the screen.

Where?

This program is designed to work on LINUX systems only. This MAY work on Windows and Linux if you are able to install your systems version of UNIX's nice and cpulimit.

When?

This program was made in 3 days, hence the absolute spaghetti code.

Why?

Many people such as me have a Plex Media Server running on their linux machines. Some people use software to rip videos from DVDs to put on these servers, but sometimes, these programs can letterbox videos, either on purpouse or an accidental code design. Other times, people may download videos from archive websites such as archive.org, which may sometimes have poorly cropped videos.

Note

It is important to note that, while it works for my machine in the way the program comes, you may need to tweak the main.py file. It is highly reccomended to only modify this if you have been told to, or if you know what you are doing.

If you encounter any errors when trying to run the file, please do not hesitate to reach out to me. You can email me at ben {at} bildsben {dot} com. I will try my best to help you with any issues. In addition, you could open a new issue, and I can try my best to help you out with whatever problems you are facing.

lplr's People

Watchers

Ben avatar

lplr's Issues

random crashing on pi

no confirmed extra details as of yet, suspicious it could be erroring on generating MD5 sum. would make sense for large 2gb files

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.