Menu

Need help converting flac encoder params

Help
Anonymous
2011-05-28
2013-05-30
  • Anonymous

    Anonymous - 2011-05-28

    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!

     
  • Preston Lacey

    Preston Lacey - 2011-07-10

    (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 :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.