jonghwanhyeon / python-ffmpeg

A python binding for FFmpeg which provides sync and async APIs
MIT License
302 stars 53 forks source link

Add option to use same way as ffmpeg in command line #20

Closed mi4code closed 1 year ago

mi4code commented 1 year ago

in some cases it would be useful to have option to pass parameters in the same format as when calling ffmpeg directly from command line

ffmpeg = FFmpeg().cmdline("-i input.mp4 -c:v hevc -c:a copy output.mkv")
mi4code commented 1 year ago

changed branch to https://github.com/mi4code/python-ffmpeg/tree/cmdline (i can open new PR if desired)