common FFMPEG & MENCODER command

Discussion in 'Programming' started by dracula51, Jun 11, 2009.

  1. #1
    Hi
    can anyone plz give me a common FFMPEG & MENCODER conversion command that can convert MPG, WMV, MP4, 3GP, FLV, MOV, AVI to FLV ??

    currently im using these:
    
    for MP4 >> -f flv -s 380x240 -r 20fps -b 1000kbps -g 100 -acodec libmp3lame -ar 22050 -ab 48000 -ac 1 -y
    
    for MOV >> -f flv -vcodec flv -b 512kb -s 356×240 -qmin 1 -qmax 31 -acodec libmp3lame -ar 22050 -ac 1 -y
    
    (both for FFMPEG)
    
    for MPG,WMV,AVI >> -ofps 25 -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=400:trell:v4mv:cbp:last_pred=3
    (this one for MENCODER)
    
    [I]still not find the better command for FLV to FLV :rolleyes:[/I]
    
    Code (markup):
    so...if u use MP4's command in MOV file..result will be wired

    now im tired of this bunch of command....i want a common command that work for MPG, WMV, MP4, 3GP, FLV, MOV, AVI to convert to FLV with best quality with lowest file size (well, im not talking 10 minute HQ video with 2mb size....just talking about the highest possibility)

    common command can be for FFMPEG or for MENCODER



    another thing....i cant convert 3GP to FLV (with audio) as i dont hav installed LibAMR
    i google it & found: ./configure -enable-libamr......................... (like this)
    configure is the ffmpeg's configure file. but where it is ?
    i installed ffpmeg by simple ssh command yum install ffmpeg & the FFMPEG file in the /usr/bin/
    then where's the ffmpeg's configure file ???
     
    dracula51, Jun 11, 2009 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #2
    ./configure is called before you call ./install ./setup. This means you have to install the program again with the configuration.

    Peace,
     
    Barti1987, Jun 11, 2009 IP