Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21

Thread: Interesting AVI codec Win/Mac

  1. #16
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,779
    Animated PNG?
    Didn't know about that one - and it seems to work in Edge and Firefox.

  2. #17
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,347
    BTW, I have yet another advice for you.
    Get NVMe, if you don't have it yet.
    Single SSD can read up to 550 MB/s, NVMe up to 3400 MB/s.
    SSD write 530 MB/s, NVMe write 2300 MB/s.
    Generally multiply everything by 4-6.
    In RAID, doubles it to 8-12 as fast as regular SSD.
    Comparison video (check also others if you want) https://www.youtube.com/watch?v=uwxGIYBRVFQ
    Copy 10 GB file, SSD 60.4 seconds, NVMe 8.6 seconds.

  3. #18
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,347
    Quote Originally Posted by vncnt View Post
    Animated PNG?
    Didn't know about that one - and it seems to work in Edge and Firefox.
    I have no idea why they are making all these image file formats...

    Take RAW data, compress with 7zip.
    Take RAW data, compress to PNG.
    Tell me your results...

    BMP is typically RAW, with little header at the beginning. 7zip BMP and it should be smaller than any lossless file format that you know. Check by yourself and tell me your results..

  4. #19
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,779
    Quote Originally Posted by Sensei View Post
    I have no idea why they are making all these image file formats...
    Actually animated PNG or APNG is very nice.
    Compared to animated GIF: 24 bit colors and reduced banding, 8bit transparency.
    Unfortunately VirtualDub2 has no quality slider or chroma subsampling options to reduce file size, but you can load animated GIF and animated PNG back into VirtualDub2.

    Quote Originally Posted by Sensei View Post
    Take RAW data, compress with 7zip.
    Take RAW data, compress to PNG.
    Tell me your results...
    As you wish!
    25 frames 2224x1080:
    10 seconds to encode to .7z, unzip doesn't seem to work, compression 1.753:1
    2 seconds to encode to .zip, compression 1.345:1

    Conclusion:
    slow encoding to .7z (about 48 hours for 1 hour video)
    inefficient compression
    unreliable decompression support

    Quote Originally Posted by Sensei View Post
    BMP is typically RAW, with little header at the beginning. 7zip BMP and it should be smaller than any lossless file format that you know. Check by yourself and tell me your results..
    RAW? With 24 bit AVI, I think you mean uncompressed.
    A RAW video format holds all data from the sensor(s), expect 12 or 14 bit these days, and needs to be developed into a standard format. I have yet to see support for 10 bit AVI in Vegas Pro, Resolve, Fusion, and others.

  5. #20
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,347
    Yes, RAW=uncompressed. That is the WHOLE point of my post. Did you try it on COMPRESSED data? No. Wrong. Repeat.
    I have not ever seen anything which 7zip did not compressed better than zip, rar, gzip etc. etc.

    Compression MUST be done on RAW-uncompressed-RGB/RGBA data.
    Otherwise you're attempting to compress, already compressed data, which are very not optimal for any compressing algorithm.

    Compress RAW. And compare again.

    inefficient compression
    I would recommend using Ultra compression! This is the slowest!
    I scraped data (HTML) from Internet. 125 MB raw.
    7zip compressed it to.. 1.5 MB.
    zip, the same data folder 26.3 MB.


    I took the first example photo (JPEG) taken by my smartphone. 3k x 5k.
    As JPEG (generated by smartphone) it is 1.4 MB
    As RAW (BMP) it is 45.4 MB
    BMP compressed by ZIP 14.4 MB (lossless)
    BMP compressed by 7zip 9.5 MB (lossless)
    As PNG it is 15.9 MB (lossless)

    In my previous post, I was comparing PNG (or whatever lossless) vs RAW-BUT-7ZIP-COMPRESSED.

    I was not thinking about using it to video file, which has removed pixels which are constant between frames..
    There would have to be first invented video file format which has 7zip support as compressing algorithm at the core.
    Last edited by Sensei; 10-28-2020 at 07:48 AM.

  6. #21
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,779
    I was aware of that problem so I ran my test with a RGB24 uncompressed.avi file.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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