
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
pyffmpeg
Advanced tools
FFmpeg wrapper for python. It uses the most up-to-date FFmpeg binary to provide both FFmpeg and FFprobe functionality. So you can kill two birds with one stone.
The beautiful thing about this is that it comes with it's own FFmpeg executable. It is compressed, making it the smallest one you can find. Becuase it's cross-platform and python 3, it is the only option available for building cross-platform apps with ffmpeg in python.
Uses current FFmpeg version
pip install pyffmpeg
from pyffmpeg import FFmpeg
inp = 'path/to/music_folder/f.mp4'
out = 'path/to/music_folder/f.mp3'
ff = FFmpeg()
output_file = ff.convert(inp, out)
print(output_file)
OR
from pyffmpeg import FFmpeg
ff = FFmpeg()
ff.input('path/to/music_folder/f.mp4').output('path/to/music_folder/f.mp3').run()
Or for multiple input files
ff.input(
'path/to/music_folder/f.mp4',
'path/to/music_folder/g.mp3',
map=['0:1', '0:0']
).output('path/to/music_folder/f.mp4').run()
This method allows more complex file handling
Provides FFprobe functions and values
from pyffmpeg import FFprobe
input_file = 'path/to/music.mp3'
fp = FFprobe(input_file)
print(fp.duration)
will print
> 00:04:32:32
NB: The above digits are just for illustration purposes.
The wiki can be located here
Contributions are welcome. Please read Contributing
This library uses prebuilt binaries of <a href=http://ffmpeg.org>FFmpeg licensed under the <a href=http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>LGPLv2.1 and can be downloaded via the following links:
FAQs
FFmpeg wrapper for python
We found that pyffmpeg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.