Coder Social home page Coder Social logo

video-compressor's Introduction

Cheezos Video Compressor

A no-BS video compressor.

Features

  • Compresses multiple videos in a queue system.
  • Compresses videos to any file size.
  • Automatically downloads FFmpeg (Windows only).
  • Notifies on completion.

Preview


Created with Python, PyQt and FFmpeg.

video-compressor's People

Contributors

cheezos avatar

Stargazers

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

Watchers

 avatar  avatar

video-compressor's Issues

Program crashes when compressing

I select a video, enter a size, press compress and it just crashes,

This is whats left in command line:

C:\Users\ryanp\Documents\video compressor>CheezosVideoCompressor_v3.0.0.exe
No temporary files to remove
Verifying directories...
Root: C:\Users\ryanp\Documents\video compressor
Bin: C:\Users\ryanp\Documents\video compressor/bin
Output: C:\Users\ryanp\Documents\video compressor/output
Directories verified
Verifying FFmpeg...
Windows detected
FFmpeg verified
Selected: ['C:/Users/ryanp/Videos/Captures/osu!  - Toyama Nao - Gunjou Infinity [2nd hard] 2023-03-25 18-33-36.mp4']
'C:\Users\ryanp\Documents\video' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "C:\Users\Colt\Desktop\video-compressor\src\thread.py", line 60, in run
  File "C:\Users\Colt\Desktop\video-compressor\src\utils.py", line 21, in get_video_bitrate
  File "C:\Users\Colt\Desktop\video-compressor\src\utils.py", line 15, in get_video_length
ValueError: could not convert string to float: b''

C:\Users\ryanp\Documents\video compressor>

Request: Set file size by percentage of original

Hey, really cool tool. Exactly the simplicity I was looking for. It would be great if I could just throw in videos of different sizes, and for each individual video the target size of the converted video will be x% of the original video, e.g. 50% or 33%. Thanks a bunch!

Program crashes as soon as I hit "compress"

I've tried with mp4 and webm files of varying sizes and lengths (including less than 1 min ones). All of them crash the moment I select compress.

I tried changing the file names to just have letters in case some special characater was messing it up but that didn't fix it either.

Choosing different compression sizes didn't help either.

I'm not sure what I can do at this point. There are no errors or anything, the program simply shuts down the second I hit compress.

Feature Requests

  • Add a progress bar at the bottom
  • Option to compress files to same directory as the original (with suffix) or some custom directory

Windows: Tool does not work if spaces are present in the path to ffmpg

If ffmpg/video-compressor is downloaded to a location with spaces in its path name, the utility will fail citing incorrect clip parameters (even if clipping is disabled) - in this case it was because I had downloaded the tool to "Chrome Downloads"
You can see in the command line window that it errors about X not being a valid place or executable, where X is the file path up to the space.

Straight forward workaround is to drop the tool off elsewhere else so the path does not use spaces.

Windows 10

Love the tool by the way!

CLI version possible?

could a version without qt with a single input file be possible? would love to run on android with termux, but qt prevents this

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.