Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Double Extension, find and convert

    17 février 2020, par Daniel Peters

    Im trying to find and convert all mkv's in a folder and sub directories on ubuntu, ive tried various scripts and commands but cant get one that works fully, this is another one that sort of works but its outputs the file as samplevideo.mkv.mp4 how do i get rid of the .mkv so it renames to samplevideo.mp4

    find /home/storage/folder -type f -name *.mkv -exec ffmpeg -i {} -c:v libx264 -preset ultrafast -minrate 4.5M -maxrate 4.5M -bufsize 9M -c:a ac3 {}.mp4 \;
    
  • Reduce video processing time using FFMpeg ?

    17 février 2020, par Ali Raza

    Users of my app upload videos to my server and I process them to create different qualities, thumbnails and gifs etc. Which are then useful for mobile and web apps. It takes almost 15-20 minutes for each video to be processed. I am using ffmpeg. How can I reduce my processing time ?

  • How can I convert a regular WAV file to a 4bit WAV file using ffmpeg ?

    17 février 2020, par Florin Mircea

    I have tried something along the lines of

    C:\ffmpeg\ffmpeg -i "Blip_Select2.wav" -c:a wav -sample_fmt u8 "Blip_Select2_8bit.wav"

    but I cannot figure out how to access a 4bit conversion.

    I am using the audio for a c# project, 4 bit is sufficient and I prefer wav so I won't have to distribute a possibly restricted usage decoder with my files.

    Edit. I have found a solution using a different software (see my answer below), but I am accepting Mattias's answer as he provided the solution as asked, with ffmpeg.

  • Convert Image and gif to mp4 video [closed]

    17 février 2020, par Rahul Kumar

    I am trying to make mp4 video using ffmpeg with one 2 png image and one gif image to mp4 video

    First one png image will show on video then gif image will be display and after that second png image will be show in mp4 video

  • Delphi opencv ocvFFMpegIPCamSource to a bitmap ?

    17 février 2020, par Linces Marques

    There is a way to a capture/convert ocvFFMpegIPCamSource stream to a bitmap?

    First I try to do this:

    FrameBitmap := TBitmap.Create;
    FrameBitmap.PixelFormat := pf24bit;
    
    Image5.Picture.Graphic := IplImage2Bitmap(ocvView1.Image, FrameBitmap);
    

    // Image5 is my bitmap.

    Obviously is geting a error, because "ocvView1.Image" is of type "IocvImage" and the first parameter of the function IplImage2Bitmap needs a type "pIpIImage"

    I missed something in the middle of the process..

    Second i try using "cvImage2Bitmap":

    FrameBitmap := TBitmap.Create;
    FrameBitmap.PixelFormat := pf24bit;
    
    Image5.Picture.Graphic := cvImage2Bitmap(ocvView1.Image, FrameBitmap);
    

    Again, needs a type "pIpIImage" and i am trying to pass a "IocvImage"

    I cannot see what is missing.

    There is a way to make this conversion?

    I need to do this directly from ocvFFMpegIPCamSource component, or from ocvView component?