Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • FFmpeg, how to output AVIF image series instead of animated AVIF ? [closed]

    23 mars, par EntityinArray

    I 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 EntityinArray

    I 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 Sulli

    I’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 Nimrod

    I 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.

  • Install ffmpeg in to virtual environment

    22 mars, par ldg

    I am trying to install ffmpeg in order to use it on OpenAI to record videos. I have installed it using brew install ffmpeg but somehow when I compile my code I get the same error, it is like the package is not recognized by my virtualenv where I am working.

    Error on Python console:

    raise error.DependencyNotInstalled("""Found neither the ffmpeg nor avconv executables. On OS X, you can install ffmpeg via `brew install ffmpeg`. On most Ubuntu variants, `sudo apt-get install ffmpeg` should do it. On Ubuntu 14.04, however, you'll need to install avconv with `sudo apt-get install libav-tools`.""")
    

    However, when I execute which ffmpeg I got the following path /usr/local/bin/ffmpeg.

    It seems like that Anaconda for example needs a specific command to install this package into its environment, it is the same for virtualenv?

    Thanks in advance.