ffmpeg-python icon indicating copy to clipboard operation
ffmpeg-python copied to clipboard

Python bindings for FFmpeg - with complex filtering support

Results 216 ffmpeg-python issues
Sort by recently updated
recently updated
newest added

I believe this is a typo and is meant to be `.output('out.mp4')` instead of `.input('out.mp4')`

Hello, I know this project has stalled, but for anyone wondering the same thing as me, it is currently impossible in ffmpeg to write linear chains of filters (https://ffmpeg.org/ffmpeg-filters.html#Filtering-Introduction) I...

``` import ffmpeg from glob import glob if glob("input.mp4"): stream = ffmpeg.input('input.mp4') stream = ffmpeg.hflip(stream) stream = ffmpeg.output(stream, 'output.mp4') ffmpeg.run(stream) ``` Even with this simple code, I always trigger this...

Other file uses relative path for input, but this file doesn't. If you use ffmpeg-python without installing from pip, this may occur import errors.

``` import ffmpeg import numpy as np import time if __name__ == '__main__': user = '' password = '' # 访问摄像机需要密码 ip = '192.168.2.91' camera = "rtsp://" + user +...

I want to change all the animations on my hard drive to a format that jellyfin AndroidTV can play. I have been able to modify the video and audio so...

out, err = ( ffmpeg.input(in_file) .filter('select', 'gte(n,{})'.format(frame_num)) .output('pipe:', vframes=1, format='image2', vcodec='mjpeg') .run(capture_stdout=True) ) can I convert video to multiple images with the method above? and what is the parameter "vframes=1"...

when I use udp://233.233.233.223:6666 as ffmpeg.input, How to stop ffmpeg.run automatically where the udp stream is end or destroyed。here my code below,it doesn't work. but if I use rtmp stream...

Error when calling hashlib.md5 on systems where the FIPS=1 option is set

Arch Linux. FFmpeg 6.0. ``` _________________________________ test__probe __________________________________ def test__probe(): data = ffmpeg.probe(TEST_INPUT_FILE1) assert set(data.keys()) == {'format', 'streams'} > assert data['format']['duration'] == '7.036000' E AssertionError: assert '7.035646' == '7.036000' E...