Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Requested MovieWriter (ffmpeg) not available even when I installed it
23 mars, par EXODIAI am running this command.
import bar_chart_race as bcr bcr.bar_chart_race(df=covid_df,filename=None,figsize=(3.5,3),title='Covid-19 Cases by State',n_bars=10)
Getting the below error
Exception: You do not have ffmpeg installed on your machine. Download ffmpeg from here: https://www.ffmpeg.org/download.html. Matplotlib's original error message below: Requested MovieWriter (ffmpeg) not available
Have already installed the module
D:\py\Scripts>pip install ffmpeg-python Requirement already satisfied: ffmpeg-python in d:\py\lib\site-packages (0.1) D:\py\Scripts>
-
FFmpeg, how to output AVIF image series instead of animated AVIF ? [closed]
23 mars, par EntityinArrayI want to convert a series of huge PNGs into AVIF.
ffmpeg -i 'img (%d).png' -c:v libsvtav1 -s 1280x720 .\lidl\img%d.avif
FFmpeg always outputs an animated AVIF. How to force it to output AVIF image series?
-
FFmpeg, output AVIF image series instead of animated AVIF
23 mars, par EntityinArrayI want to convert a series of huge PNGs into AVIF.
ffmpeg -i 'img (%d).png' -c:v libsvtav1 -s 1280x720 .\lidl\img%d.avif
FFmpeg always outputs an animated AVIF. How to force it to output AVIF image series?
-
Concat lots of audio files to a video with ffmpeg [closed]
22 mars, par SulliI’m using this ffmpeg command to add audio effects at certain times to a video file:
ffmpeg -i C:\path\to\video.mp4 -i C:\path\to\audio1.wav -i C:\path\to\audio2.wav -filter_complex "[1]adelay=0|0[a1]; [2]adelay=960|960[a2]; [a1][a2]amix=inputs=2[a]" -map 0:v:0 -map [a] -c:v copy -c:a aac -b:a 192k -loglevel error -y C:\path\to\output.mp4
it works, but when I want to add LOTS of audio effects (like more than 200), I get errors like
An unexpected error occurred: [WinError 206] The filename or extension is too long
As it seems to be a command length problem, I might be able to overcome this by using files to read inputs and/or filters, but I have spent the last hours without finding the correct command syntax or file format to achieve that. How can I do that?
-
FFMPEG Failed to Connect to UDP Stream in Kubernetes Pod [closed]
22 mars, par NimrodI have a pod inside my kubernetes (openshift) cluster. The pod tries to connect to a remote UDP video livestream to read frames to be processed. I find that the first 2-4 attempts that the programs makes to connect to the stream fail (timeout) but after around 4 attempts the stream can be connected.
It is even more strange to me because there are multiple stream IPs:ports. So there are times when connecting to a IP/Port fails a couple of times at the beginning but afterwards the program has no issue connecting to a various number of stream sources.
My question is does anyone know why this may be happening and if not, I'd appreciate any suggestions as to how to debug the situation and understand better ffmpeg's behaviour.