You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: I have a bunch of video that I want to pack into a zip file. Typically with video, the files are already compressed, so compressing again via Packmatic would be largely wasteful.
It looks like the Encoder is hardcoded to use deflate with compression :default and I'd like to set this to 0 so it's just storage and speed up.
I'll be happy to submit a patch that can include the compression level as an Encoder.option that passes it to deflateInit, or whatever you prefer. Let me know. I'm using Packmatic.build_stream with a list of streams provided to it, so I'm hoping to give it Packmatic.build_stream(streams, compression_level: 0).
The text was updated successfully, but these errors were encountered:
dbernheisel
changed the title
Configure encoder options
Configure encoder options - compression level
Jan 16, 2025
Scenario: I have a bunch of video that I want to pack into a zip file. Typically with video, the files are already compressed, so compressing again via Packmatic would be largely wasteful.
It looks like the Encoder is hardcoded to use deflate with compression
:default
and I'd like to set this to 0 so it's just storage and speed up.I'll be happy to submit a patch that can include the compression level as an
Encoder.option
that passes it todeflateInit
, or whatever you prefer. Let me know. I'm usingPackmatic.build_stream
with a list of streams provided to it, so I'm hoping to give itPackmatic.build_stream(streams, compression_level: 0)
.The text was updated successfully, but these errors were encountered: