Video Compression

VideoNerd

BPG (Better Portable Graphics) is based on a subset of HEVC/H.265 tools.

Main supported features:

  • chroma formats – grayscale, YCbCr (4:2:0, 4:2:2, 4:4:4) 
  • Alpha channel
  • Native support of 8 to 14 bits per channel for a higher dynamic range.
  • Lossless compression is supported.

 

Ready windows binaries (64-bit) are located at https://bellard.org/bpg/bpg-0.9.8-win64.zip   .  The binaries contain three exe-files and set of dll-files: 

bpgenc –   re-encode png or jpg file into bpg-format

bpgdec  –  decode bpg-file into ppm or png

bpgview – display bpg image

 

How To Run bpgenc, bpgdec and bpgview?

bpgenc:

for more details use bpgenc.exe -h

Example

bpgenc.exe -o flashes.bpg -q 18 -f 420 -e x265 -m 9 ..\flashes.png

 

-o     output filename

-m   select the compression level (1=fast, 9=slow, default = 8)

-q   quantizer parameter (smaller gives better quality, range: 0-51, default = 29)

-f  set the preferred chroma format (420, 422, 444, default=420)

-e    select the HEVC encoder, only one option – x265

 

bgpview:

bpgview.exe    flashes.bpg

 

bpgdec:

    bpgdec.exe -o test.png -b 8 flashes.bpg

   -b    bit_depth per component (8 or 16, default = 8)

 

Results

original png-file of length 1,533,917 bytes

 

BPG file (visually lossless) , the size 106,600 bytes, the compression ratio is above 14:1

 

23 Responses

  1. Hey there! I just wanted to ask if you ever have any issues with hackers? My last blog (wordpress) was hacked and I ended up losing months of hard work due to no back up. Do you have any solutions to protect against hackers?

  2. Have you ever considered creating an e-book or guest authoring on other websites? I have a blog based upon on the same subjects you discuss and would love to have you share some stories/information. I know my audience would value your work. If you’re even remotely interested, feel free to shoot me an e mail.

  3. I’ve been absent for some time, but now I remember why I used to love this web site. Thank you, I¦ll try and check back more frequently. How frequently you update your site?

  4. great post, very informative. I wonder why the other specialists of this sector don’t notice this. You should continue your writing. I am confident, you’ve a huge readers’ base already!

  5. I’m impressed, I have to say. Actually hardly ever do I encounter a weblog that’s both educative and entertaining, and let me inform you, you will have hit the nail on the head. Your thought is excellent; the issue is something that not enough people are speaking intelligently about. I am very completely happy that I stumbled across this in my search for something referring to this.

  6. Have you ever considered about adding a little bit more than just your articles? I mean, what you say is fundamental and all. But imagine if you added some great photos or video clips to give your posts more, “pop”! Your content is excellent but with images and video clips, this blog could definitely be one of the very best in its niche. Terrific blog!

  7. Wonderful site you have here but I was wondering if you knew of any message boards that cover the same topics discussed here? I’d really like to be a part of group where I can get comments from other experienced people that share the same interest. If you have any recommendations, please let me know. Thank you!

  8. Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store. I’d prefer to use some with the content on my blog whether you don’t mind. Natually I’ll give you a link on your web blog. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *