VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Member
    Join Date
    Jun 2007
    Location
    Kuwait
    Search Comp PM
    Hello,


    I have AVI (XVID) file with large file size and i want to convert it to MP4 with less size but the same quality. How i can do that ?!

    AVI Info:
    Code:
    General
    Complete name                            : Combattler_01.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 890 MiB
    Duration                                 : 23mn 11s
    Overall bit rate                         : 5 369 Kbps
    
    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Custom
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 23mn 11s
    Bit rate                                 : 5 364 Kbps
    Width                                    : 1 024 pixels
    Height                                   : 768 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.273
    Stream size                              : 890 MiB (100%)
    Writing library                          : XviD 64

    Regards,
    Quote Quote  
  2. You'll probably hear: You can't. In order to get a smaller filesize you'll need to re-encode at a lower bitrate, filesize = bitrate * playtime, and every loosy re-encode objectively gives you lower quality, However, wether you subjectively find it lower in your eyes is up to you to decide.

    You don't mentioned the video codec for the MP4 nor if the reolution should be unchanged. If you want h264 you could use Handbrake / Vidcoder in 2-pass mode and determine which bitrate to use by Vcalc to get a desired size of the MP4 file. Perhaps do some trial-and-error just re-coding 1 min.
    Quote Quote  
  3. Kyaf Halak?
    Inta Zen?

    As I understood your purpose of conversion is to reduce the size (with a quality compromise).
    What is your target device to play converted MP4 file?
    Quote Quote  
  4. Member
    Join Date
    Jun 2007
    Location
    Kuwait
    Search Comp PM
    Ok, I saw some work on kat.ph posted by YIFY member in Movies section. Which is mp4 (MPEG-4) 1080p movie with very good quality and small file size. As you can see my file is AVI (Xvid) with very big size So that's why i need to reduce the file size and keep the quality the same if it possible...?!


    Regards,
    Quote Quote  
  5. oh! i c,
    Look here, select the tool for h264/avc per your choice.
    Select the bitrate according to your desired final size.
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Quote Quote  
  7. Your AVI isn't particularly large for the duration, especially as it was encoded using Xvid.
    I have 25 minute, 720p, x264 encoded MKVs that are around 1GB in size. I also have quite a few 50 minute x264 encoded files around 1GB in size. Same x264 encoder settings each time (same quality). The bitrate can vary enormously for a given quality. It depends how hard the video is to re-compress. Low quality, noisy video, or video with lots of action will probably require higher bitrates than encoding high quality or fairly static video would.

    I've seen YIFY encodes which look pretty good and also some which don't. A lot of the time in order to keep the bitrate low encoders will apply an overly generous amount of noise reduction and other filtering.... it's not always just about using a lower bitrate.
    Quote Quote  
  8. Member
    Join Date
    Jun 2007
    Location
    Kuwait
    Search Comp PM
    Thanks guys, The best result i got when i used Vidcoder with very good quality and small size around 450MB.

    Regards,
    Last edited by SB4; 7th Feb 2014 at 23:52.
    Quote Quote  
  9. Let me help you make it simple, download ffmpeg from here if you don't have it.

    Here is the command you need to convert your video to h.264 codec.

    Ffmpeg -I in.mkv -vcodec libx264 -acodec copy out.mp4

    If you need to control bitrate or other option, refer to ffmpeg -h
    If you just want to convert it right now, ffmpeg will set them to the best value it it considers.
    Quote Quote  



Similar Threads

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