ffmpeg-python
FFmpeg


ffmpeg-python | FFmpeg | |
---|---|---|
33 | 3 | |
10,292 | 2 | |
1.1% | - | |
0.0 | 0.0 | |
6 months ago | over 3 years ago | |
Python | C | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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 in Python: library to manipulate video and audio
-
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
FFmpeg
-
FFMPEG hangs after a random amount of time
Keep in mind, when communicating with IP cameras, things can happen that might cause the camera or the wire to hiccup. For the most part, ffmpeg handles these situations. However, if the camera is having problems, it's power drops momentarily (for example), that will cause ffmpeg to hang. There is the specific situation of a stream disappearing that will cause ffmpeg to hang. BTW, I'm a developer that has given up getting an ffmpeg patch that fixes this added to the official open source version. The ffmpeg developers say the fix is situation specific, or some similar reason. The gist is, in the low level routine that reads a stream packet off the wire there is no check for the socket itself to have dropped. If the connection drops, ffmpeg will hang, and in some situations and with some less than stellar ip cameras, they re-start an ongoing stream without notice. That triggers this situation just the same as the camera losing power for a moment. I have a modified ffmpeg version with the fix for this here: https://github.com/bsenftner/FFmpeg The fix is actually just 4 lines of code: https://gist.github.com/bsenftner/ba3d493fa36b0b201ffd995e8c2c60a2 My version of ffmpeg is not the most recent, close but not. I found some instabilities in the most recent and have been waiting for that instability to be fixed.
-
What is the smallest contribution to an open source project you've ever made?
You'll need to compile it, in any of the standard methods to compile ffmpeg, as this is just my minor change: https://github.com/bsenftner/FFmpeg and here's a gist showing that only specific change: https://gist.github.com/bsenftner/ba3d493fa36b0b201ffd995e8c2c60a2
-
r/FOSSvideosurveillance Lounge
I've been a lead engineer of video security software for 7 years. Here's a slight mod of FFmpeg that correctly handles IP stream dropouts (where the unpatch FFmpeg will just hang) https://github.com/bsenftner/FFmpeg
What are some alternatives?
moviepy - Video editing with Python
PrusaSlicer - G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
pydub - Manipulate audio with a simple and easy high level interface
m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
OpenTimelineIO - Open Source API and interchange format for editorial timeline information.
pythonic-cv - Performant pythonic wrapper of unnecessarily painful opencv functionality
python-ffmpeg - A python binding for FFmpeg which provides sync and async APIs
video-everyday - Automatically create a '1 second everyday' video
HandBrake - HandBrake's main development repository
gb-nes-pdf-html-zip - A Gameboy ROM that is also an NES ROM, a PDF File, an HTML File, and a ZIP File that contains its own source code
Axiom - An FFmpeg GUI for Windows

