FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Lzham - stdin/stdout (https://fileforums.com/showthread.php?t=99240)

shazzla 30-05-2017 07:51

Lzham - stdin/stdout
 
Hi guys !

Today i realized ,7-Zip can be upgrading with plugins and....
I found LZHAM plugin for it !

http://richg42.blogspot.hu/2015/11/l...for-7-zip.html

Well ,we can use 7z's LZMA2 in Freearc with this command :

packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d1024m:fb=273:mf=bt4:mc=10000:lc=4:lp=0 -mmt=1 -mx9 -si -so <stdin> <stdout>
unpackcmd = 7z x -txz -an -y -si -so <stdin> <stdout>

But not LZHAM !
I tried many-many ways ,but doesnt work.
Maybe a smart man can figure it out....
I would be grateful for it !
Thank you ! :)

Bulat 30-05-2017 09:29

may it's because lzham isn't supprted by xz format?

anyway, the home of this project now is https://github.com/mcmilk/7-Zip-zstd

and there you can ask (by creating Issue) author how to use lzham in stream mode, may be with other utility

also, as author of freearc, i want to ask you - is lzham really has its edge? i thought that it's barely faster than lzma while providing much less compression ratio. how frequently it's used in repacks?

Gupta 30-05-2017 09:34

Quote:

also, as author of freearc, i want to ask you - is lzham really has its edge? i thought that it's barely faster than lzma while providing much less compression ratio. how frequently it's used in repacks?
i would say same for lzturbo
using lzma with 4x4 beats all $Hi!, I Mean ratio trade offs are neglible in context of speed gains

shazzla 30-05-2017 10:03

@Bulat :
im just a n00b. :)
In my test its nearly 2x faster than LZMA2 1GB.
BTW thank you very much !

panker1992 04-06-2017 12:33

lzham is an API that is unoversal, XBOX Windows Mac etc.

it was never meant to be a compressor like lzma, zstd, lz4.

it was created for 1 time compression only and only decomp speed matters as a gaming container if you like that expression :)

panker1992 04-06-2017 12:36

lzham is an API that is unoversal, XBOX Windows Mac etc.

it was never meant to be a compressor like lzma, zstd, lz4.

it was created for 1 time compression only and only decomp speed matters as a gaming container if you like that expression :)


All times are GMT -7. The time now is 12:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com