ffmpy3
ffmpy3 copied to clipboard
Pythonic interface for FFmpeg/FFprobe command line
``` async def imgCover(input, output): # ffmpeg -i "https://img.91p51.com/thumb/671451.jpg" '1849226733/1849226733.jpg' print('截图入参:', input, output) ff = ffmpy3.FFmpeg( inputs={r'"'+input+'"': None}, outputs={output: ['-y', '-loglevel', 'quiet']} ) print(ff.cmd) await ff.run_async() await ff.wait() ``` this...
inputs = OrderedDict([(outvideo, None), (outvoice, None)]) outputs = {output, '-c copy -map 0:v:0 -map 1:a:0'} ff = ffmpy3.FFmpeg( inputs=inputs, outputs=outputs ) print(ff.cmd) ff.run() Traceback (most recent call last): File "ts.py",...
Hello, I had successfully installed the ffmpy3 by the command of pip install ffmpy3. But when I transfered my vide by the following code, an error found. The transfer code...
I set up to cut one picture every 5 seconds and cut 5 pictures. Why is the time of the first and second pictures the same, and the interval between...
your job is really useful,thanks for your code. i am using ffmpy3 to build a transcode program for my vidio.