Newest 'ffmpeg' Questions - Stack Overflow

Articles published on the website

  • SETX is not recognized as an internal or external command operable program or batch file [duplicate]

    6 April, by anonymous

    (skip this paragraph if you don't care about context): So I was trying to record inside of Minecraft using the replay mod, and to render a video I have to install this thing called ffmpeg to render it, and my fears were correct, SETX is not recognized.

    So, a while back I had to redo my javac because that wasn't recognized, but when I did get that fixed, it made all my other commands toast, except the basic ones like "copy" or "del". I don't know how, I'd assume I'd need to manually input the path variable and everything because I doubt I could even find anything in the system variables for it, but that may not be the case. Suggest some YouTube vids, or a thorough and non-complicated explanation if you can, because for some reason, some instructions go through one ear and out the other.

    I also posted this in /r/feedthebeast, but I doubt anyone will find a solution there.


  • convert multi file in multi folder with ffmpeg

    6 April, by SaeiD

    i want to use ffmpeg for convert all file in multi folder for example i want to convert all audio on more then 170 folder with ffmpeg at once


    This folder also contains files in other formats

    on these folders i have more then 1000, ogg file i want to convert all of them to wav at once

  • ffmpeg make slideshow with images and videos

    6 April, by atticus

    I'm trying to make a slideshow with ffmpeg that should contain videos and images. Since as far as I know, ffmpeg cannot do this in one step (which would be of course the preferable step) I'm breaking it up to make a slideshow of some images and concatenate the resulting video with another video.

    The problem with this is that when making a slideshow with ffmpeg (like described here: the framerate is adjusted to make it possible to view one image for a longer time.

    Now I've got multiple videos with different framerates to concatenate which is no good (I didn't got it working).

    I also tried to make the slideshow with a higher framerate (with -vf fps=25) but I didn't got this working.

    (since I have images from different locations/not all images of the current directory should be concatenated at once I really need to use the concat demuxer (as far as I know))

    Does someone know how to do this right?

    What I already tried:

    ffmpeg -safe 0 -f concat -i tmp -vsync vfr -pix_fmt yuv420p -vf fps=25  output.mkv

    with a file tmp looking like this: (see the link above for reference)

    file /path/to/file1.JPG
    duration 2
    file /path/to/file2.JPG
    duration 2
    file /path/to/file2.JPG

    This gives me a video which somehow only the first image.

    ffmpeg -safe 0 -f concat -i tmp -vsync vfr -pix_fmt yuv420p output.mkv

    with a file tmp looking like this: (see the link above for reference)

    file /path/to/file1.JPG
    duration 2
    file /path/to/file2.JPG
    duration 2
    file /path/to/file2.JPG

    This gives me a file which shows all images at the right rate (everything right up to now) but I'm unable to concatenate it with the right video (25fps) with ffmpeg -safe 0 -f concat -i <(printf "file ${PWD}/%s\n" "output.mkv" "video.mp4") -c copy out.mkv

  • How to merge two video using FFMPeg library on Android

    6 April, by i i

    How to merge two video using FFMPEG Library on Android studio? I want to get first video from url.

  • Combining an audio file with video file in python

    6 April, by Fahadkalis

    I am writing a program in Python on RaspberryPi(Raspbian), to combine / merge an audio file with video file.

    Format of Audio file is WAVE Format of VIdeo file is h264

    Audio and video already recorded and created at same time successfully, I just need to merge them now.

    Can you please guide me on how do I do that?