ffmpeg-python
lossless-cut
ffmpeg-python | lossless-cut | |
---|---|---|
32 | 308 | |
9,444 | 22,331 | |
- | - | |
0.0 | 9.5 | |
about 1 month ago | about 14 hours ago | |
Python | TypeScript | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ffmpeg-python
-
FFmpeg 6.0
Even given an option it can be difficult to find the corresponding documentation, if only because of the many different submodules and encoders and decoders and filters that have o-so-slightly different options. That said, I've just switched from pydub to ffmpeg-python (due to memory issues of the former[1]) and judging from the Jupiter notebook[2] it seems a much more intuitive method of constructing ffmpeg pipelines.
[1] https://github.com/jiaaro/pydub/issues/135
[2] https://github.com/kkroening/ffmpeg-python/tree/master/examp...
-
I've made a Python script to convert my flacs to mp3s and expanded it a little bit (to keep folder structure, work with cover art etc), sharing it here just in case someone wants to use it :)
You might want to look into ffmpeg-python as well
-
Looking for an ffmpeg alternative
This bug on github sounds like the same issue you have
-
Im making a video editor in Python. Yes, i'm crazy. No, it wont lag
take a look at https://github.com/kkroening/ffmpeg-python
-
How to grab an international internship in 3rd year
The ffmpeg-python python package still makes use of the “future” python package (search for “past” in the code base). These should be removed and updated as necessary.
-
Altering individual pixels in individual frames in ffmpeg Python
I've had a look through these examples, but I can't get the numpy conversion to work (I get broken pipe errors, but if any of you can get it working this solution would be ideal)
-
Is Generative Cinema possible?
Your going to be wanting to enumerate all the files in a folder, shuffle them, and then use a library for splicing them together. A quick google search brought me to moviePy, which seems pretty solid. ffmpeg is the industry standard for programmatically working with video, but it's...complicated to say the least. Looks like there are some good python bindings for it, but it may be overkill for this project. I'm sure there are others out there too.
-
Shotcut is a free, open-source, cross-platform video editor
stitching [0], [1], and [2]
[0]https://github.com/kkroening/ffmpeg-python#quickstart
[1]https://kkroening.github.io/ffmpeg-python/#ffmpeg.zoompan
[2]https://ffmpeg.org/ffmpeg-filters.html#Examples-133
-
Ffmpeg Buddy
I've been using ffmpeg-python recently, and it will do a lot of the crazy complex transforms for you, and you can write sane python code vs. trying to deal with the crazy default ffmpeg syntax.
https://github.com/kkroening/ffmpeg-python
-
Metadata for each frame of a video
ffmpeg is the traditional Swiss Army knife for video stuff. there's a Python library out there. might not be appropriate in an embedded environment though, it's a bit of a beast.
lossless-cut
-
Show HN: CompressX, my FFmpeg wrapper for macOS, made $9k in the last 4 months
For lossless cut, there's the LosslessCut [1] app, which even has an experimental but mostly working version of a "smart cut" feature [2] (aka. only re-encode the minimal mandatory amount of frames if you trim at a point between 2 key frames)
[1]: https://github.com/mifi/lossless-cut
[2]: https://github.com/mifi/lossless-cut/issues/126
-
Cleaning up my 200GB iCloud with some JavaScript
> thought I cropped/edited a video, it is still there in full length and resolution
It's been possible to create a clip from a video file that merely changes what parts of the video are displayed without effecting the data in the original since the Classic Mac OS days.
If you want to completely remove unwanted portions of a video to reduce the size without a loss of quality, there are many options. LosslessCut is one option that is both free and open source.
https://github.com/mifi/lossless-cut
-
windows photos app wont let me trim videos
LosslessCut
- Best way to cut down 6 hr footage?
- FFmpeg is getting better with multithreaded transcoding pipelines
- Lossless Cut: The Swiss army knife of lossless video/audio editing
-
Lossless Cut is my new favourite tool to cut parts from a video without any hassle
Lossless Cut is probably the simplest way to cut out parts of a video without having to re-encode it or use an online service. It is open source, free and available for all platforms. It is in essence a frontend for FFMPEG and cuts without re-encoding, so the results are instantaneous.
-
Tips and utilities to manage collections of videos.
Additionally I would like if possible to shorten (both to reduce dimension and to make them less boring) my videos by trimming the beginning and/or ends where often there is nothing interesting happening and possibly change the thumbnails for easier identification. Do you know of any tool that does the job with the minimum quality degradation possible? Many years ago I've tried with some videos and a tool I don't remember anymore, ending up with a bunch of corrupted files :( I've found https://github.com/mifi/lossless-cut for the point above.. need to try it. please let me know what experience you have with it.
-
Why is Clipchamp Ruining My Videos?
Lossless Cut would probably be a better choice for this. Will let you cut out the commercials without having to re-encode the video.
-
VidCutter: A program for lossless video cutting
>Of course, you could only re-encode only the GoPs that get broken while keeping the rest intact, and I guess this would be better and a lot faster than re-encoding everything. I don't know if any application tries to do this.
LosslessCut does have experimental support for this partial re-encode called "smart cut" [1]. Since it's using ffmpeg internally, the challenge become how to instruct ffmpeg to do this[2]?
[1]: https://github.com/mifi/lossless-cut/issues/126
What are some alternatives?
moviepy - Video editing with Python
HandBrake - HandBrake's main development repository
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
ReelSteady-Joiner - ReelSteady Joiner merge multiple GoPro separate video files into one without losing the gyro data
pydub - Manipulate audio with a simple and easy high level interface
yt-dlp - Fork of youtube-dlc with additional features and fixes [Moved to: https://github.com/yt-dlp/yt-dlp]
m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
ShareX - ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
pythonic-cv - Performant pythonic wrapper of unnecessarily painful opencv functionality
obs-StreamFX - StreamFX is a plugin for OBS® Studio which adds many new effects, filters, sources, transitions and encoders! Be it 3D Transform, Blur, complex Masking, or even custom shaders, you'll find it all here.
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
openshot-qt - OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.