Questions tagged [ffmpeg-python]

Python FFmpeg wrapper wiith complex filter support. ffmpeg-python works well for simple as well as complex signal graphs.

Python FFmpeg wrapper with complex filter support. ffmpeg-python works well for simple as well as complex signal graphs.

113 questions
0
votes
1 answer

FFmpeg python doesn't merge

I was making this youtube downloader GUI with Python: it asks for the URL, gives you a list with the possible quality settings and downloads the selected video file and the best audio file with youtube-dl. However, when I tell ffmpeg to merge the…
MaLoLHDX
  • 3
  • 4
0
votes
0 answers

FFMPEG Python: Encountered scale(1920, 1080) with multiple outgoing edges with same upstream label None; a `split` filter is probably required

Here is the code in question: for comment in thread['comments']: commentClips += fragmentConcat(comment, filePrefix) staticClip = ffmpeg.input('assets/static.mp4') commentClips.append(staticClip …
Lysander Cox
  • 285
  • 1
  • 2
  • 11
0
votes
1 answer

Creating interlaced videos with ffmpeg-python

I'm probably doing something wrong and/or there is something I don't understand but ... I have a progressive video (here failing1.mp4). Doing a mediainfo on that video confirms that "Scan type" is progressive. If I use the following code to get the…
David Brabant
  • 41,623
  • 16
  • 83
  • 111
0
votes
2 answers

Pipe numpy array to virtual video device

I want to pipe images to a virtual video device (e.g. /dev/video0), the images are created inside a loop with the desired frame rate. In this minimal example i only two arrays which alternate in the cv2 window. Now i look for a good solution to pipe…
sre
  • 31
  • 5
-1
votes
0 answers

How to make ffmpeg follow a variable file path

I have a little Python script. What it should do is to take the last file out a folder and convert it to another with the same filename. The Script: from moviepy.editor import * import glob import os.path #Variabels folder_path =…
Wessie
  • 11
  • 1
-1
votes
0 answers

Any way to merge audio and video files in python?

I have been working on a project and one of the feature is to merge an audio and a video file together. I have no idea on how to approach it. I tried a python package called 'ffmpeg-python' which was recommended but couldn't figure it out how to use…
-1
votes
1 answer

discord.ext.commands.errors.CommandInvokeError: TypeError: VoiceClient.play() missing 1 required positional argument: 'source'

I'm using python to work on a discord bot that plays music. I'm using YoutubeDL and FFmpeg import discord from discord.ext import commands from functools import wraps from youtube_dl import YoutubeDL #Voice Client voice_client =…
Lugia0000
  • 3
  • 2
-2
votes
0 answers

screen recorder/live screen recorder with ffmpeg

I need your help to run ffmpeg code that can be used for screen recording that zooms in, pans and zooms out.
1 2 3 4 5 6 7
8