Results 1 to 12 of 12

Thread: Best Video Compression Methods

  1. #1
    Member
    Join Date
    Jan 2015
    Location
    Baghdad
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Best Video Compression Methods

    Hello all,

    I am somewhat new to video compression so I need some help.

    I have about 220 avi & Mp4 files that differ in size from 1.2GB to 2.5GB that I want to compress.

    FILE INFO

    Video info:
    Codec: H264 - MPEG-4 AVC (PART10)
    Resolution: 1280x720

    Audio info:
    Codec: A52 Audio (aka AC3) (a52)
    Channels:Stereo

    I am unsure of what software to use and what settings would be best, advice please?

  2. #2
    Member
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    342
    Thanks
    12
    Thanked 34 Times in 28 Posts
    i do not think that you can gain much because 264 is already very efficient. you can try x265 and use vlc to play

  3. #3
    Member
    Join Date
    Jan 2015
    Location
    Baghdad
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was worried that might be the case. Could I convert to MKV and try downsizing the files that way?

  4. #4
    Member
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    342
    Thanks
    12
    Thanked 34 Times in 28 Posts
    Quote Originally Posted by mindtreaser1 View Post
    I was worried that might be the case. Could I convert to MKV and try downsizing the files that way?
    I do no think so, because mkv is almost only a container, so your MP4 files will be... MP4 embedded on MKV.
    You can get real shrink reducing resolution and/or quality

  5. #5
    Member
    Join Date
    Jan 2015
    Location
    Baghdad
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by fcorbelli View Post
    i do not think that you can gain much because 264 is already very efficient. you can try x265 and use vlc to play
    What process do I use to make into x265?
    Although from my experience with x264 vs x265, 265 is a slight loss of quality with very little difference in size reduction, would you say this would be the case?
    And what kind of reduction in size would I get from the change to 265, from say, a 2GB video?

  6. #6
    Member
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    342
    Thanks
    12
    Thanked 34 Times in 28 Posts
    very small. try yourself. but i suspect there is not space for significative gain.

  7. #7
    Member
    Join Date
    Jan 2015
    Location
    Baghdad
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So there really isn't anything I can do to reduce the space these files are taking up then huh?
    I just realized I could possible just zip/rar them, although that is impractical.
    Does this sound like a good idea to you? If so, should I zip them individually or with many?

  8. #8
    Member
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    342
    Thanks
    12
    Thanked 34 Times in 28 Posts
    i do not think you can get. more than say 1 to 5% with for example 7zip.but then you cannot see without unpack.

  9. #9
    Member
    Join Date
    Jan 2015
    Location
    Baghdad
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That's what I meant by impractical, but they aren't necessarily files that I look at often.

    Thanks for all your suggestions though, I'll try a few things and then reply with the results.

  10. #10
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    856
    Thanks
    45
    Thanked 104 Times in 82 Posts
    Quote Originally Posted by mindtreaser1 View Post
    So there really isn't anything I can do to reduce the space these files are taking up then huh?
    I just realized I could possible just zip/rar them, although that is impractical.
    Does this sound like a good idea to you? If so, should I zip them individually or with many?

    You can easily make the files smaller with lossy encoding it a question of quality if you are ready to toss away quality you can just re encode them at a lower bitrate. but you haven't really giving any information in your question besides getting them smaller. And yes that is easily possible

    in regards to 7-zip it only make sense to compress them together if you go in a solid mode with a dictionary big enough to cover more than one filem=, even thoug it might not even help. also in this way you have to decompress the entire archive before playing and not just the file you want to play.


    only sane option would be to check what last layer lossles compression the you h.264 stream is using. if its not cabac. find a tool to decode this layer and reencode with cabac. however most encoders use cabac as default in my experience


    if you really want to put thme into a new compression layer/container like 7-zip maybe look into srep instead.


    -- edit --

    i just saw you have yuo audio in ac3 file format. you might wanna consider reencode it to aac instead. use yam do etrac the ac3 stream. use azid to make it into a .wav/pcm file. use Qaac to encode it to aac.
    use yamb extract the h.264 stream . use yam to mux the h.264 & .aac stream together into one .mp4 file.

    AFAIK ac3 is a pretty inferior audio format ( worse then layer3 in general )
    but reencoding will always introduce a slight drop of quality
    Last edited by SvenBent; 26th January 2015 at 14:53.

  11. #11
    Member
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    342
    Thanks
    12
    Thanked 34 Times in 28 Posts
    ahem... but using hundreds of cpu time to gain few bytes is not a very big gain, at least for me.
    as previously stated reducing resolution can quadratically reduce frame size (not of course compressed one), but with sensible loss of quality.
    so... buy a bigger disk should be the most effective solution

  12. #12
    Member
    Join Date
    May 2006
    Location
    Uruguay
    Posts
    30
    Thanks
    0
    Thanked 1 Time in 1 Post
    As SvenBent said your best bet is converting the ac3 into aac. Since h265 encoders are not madure yet the bitrate savings are not large compared to h264 encoders like x264 (often considered state of the art for h264).
    With regards to the video stream if there are significant variations in quality (or bitrate if estimating the quality is too time consuming or the complexity of the content is similar) among the videos you can reencode the high quality videos to a lower bitrate. I would advice not reencoding videos with low quality or bitrate since the loss from reencoding depends mainly on the target bitrate, not much on the source bitrate (and in some cases, if the encoder is optimized for uncompressed sources, going from low to low may actually result in more loss), so usually is not worth reencoding low bitrate videos.
    As fcorbelli said another option would be investing USD 100 on a external hard drive, even in countries with high customs taxes like mine they are not very expensive.
    Last edited by ggf31416; 27th January 2015 at 01:50.

Similar Threads

  1. Looking for English translation of Compression Methods book
    By rhulcomputerscience in forum Data Compression
    Replies: 1
    Last Post: 25th February 2014, 22:16
  2. user - video compression.
    By WebWalker in forum Data Compression
    Replies: 15
    Last Post: 8th July 2013, 17:13
  3. Question - Video Compression
    By HeRo in forum Data Compression
    Replies: 5
    Last Post: 23rd September 2012, 21:09
  4. Video compression without the need for playback
    By david_werecat in forum Data Compression
    Replies: 8
    Last Post: 19th September 2011, 12:01
  5. video compression (test)
    By Lone_Wolf in forum Data Compression
    Replies: 42
    Last Post: 14th January 2010, 23:50

Tags for this Thread

Posting Permissions

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