VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Jul 2006
    Location
    United States
    Search Comp PM
    Hi. I'm trying to convert my avi videos to flv videos. I can convert them successfully from the command. Now, I want to be able to resize my videos to make them smaller. Is there a way to tell ffmpeg to resize my videos so they're no larger than 400 px wide? I couldn't find an option for this. Is there a better tool than ffmpeg that can accomplish this, that is also a command line tool? Thanks!
    Quote Quote  
  2. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by bla4free
    Is there a better tool than ffmpeg that can accomplish this, that is also a command line tool? Thanks!

    Winff is as I understand a gui for ffmpeg that also gives you a command line option. However, I believe the size option command is -s
    Quote Quote  
  3. Member
    Join Date
    Jul 2006
    Location
    United States
    Search Comp PM
    Thanks for the response. I know the -s will let you set the size; however, I only wanted to set the maximum width. The -s option required ###x###. I only wanted to set a max width.
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    no,
    can't do that.

    use mencoder,

    for a ffmpeg gui look to Avanti

    tripp
    Quote Quote  
  5. Member
    Join Date
    Jul 2006
    Location
    United States
    Search Comp PM
    I don't need a front-end for ffmpeg--I only needed a way to set a max width. We have a process that runs at night that will convert all of our interviews to flash. I looked at mencoder; however, I need something that will run on windows. Thanks!
    Quote Quote  
  6. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    But Mencoder DOES run under Win32.
    Quote Quote  
  7. Member
    Join Date
    Jul 2006
    Location
    United States
    Search Comp PM
    Originally Posted by Midzuki
    But Mencoder DOES run under Win32.
    You're right. When I clicked the mencoder link in the post, it said it was for Linux in the description. So I only assumed.... I'll give this a try. Thanks!
    Quote Quote  
  8. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    add -s WWWxHHH where WWW is the width, HHH is the hight. If you wanted to make the size 320x200 then do the following

    ffmpeg -Your_first _options -s 320x200 -More_of_your_other_options

    ThymeJ
    Quote Quote  
  9. Member
    Join Date
    Jul 2006
    Location
    United States
    Search Comp PM
    Do you know of any examples to convert an avi to flv with mencoder? I looked at their site but the options overwhelm me! Thanks!
    Quote Quote  
  10. Member
    Join Date
    Jun 2002
    Location
    Redding, California
    Search Comp PM
    Originally Posted by 45tripp
    for a ffmpeg gui look to Avanti

    tripp
    Is Avanti still available? Can't seem to find it.
    Quote Quote  
  11. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    why don;t you click on it?

    alive and thriving
    Quote Quote  
  12. Member
    Join Date
    Jun 2002
    Location
    Redding, California
    Search Comp PM
    Thanks tripp.... I was clicking on the right side of the page.
    Quote Quote  
  13. Originally Posted by bla4free View Post
    Is there a way to tell ffmpeg to resize my videos so they're no larger than 400 px wide?
    Yes:
    Code:
    ffmpeg -i input.avi -vf scale="'if(gt(iw,400),400,iw)':-1" output.flv
    (sources: this & this)

    iw = input width
    -1 = whatever height preserves the aspect ratio
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!