Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th February 2020, 16:58   #241  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 651
Code:
"Library:          libJPEGXL                  c++ [19 Feb 2020] {include PIK,FUIF}\n"
"                  brotli        1.0.7        c   [14 Feb 2020]\n"
"                  brunsli                    c++ [14 Feb 2020]\n"
"                  butteraugli JXL            c++ [19 Feb 2020]\n"
"                  highway     JXL            c++ [19 Feb 2020]\n"
"                  skcms                      c++ [07 Feb 2020]\n"
"                  libJPEG-turbo 2.0.5 8bit   c   [18 Feb 2020]\n"
"                  libsJPEG      0.1.0        c++ [07 Jan 2020]\n"
"                  lodePNG                    c++ [19 Feb 2020]\n"
"                  libPNG        1.6.38       c   [20 Apr 2019] {for APNG}\n"
"                  giflib        5.2.1        c   [24 Jun 2019]\n"
"                    zlib        1.2.11.1     c   [09 Jul 2019]\n"
"                  openexr       2.4.1        c++ [11 Feb 2020] {instead TIFF, Adobe DNG}\n"
"Compiled by Jamaika\n\n"
https://www.sendspace.com/file/05rlmw
Quote:
Originally Posted by LigH View Post
@Jamaika: You may use this photo I just shot (CC0), containing some office tools with more or less saturated colors, plenty digicam noise, 4000x3000 px, PNG developed from raw data.
OK, here is Jamaika test for new JpegXL
https://www.sendspace.com/file/dgrscv

Last edited by Jamaika; 20th February 2020 at 17:46.
Jamaika is offline   Reply With Quote
Old 20th February 2020, 20:20   #242  |  Link
kanaka
Registered User
 
Join Date: Jan 2019
Posts: 20
Quote:
Originally Posted by Jamaika View Post
OK, here is Jamaika test for new JpegXL
https://www.sendspace.com/file/dgrscv
Why do you use huffman coding instead arithmetic in jpegXT? If you want to create the smallest jpeg, try mozjpeg with proper quantization table.

I made comparission jpeg vs org for you https://imgsli.com/MTIzNjU
Quality 20 is not enough for this photo.

Last edited by kanaka; 20th February 2020 at 21:08.
kanaka is offline   Reply With Quote
Old 20th February 2020, 21:50   #243  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 651
I don't know all the possibilities. The JpegXT commands I use are the qualitative and size equivalent of the jpeg9d commands. What are your suggestions?
Quote:
Originally Posted by kanaka View Post
I made comparission jpeg vs org for you https://imgsli.com/MTIzNjU
fhx JPG(lossy) vs PNG(lossless)
Quote:
Originally Posted by kanaka View Post
Quality 20 is not enough for this photo.
Only for JPEG photos. It's better for other formats.

Last edited by Jamaika; 20th February 2020 at 22:40.
Jamaika is offline   Reply With Quote
Old 21st February 2020, 09:09   #244  |  Link
kanaka
Registered User
 
Join Date: Jan 2019
Posts: 20
Quote:
Originally Posted by Jamaika View Post
I don't know all the possibilities. The JpegXT commands I use are the qualitative and size equivalent of the jpeg9d commands. What are your suggestions?
For smaller file with the same quality, try:
Code:
jpegXT.exe -q 20 -a -qt 3 -s 1x1,2x2,2x2 images.ppm Stationery_jpegxt.jpg
kanaka is offline   Reply With Quote
Old 21st February 2020, 10:27   #245  |  Link
Jan Wassenberg
Registered User
 
Join Date: Jan 2020
Location: Switzerland
Posts: 18
Thanks for the new build, SmilingWolf!

Quote:
Originally Posted by Jamaika
I use fix lodePNG in JpegXL. Codec imports PNG RGBA.
Great, glad to hear it. We fixed both LodePNG and the JPEG XL call site based on your feedback. Thank you for reporting the issue!
Jan Wassenberg is offline   Reply With Quote
Old 21st February 2020, 22:11   #246  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 651
Hmm… Fix LodePNG works but new updates JpegXL doesn't work.
dec_ans.cc:212: Invalid huffman tree number 0, alphabet size 14
dec_ans.cc:257: Histo DecodeANSCodes
dec_context_map.cc:86: Return after error: DecodeHistograms(input, 1, ANS_MAX_ALPHA_SIZE, &code, &dummy_ctx_map)
dec_ans.cc:253: Return after error: DecodeContextMap(context_map, &num_histograms, br)
compressed_dc.cc:586: Return after error: DecodeHistograms( reader, kNumDCContexts, ANS_MAX_ALPHA_SIZE, &code, &context_map)
dec_frame.cc:561: Return after error: num_errors.load(std::memory_order_relaxed) == 0
dec_file.cc:171: Return after error: DecodeFrame( dparams, file, nullptr, &frame_dim, &multiframe, pool, &reader, aux_out, &io->frames.back(), nullptr)
Failed to decompress JPEGXL.

Introduced corrections to tests:
https://imgsli.com/MTIzODg
https://imgsli.com/MTIzODk
https://imgsli.com/MTIzOTA
https://imgsli.com/MTIzOTY
https://imgsli.com/MTIzOTc
https://imgsli.com/MTIzOTg

Quote:
Originally Posted by kanaka View Post
For smaller file with the same quality, try:
Code:
jpegXT.exe -q 20 -a -qt 3 -s 1x1,2x2,2x2 images.ppm Stationery_jpegxt.jpg
The disadvantage is the lack of support for arithmetic coding by the ffmpeg converter and programs based on it.

Conclusion:
Decoder Openjpeg 2.3.1 has error. Changes color matrix.

Last edited by Jamaika; 23rd February 2020 at 15:32.
Jamaika is offline   Reply With Quote
Old 22nd February 2020, 21:17   #247  |  Link
paul97
Registered User
 
Join Date: Mar 2018
Posts: 8
So what you can do to make it work?
paul97 is offline   Reply With Quote
Old 23rd February 2020, 12:14   #248  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 651
Maybe this time I was able to compile correctly. Three hours of research on how to correctly add new additions and it is already. This time I overlooked Brunsli news and GCC didn't communicate bugs.
https://www.sendspace.com/file/a4jsqm
Jamaika is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.