Performant Pythonic FFmpeg Decoder Library with easy to adapt flexible API

  DeFFcode is a Performant and Robust FFmpeg Pythonic Library that aimed at decoding any stream that you throw at it. Requiring minimal efforts, it aims at providing an easy-to-adapt flexible API for reading frames from a wide range of streams, and can ingest video using any specified decoder(even hardware ones) into any pixel format FFmpeg supports. It also enables accurate seeking for extracting only a specific part of your input as desired. It is cross-platform, runs on Python 3.7+, […]

Read more

Run an FFmpeg command and see the percentage progress and ETA

A command line program that runs an FFmpeg command and shows the following in addition to the FFmpeg output: Percentage Progress Speed ETA (minutes and seconds) Example: Progress: 25% | Speed: 22.3x | ETA: 1m 33s python3 better_ffmpeg_progress.py -c “ffmpeg -i input.mp4 -c:a libmp3lame output.mp3” I have also included a function, which can be imported and used in your own Python program or script: run_ffmpeg_show_progress(“ffmpeg -i input.mp4 -c:a libmp3lame output.mp3”) GitHub https://github.com/CrypticSignal/better-ffmpeg-progress    

Read more

CLI Utility to encode and recreate directories with ffmpeg

FFenmass CLI Utility to encode and recursively recreate directories with ffmpeg. Features Processing whole directories with ffmpeg. Recreating directories with identical foldernames/filenames on the output. Skipping Files that have alredy been processed. Deleting half processed files, to keep output directory clean. Ignoring non media files. Getting Started FFenmass is an ffmpeg wrapper, adding the ability to process media files in directories and recreate them recursively. Prerequisites ffmpeg ffpb – Yeah I cant be bothered to make a ffmpeg loading bar, […]

Read more