Buying $40 for FFMPEG / Mencoder to create small size MP4 (Command Line)

Discussion in 'Programming' started by bunbunx2, Oct 17, 2011.

  1. #1
    $40 for FFMPEG / Mencoder to create small size MP4 (Command Line)

    I came upon a site which have lets say an original AVI file about 150mb, that site was able to convert it to 20-30MB and work with online streaming.

    What i want is the COMMAND LINE to type in COMMAND PROMPT. TAKE NOTE: I DON"T NEED ANY PROGRAM, i just want the command line for MENCODER or FFMPEG to create same output and compression as the one below. The file size of the file need to be greatly reduce yet in a good quality .


    PM me the solution & Your paypal detail. I will announce when job close, else it will be open to you guys.


    The metadata below is as followed:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'encoded_563d0655790.mp4':
    Metadata:
    major_brand : isom
    minor_version : 1
    compatible_brands: isom
    creation_time : 2011-10-16 18:10:25
    Duration: 00:12:08.78, start: 0.000000, bitrate: 196 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 1
    62 kb/s, 15 fps, 15 tbr, 15 tbn, 30 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 44100 Hz, 2 channels (FC), s16, 31 kb/s
    Metadata:
    creation_time : 2011-10-16 18:10:25
     
    bunbunx2, Oct 17, 2011 IP
  2. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hello,

    We can do this through the linux console, using the command
    " ffmpeg -i abc.avi abc.mp4 "

    ===============

     
    maestria, Oct 19, 2011 IP
  3. tiamak

    tiamak Active Member

    Messages:
    81
    Likes Received:
    2
    Best Answers:
    3
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    i converted sample avi file to bitrates you posted but quality is awful.
    anyway command is:
    it converted 360mb avi to 40mb mp4 but as i said quality sucks.
    for me best result was with following command:
    which gave me 170mb output out of 360mb input file and almost the same quality.

    imho you need to play around with different bitrates to find one that fits your needs
    it should be like: file size / duration = totalbitrate and total bitrate - audio bitrate = video bitrate

    btw You might need to upload libx264-medium.ffpreset libx264-medium_firstpass.ffpreset to /usr/share/ffmpeg/ directory.
    You can get it for example from here:
    http://trac.assembla.com/oitjp_turb...e/ffmpeg/share/ffmpeg/libx264-medium.ffpreset
    http://bencos.googlecode.com/svn-history/r156/trunk/out/presets/libx264-medium_firstpass.ffpreset
     
    tiamak, Oct 20, 2011 IP