VideoHelp Forum
+ Reply to Thread
Results 1 to 19 of 19
Thread
  1. Member LeoKac's Avatar
    Join Date
    May 2012
    Location
    Tbilisi
    Search Comp PM
    Hello, I have a bit queer question.

    I want to compress very high motion HD (1080p) video, which is uncompressed and really big by size (about 10 GB). but I need highest quality, I mean exactly the same video as source, with no any loss. I nead the same pixel-by-pixel video, but with minimum size.

    I have tried many software, (Xilisoft, Squeeze, Episode, AME...) encoded with x264, but however there was a bit loss, and I was disappointed.

    shortly:
    Is it possible to compress the video to minimum size with no change of quality?
    Is there any lossless compression codec or lossless compression software or something else to do this job?

    Please, give me any advice.
    Thanks...
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by LeoKac View Post
    exactly the same video as source, with no any loss. I nead the same pixel-by-pixel video
    No.
    Quote Quote  
  3. Member
    Join Date
    Mar 2011
    Location
    Nova Scotia, Canada
    Search Comp PM
    The answers to your questions are no, and no. All reencoding loses quality. If you want smaller files you're just going to have to decide what level of quality loss is acceptable.

    There are basically two types of compression: file and data. File compression is lossless but it doesn't greatly reduce video file size. All the encoding methods used by encoders use data compression, which is by definition lossy. I.e. less quality.

    x264 actually is a combination of the two methods. That's why videos encoded with it can be hard to play properly on slower computers. The player has to unpack the data in real time. It also doesn't really make a giant difference in file size. About 10 to 30%.

    It probably doesn't help that to the best of my knowledge all the converters you listed are crap. I've tried a number of those easy "one click" converters. They all stunk. They don't have any options.

    If you want high quality x264 encoding in a reasonably small file size you're going to have to get a decent encoder ... handbrake is a good place to start, it has a very good balance between power and ease of use ... and learn how to use the options. They're complicated but that's the way it is. If there was a simple to use converter that gave you great quality in a small file size without screwing around with a bunch of complex settings we'd all be using it.

    But you have to accept that you are going to lose quality. If you have a problem with that idea you simply have to ask yourself: if it was possible to get the same quality in a much smaller size why would these huge files exist in the first place?

    And high motion video doesn't compress as small as low motion video. That's simply the way video compression works.
    Quote Quote  
  4. Huhn?? Yes, of course you can do this. I have tested 10 such codecs here.
    http://forum.doom9.org/showthread.php?p=1463278#post1463278

    I would suggest you try UTVideo, it's got good compression and is very fast. It should compress your video to 5GB.
    https://www.videohelp.com/tools/Ut-Video-Codec-Suite

    There are even more advanced codecs and even normal compressors, but the most you can get is 3:1 compression, and these advanced ones are just for research and are incredibly slow.

    One easy test you can do though, is compress with RAR and use the multimedia setting.

    There is a lossless mode for x264, but it didn't compress too well for me.

    I'd agree that Handbrake would be a program to try, but basically any program that lets you choose the compression format will work. I use Virtualdub.

    Just FYI, you might want to read about https://en.wikipedia.org/wiki/JBIG2
    It compresses losslessly more than 10:1. Not video, but still impressive.
    Last edited by jmac698; 28th Jul 2012 at 09:28.
    Quote Quote  
  5. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by jmac698 View Post
    Huhn?? Yes, of course you can do this. I have tested 10 such codecs here.
    http://forum.doom9.org/showthread.php?p=1463278#post1463278
    You are like a broken record.......you spew the same horse-sh*t every time.

    Originally Posted by jmac698 View Post
    Huhn?? Yes, of course you can do this.
    Absolute HORSE SH*T.
    Last edited by hech54; 28th Jul 2012 at 09:18.
    Quote Quote  
  6. Decoded image will be exactly like the original, pixel perfect - that's what he's getting at.

    Of course it won't be the exact same video , because it's no longer uncompresed (but it decoded image will be identical to uncompressed) . And if you decompress the lossless compression you will get 100% identical as the original uncompressed video
    Quote Quote  
  7. I think this is just a misunderstanding. From the OP's question, he was willing to compress into another codec. If you're talking about "zipping" the original file exactly, there won't be much improvement.
    Quote Quote  
  8. But the OP is starting with uncompressed video, not lossy compressed video

    So yes you can, and yes there will be an improvement

    If he was starting with a lossy compressed video, then it would be impossible to get bit for bit identical to original compression scheme (but in both cases the decoded uncompressed image will be bit for bit identical)
    Quote Quote  
  9. lossless test part1.zip (21.15MB)
    http://www.sendspace.com/file/mhgdh1

    lossless test part2.zip (12.46MB)
    http://www.sendspace.com/file/inpuf8

    lossless test part3.zip (19.46MB)
    http://www.sendspace.com/file/pxgpag

    lossless test-updated readme.zip (1.47KB)
    http://www.sendspace.com/file/tchew9

    RGB Compression Tests
    Results
    RGB24 26,956,800
    PNG 13,056,326
    png.zip 13,062,588
    utvideo 11,786,240
    FFV1,lrg,AC 9,119,744
    YV12 Compression Results
    Results
    YV12 13,478,400
    utvideo,best 5,742,592
    utvideo.zip 5,626,091
    FFV1,lrg,AC 4,583,424
    ffv1.zip 4,575,274
    In both cases, I get 3:1 lossless FFV1 compression compared to uncompressed. I verified that the results were pixel-exact, and there's an included test to prove it.

    For more details, download the tests. If you just want to read the results, get lossless test-updated readme.zip
    Last edited by jmac698; 28th Jul 2012 at 12:15.
    Quote Quote  
  10. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    Originally Posted by LeoKac View Post
    I want to compress very high motion HD (1080p) video, which is uncompressed and really big by size (about 10 GB).
    How many minutes long is this 10GB video?

    What bit depth and colour sampling is it now? 8bit 4:4:4, 4:1:1, etc...
    Quote Quote  
  11. If it's uncompressed it can't be more than 1-2 minutes
    Quote Quote  
  12. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    Originally Posted by poisondeathray View Post
    If it's uncompressed it can't be more than 1-2 minutes
    Yep - around 2:18 for 8bit 4:1:1 and half that running time for 4:4:4 by my calculations

    I suspect the source might not actually be uncompressed.
    Quote Quote  
  13. Member PuzZLeR's Avatar
    Join Date
    Oct 2006
    Location
    Toronto Canada
    Search Comp PM
    Originally Posted by LeoKac View Post
    I want to compress very high motion HD (1080p) video, which is uncompressed and really big by size (about 10 GB). but I need highest quality, I mean exactly the same video as source, with no any loss. I nead the same pixel-by-pixel video, but with minimum size.
    Can you tell us exactly what video format it is in? We can better answer your question. You can use MediaInfo and post the results.

    Originally Posted by LeoKac View Post
    I have tried many software, (Xilisoft, Squeeze, Episode, AME...) encoded with x264, but however there was a bit loss, and I was disappointed.
    That's because they all, or mostly all, are front-ends that suck. They are not optimized for high quality, only convenience (and a maybe for a quick cash-grab in some cases).

    Originally Posted by LeoKac View Post
    Is it possible to compress the video to minimum size with no change of quality?
    Is there any lossless compression codec or lossless compression software or something else to do this job?
    Yes, but it really depends on what MediaInfo reports, and/or how you acquired it. Is it uncompressed RGB? HuffYUV? Or are you looking to make AVC or MPEG-2 much smaller? Respective answers to those: maybe, yes, no.

    As an example (which shows "compressed" is not synonymous with "lossy") you can capture to HuffYUV since it's simple to use and edit. After edits, you can convert to ffmpeg's FFV1 for a smaller, yet lossless, version of it for archiving.

    But that's just one example that can work. No promises.
    Last edited by PuzZLeR; 28th Jul 2012 at 19:38.
    I hate VHS. I always did.
    Quote Quote  
  14. Member LeoKac's Avatar
    Join Date
    May 2012
    Location
    Tbilisi
    Search Comp PM
    Well, its about 1 minute MPEG-2 video. I tried lossless x264 codec to compress, but the result was not real minimum size that x264 can compress, because the bitrate result was much bigger than x264 can compress it with the same quality.

    well, do you know any formula or something for bitrate to result ideal (minimum) bitrate with absolutely same quality?
    thanks...
    Quote Quote  
  15. MPEG2 is already compressed video, not uncompressed video . Lossless codecs will only increase the size. Lossless codecs will decrease the size of uncompressed video

    It's not possible to re-encoding having absolute same quality. You can use archiving software e.g. 7zip and take a few % off
    Quote Quote  
  16. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    LeoKac - As poisondeathray has pointed out, your incorrect assumption that MPEG-2 video is lossless has made this entire thread useless. H.264/X.264 is also not lossless. Your complete lack of understanding as to what "lossless" means is making it pointless to continue this discussion.

    Mostly others have participated in this thread and you have been silent until today. Since it seems that you aren't likely to provide more helpful information, I'd suggest that you trying using Xvid4PSP and use a bit rate of about half the bit rate of your MPEG-2 file to encode to H.264. If you don't like the output then you may just be too picky. But as poisondeathray points out, you can't re-encode lossy video to exactly the same quality, but at a high enough bit rate most NORMAL people can't tell any difference or there's not enough difference for them to care about.
    Quote Quote  
  17. Originally Posted by jman98 View Post
    H.264/X.264 is also not lossless.
    x264 has a lossless setting
    Quote Quote  
  18. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    Originally Posted by LeoKac View Post
    Well, its about 1 minute MPEG-2 video.
    That would be 1,365Mbit/sec MPEG-2, which I doubt.

    Take a look at FFVHuff - it should give around 2:1 lossless compression.
    Last edited by intracube; 29th Jul 2012 at 13:49. Reason: clarification - ffvhuff lossless compression
    Quote Quote  
  19. Member PuzZLeR's Avatar
    Join Date
    Oct 2006
    Location
    Toronto Canada
    Search Comp PM
    As I mentioned, if it's AVC or MPEG-2 (which it turned out to be MPEG-2) then my answer too was no. This also applies to other lossy video formats as well: MPEG-1, DivX, Xvid, MPEG-4 variants, WMV, and others.

    You can (re-)compress lossy formats AND you can (re-)encode them losslessly, but you can't do both.

    As others mentioned to you, if you really need to save drive space, then use another lossy format that is more efficient than MPEG-2, and good choices are DivX, Xvid and AVC (ex: x264). If you know what you're doing, or have time to read a good guide or three on the subject, you can get a result ~33%-60% that looks almost like the Source.
    I hate VHS. I always did.
    Quote Quote  



Similar Threads

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