I'm trying to map flac encoder compression level params to the corresponding EncoderConfiguration and StreamConfiguration. Could you please help me out with these options:
1. flac has only -max-lpc-order param, so can I leave minLPCOrder at 0?
2. should I map -blocksize to maxBlockSize or set both min and max?
3. -mid-side can be mapped to ChannelConfig.MID_SIDE? Which channel config is default?
4. -exhaustive-model-search is setting subframeType to EXHAUSTIVE? which is default subframeType?
5. -rice-partition-order is not implemented?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(sorry for the delayed reply, hope this still helps)
1. Yes, you can leave minLPCOrder to zero. That is there because this code doesn't often choose the lower LPC order's, so it may often not be necessary to even check them if you want to save a tad bit of time(though for best potential compression, you should leave it to zero anyways).
2. Variable block size isn't implemented yet, so currently only the maxBlockSize is used. The min value is ignored for the time being.
3. Channel config is set to "Encoder_Choice" by default. It will run a quick comparison of the different channels and attempt to select the best one.
4. Exhaustive subframe type is default. This should be correct for most cases.
5. Correct, rice partition order is not yet implemented. It is fixed at a single partition.
Hope the code is working for your needs :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, thanks for this library!
I'm trying to map flac encoder compression level params to the corresponding EncoderConfiguration and StreamConfiguration. Could you please help me out with these options:
1. flac has only -max-lpc-order param, so can I leave minLPCOrder at 0?
2. should I map -blocksize to maxBlockSize or set both min and max?
3. -mid-side can be mapped to ChannelConfig.MID_SIDE? Which channel config is default?
4. -exhaustive-model-search is setting subframeType to EXHAUSTIVE? which is default subframeType?
5. -rice-partition-order is not implemented?
Thank you!
(sorry for the delayed reply, hope this still helps)
1. Yes, you can leave minLPCOrder to zero. That is there because this code doesn't often choose the lower LPC order's, so it may often not be necessary to even check them if you want to save a tad bit of time(though for best potential compression, you should leave it to zero anyways).
2. Variable block size isn't implemented yet, so currently only the maxBlockSize is used. The min value is ignored for the time being.
3. Channel config is set to "Encoder_Choice" by default. It will run a quick comparison of the different channels and attempt to select the best one.
4. Exhaustive subframe type is default. This should be correct for most cases.
5. Correct, rice partition order is not yet implemented. It is fixed at a single partition.
Hope the code is working for your needs :)