Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Reducing a ffmpeg two-pass xml profile to a single pass profile

    14 octobre 2013, par M.frank

    I am to reduce the XML profile below to a single pass profile rather than a two-pass profile. The settings are (if possible) the same. The profile looks like this:

    <?xml version="1.0" encoding="utf-8"?>
      
        
          -i %infile% -vcodec libx264 -aspect 4:3 -s 480x360 -r 25.000 -vb 380000 -vprofile main -level 3.0 -pix_fmt yuv420p -pass 1 -sn -an -y %outfile%
        
        
          -i %infile% -vcodec libx264 -aspect 4:3 -s 480x360 -r 25.000 -vb 380000 -vprofile main -level 3.0 -pix_fmt yuv420p -pass 2 -sn -acodec libvo_aacenc -ab 48000 -ar 22050 -ac 2 -y %outfile%
        
      
    

    My idea was to just remove the two-pass cmdline, but I want to make sure that it is correct.

  • EmguCV/ FFmpeg get video information

    13 octobre 2013, par user1960810

    How to get information about a video file (ex: frames per second, bitrate, frame height, width etc) using emguCV or FFmpeg to a C# code. I am using C#.net for my project.

  • need a solution to Convert Images to Video in C# (except ffmpeg) [on hold]

    13 octobre 2013, par Sam35

    I'm using set of captured images to convert it as a video using C#.I need a good C# library to do it.

    Simply i can use the ffmpeg.But Because of the GPL License issue,i couldn't use it.

    I need a good free library with a good compression mechanismn (Not with GPL Licenses).

    Please anybody suggest a solution for this.

    thanks.

  • Header for F_NOCACHE in Linux

    12 octobre 2013, par artaxerxe

    I got FFMpeg repository on my Ubuntu machine, installed it and imported in Eclipse as a project. Anyway, at compile time (the FFMpeg project from eclipse) I get this error:

    ’F_NOCACHE’ undeclared (first use in this function)

    This error is coming from this code line:

    fcntl(fd[i], F_NOCACHE, 1);
    

    both headers for fcntl are included, according to man pages. Can anyone tell me why I get this error and how to solve it? It seems to me that F_NOCACHE is related only to BSD systems.

    Thanks in advance!

  • FFMPEG scaling, how to set scale so width AND height don't exceed a certain amount ?

    12 octobre 2013, par Darius

    I have 2 videos, one is 500 pixels by 100 pixels (just an example, like something recorded sideways on an iphone). And a 1980 x 400 pixels videos. I need the video to convert maintaining aspect ratios. I know of the -vf scale filter such as -vf scale=-1:320, but that only takes the width and scales the height accordingly. My 500 x 100 video would be 320px wide and 1600 pixels tall. That's bad, I need it to be max 500 pixels tall and max width of 320 (just example sizes).

    How would I configure the -vf scale function to do that?

    Using latest ffmpeg 0.11

    Recap: scale any video to max 500 height : 320 width while keeping aspect ratio