Results 1 to 7 of 7

Thread: Anyone know of a good ffmpeg guide?

  1. #1
    Join Date
    Aug 2007
    Beans
    278

    Anyone know of a good ffmpeg guide?

    The --help for ffmpeg is overwhelming, and the documentation isn't thorough enough. Does anyone know of a good ffmpeg guide? There's a lot I can do with it, I know, but it's not at all newbie-friendly.
    Quote Originally Posted by YAOMTC
    Well, I've come up with this.

    Code:
    ffmpeg -i benny_lava.avi -s 72x54 -t 14 -r 25 -pix_fmt rgb24 benny_lava.gif
    The problem, though, is that somehow the GIF ends up being 7 seconds instead of 14; thus, double the speed.

    Also, how does the GIF, which is much smaller in frame size than the ~650KB AVI and without audio, end up 1.5MB?

    http://www.hotlinkfiles.com/files/13...benny_lava.avi
    http://www.hotlinkfiles.com/files/13...benny_lava.gif
    Last edited by YAOMTC; May 26th, 2008 at 01:36 AM.

  2. #2
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Anyone know of a good ffmpeg guide?

    It also doesn't help that the option names change often between revisions. I have a few good resources available:
    ffmpeg doc
    ffmpeg faq
    HOWTO: Compile the latest ffmpeg and x264 from source
    Encode Video for iPod with ffmpeg
    iPod video guide

    What are you trying to do with ffmpeg?

  3. #3
    Join Date
    Mar 2006
    Location
    Saint Petersburg, FL
    Beans
    1,123

    Re: Anyone know of a good ffmpeg guide?

    Here's a guide to some of the advanced features of ffmpeg:

    http://www.itbroadcastanddigitalcine...peg_howto.html
    For those new to Ubuntu most of your answers can be found at help.ubuntu.com or ubuntuguide.org

  4. #4
    Join Date
    Aug 2007
    Beans
    278

    Re: Anyone know of a good ffmpeg guide?

    Well, I've come up with this.

    Code:
    ffmpeg -i benny_lava.avi -s 72x54 -t 14 -r 25 -pix_fmt rgb24 benny_lava.gif
    The problem, though, is that somehow the GIF ends up being 7 seconds instead of 14; thus, double the speed.

    Also, how does the GIF, which is much smaller in frame size than the ~650KB AVI and without audio, end up 1.5MB?

    http://www.hotlinkfiles.com/files/13...benny_lava.avi
    http://www.hotlinkfiles.com/files/13...benny_lava.gif

  5. #5
    Join Date
    Oct 2007
    Location
    Europe
    Beans
    3,564
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Anyone know of a good ffmpeg guide?

    there is a frontend gui for ffmpeg, have a look
    http://www.winff.org/

  6. #6
    Join Date
    Aug 2007
    Beans
    278

    Re: Anyone know of a good ffmpeg guide?

    Quote Originally Posted by gandaran View Post
    there is a frontend gui for ffmpeg, have a look
    http://www.winff.org/
    Thanks. Good for future use.

    Unfortunately, useless for this. It doesn't convert to GIF.

    The problem listed in my previous post still remains.

  7. #7
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Anyone know of a good ffmpeg guide?

    Quote Originally Posted by YAOMTC View Post
    Well, I've come up with this.

    Code:
    ffmpeg -i benny_lava.avi -s 72x54 -t 14 -r 25 -pix_fmt rgb24 benny_lava.gif
    The problem, though, is that somehow the GIF ends up being 7 seconds instead of 14; thus, double the speed.
    I'm not sure why it does this, but this would be a good question to ask on the ffmpeg-user mailing list. There are very knowledgeable users there, but they may ignore your question if you don't follow proper protocol: use the latest svn version of ffmpeg, show your full ffmpeg command (like you did above), show the full response of ffmpeg, don't "top-post", and don't hijack threads. If you need help compiling ffmpeg, this thread should help: HOWTO: Compile the latest ffmpeg and x264 from source.

    Quote Originally Posted by YAOMTC View Post
    Also, how does the GIF, which is much smaller in frame size than the ~650KB AVI and without audio, end up 1.5MB?
    GIF isn't optimized as a movie codec such as mpeg4. You can compare them to a butterknife and a sword in terms of video encoding compression efficiency.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •