[fixed] bpgdec.exe console flicker
Moderators: XnTriq, helmut, xnview, Dreamer
Re: [fixed] bpgdec.exe console flicker
here's bpg-0.9.7 with both encoders, also xnview "plugin" is included, the above one is garbage because it needs zlib.dll
and no dependencies in bpgenc.exe
and no, you cannot just use the newest x265, it does compile, but the bitdepths other than 8 are missing...
and no dependencies in bpgenc.exe
and no, you cannot just use the newest x265, it does compile, but the bitdepths other than 8 are missing...
- Attachments
-
- bpg-0.9.7.7z
- (1.74 MiB) Downloaded 80 times
Re: [fixed] bpgdec.exe console flicker
Thanks again, after it compiled so sweetly I didn't bother to try all bitdepths.heimaki wrote:and no, you cannot just use the newest x265, it does compile, but the bitdepths other than 8 are missing...
Re: [fixed] bpgdec.exe console flicker
i now also tried the newest jctvc source HM-16.12-4815 but no luck.
i got it comoiling after some small fixes, but bpgenc throws out an error.
bpgenc -e jctvc test.png
i got it comoiling after some small fixes, but bpgenc throws out an error.
bpgenc -e jctvc test.png
no idea what is going wrong, this needs someone with knowledge. it seems the bpgenc code must be modified.******************************************************************
** WARNING: --SEIDecodedPictureHash is now disabled by default. **
** Automatic verification of decoded pictures by a **
** decoder requires this option to be enabled. **
******************************************************************
***************************************************************************
** WARNING: For conforming bitstreams a valid Level value must be set! **
***************************************************************************
Reconstruction File :
Real Format : 2048x1152 25Hz
Internal Format : 2048x1152 25Hz
Sequence PSNR output : Linear average only
Sequence MSE output : Disabled
Frame MSE output : Disabled
Cabac-zero-word-padding : Enabled
Frame/Field : Frame based coding
Frame index : 0 - 0 (1 frames)
Profile : main-RExt (main_444_16_intra)
CU size / depth / total-depth : 64 / 4 / 4
RQT trans. size (min / max) : 4 / 32
Max RQT depth inter : 3
Max RQT depth intra : 3
Min PCM size : 8
Motion search range : 96
Intra period : 1
Decoding refresh type : 0
QP : 29.00
Max dQP signaling depth : 0
Cb QP Offset : 0
Cr QP Offset : 0
QP adaptation : 0 (range=0)
GOP size : 1
Input bit depth : (Y:8, C:8)
MSB-extended bit depth : (Y:8, C:8)
Internal bit depth : (Y:8, C:8)
PCM sample bit depth : (Y:8, C:8)
Intra reference smoothing : Enabled
diff_cu_chroma_qp_offset_depth : -1
extended_precision_processing_flag : Disabled
implicit_rdpcm_enabled_flag : Disabled
explicit_rdpcm_enabled_flag : Disabled
transform_skip_rotation_enabled_flag : Disabled
transform_skip_context_enabled_flag : Disabled
cross_component_prediction_enabled_flag: Disabled
high_precision_offsets_enabled_flag : Disabled
persistent_rice_adaptation_enabled_flag: Disabled
cabac_bypass_alignment_enabled_flag : Disabled
log2_sao_offset_scale_luma : 0
log2_sao_offset_scale_chroma : 0
Cost function: : Lossy coding (default)
RateControl : 0
WPMethod : 0
Max Num Merge Candidates : 5
TOOL CFG: IBD:0 HAD:1 RDQ:1 RDQTS:1 RDpenalty:0 LQP:0 SQP:0 ASR:0 MinSearchWindow:8 RestrictMESampling:0 FEN:0 ECU:0 FDM:1
CFM:0 ESD:0 RQT:1 TransformSkip:1 TransformSkipFast:1 TransformSkipLog2MaxSize:2 Slice: M=0 SliceSegment: M=0 CIP:0 SAO:1
PCM:0 TransQuantBypassEnabled:0 WPP:0 WPB:0 PME:2 WaveFrontSynchro:0 WaveFrontSubstreams:1 ScalingList:0 TMVPMode:1 AQpS
:0 SignBitHidingFlag:1 RecalQP:0
Input ChromaFormatIDC = 4:2:0
Output (internal) ChromaFormatIDC = 4:2:0
POC 0 TId: 0 ( I-SLICE, nQP 29 QP 29 ) 999808 bits [Y 39.1170 dB U 39.9122 dB V 42.4398 dB] [ET 23 ] [L0 ]
[L1 ]
SUMMARY --------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
1 a 24995.2000 39.1170 39.9122 42.4398 39.6574
I Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
1 i 24995.2000 39.1170 39.9122 42.4398 39.6574
P Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
0 p nan nan nan nan nan
B Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
0 b nan nan nan nan nan
RVM: 0.000
Bytes written to file: 124991 (24998.200 kbps)
nb_st_rps must be 0 (2)
Error while creating HEVC data
Last edited by heimaki on Wed Oct 12, 2016 6:14 pm, edited 2 times in total.
Re: [fixed] bpgdec.exe console flicker
ok, got it working with latest jctvc source HM-16.12-4815.zip
and also x265 2.1 is in there too with bit depth 8 10 and 12 enabled.
not sure if it was worth the effort though. i guess no.
and also x265 2.1 is in there too with bit depth 8 10 and 12 enabled.
not sure if it was worth the effort though. i guess no.
Re: [fixed] bpgdec.exe console flicker
there's also a x64 version (unofficial) now for this...heimaki wrote:just in case.
there's a BPG plugin that can even write such files in xnview.
https://github.com/leavinel/BPG-Plugins
works only in x86 versions though.
http://encode.ru/threads/2095-BPG-yet-a ... #post50549
Re: [fixed] bpgdec.exe console flicker
It's definitely worth the effort if you share the binary with us - thanks! ...heimaki wrote:not sure if it was worth the effort though. i guess no.
... and attach the patch from the vanilla bpg source to your version which accepts updates x265/jctvc. You could put a pull request on the bpg site, but I guess development has slowed or ceased so releasing it here and send the bpg author a mail is enough for the time being.
Re: [fixed] bpgdec.exe console flicker
Very nice, thanks. However, there is an issue viewing bpg image with height/width smaller than 128 pixel. Encoding is fine, bpgview.exe show the image perfectly, but XnView crashes. Also, is there no support for 32-bit (image with transparency) encode yet ?heimaki wrote: there's also a x64 version (unofficial) now for this...
http://encode.ru/threads/2095-BPG-yet-a ... #post50549
Re: [fixed] bpgdec.exe console flicker
Hm... for me that works in xnview mp 0.83, even a 50x50px pic opens/saves fine.
what does not work is saving such small files in the x86 version, xnview mp and also classic crashes immediately.
maybe it depends on the settings in the xbpg.ini?
/edit: yes, saving of such fails if i use x265 as the encoder. jctvc does fine.
https://github.com/leavinel/BPG-Plugins/issues/2
nothing happened since then.
what does not work is saving such small files in the x86 version, xnview mp and also classic crashes immediately.
maybe it depends on the settings in the xbpg.ini?
/edit: yes, saving of such fails if i use x265 as the encoder. jctvc does fine.
nope, and maybe never will. the project seems to be abandoned.Also, is there no support for 32-bit (image with transparency) encode yet ?
https://github.com/leavinel/BPG-Plugins/issues/2
nothing happened since then.
Re: [fixed] bpgdec.exe console flicker
Can you share updated sources?heimaki wrote:ok, got it working with latest jctvc source HM-16.12-4815.zip
and also x265 2.1 is in there too with bit depth 8 10 and 12 enabled.
Re: [fixed] bpgdec.exe console flicker
What is the current status of this? (Topic title says "[Fixed]" but I have the impression that there is still an issue.)
Re: [fixed] bpgdec.exe console flicker
AFAIK the flickering is fixed.
Re: [fixed] bpgdec.exe console flicker
Good, thank you for your reply, heimaki.heimaki wrote:AFAIK the flickering is fixed.
Closed
Re: [fixed] bpgdec.exe console flicker
ah, there's a version 0.0.0.4 upcoming.heimaki wrote: /edit: yes, saving of such fails if i use x265 as the encoder. jctvc does fine.
nope, and maybe never will. the project seems to be abandoned.Also, is there no support for 32-bit (image with transparency) encode yet ?
https://github.com/leavinel/BPG-Plugins/issues/2
nothing happened since then.