OpenVisualCloud / SVT-JPEG-XS

Welcome to the SVT JPEG XS codec Repository.
Other
40 stars 4 forks source link

Problem decoding with plugins ffmpeg JPEGXS #4

Open Jamaika1 opened 2 months ago

Jamaika1 commented 2 months ago

I use encoder intopix jpegxs. https://standards.iso.org/iso-iec/21122/-5/ed-2/en/ISO_IEC_21122-5_2_Ed-2.zip I used command. ffmpeg_avx.exe -y -v error -i "image_21447_24bit.tiff" -an -frames:v 1 -pix_fmt yuv444p output_jxs001.ppm intoPIXjxs_enc.exe -v -w 4000 -h 3000 -d 8 -c bpp=24 -n 1 output_jxs001.ppm output_jxs001.jxs svtjxsenc_avx.exe -v 6 -w 4000 -h 3000 --input-depth 8 --colour-format yuv444 --bpp 24 -n 1 -i output_jxs001.ppm -b output_jxs002.jxs

I received result. ffmpeg_avx.exe -y -v error -i "output_jxs001.jxs" output_jxs001.png Input #0, image2, from 'output_jxs001.jxs': Duration: 00:00:00.04, start: 0.000000, bitrate: 7200000 kb/s Stream #0:0: Video: jpegxs (libsvtjpegxs), yuv444p, 4000x3000, 25 fps, 25 tbr, 25 tbn https://ibb.co/V9FhyQ0

tszumski commented 1 month ago

Could you check what happen If you try to decode output_jxs001.png with reference decoder that you build from link you shared. SVT-JPEG-XS and Reference Decoder should return bit-exact files (md5sum)

Jamaika1 commented 1 month ago

Works correctly intoPIXjxs_dec.exe -v output_jxs001.jxs output_jxs001a.ppm JPEG XS test model (XSM) version 2.0.2-ED2 Image: 1280x720 3-comp@8bpp Sampling: 1x1/1x1/1x1 Format: RGB 4:4:4