Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

BCJ2 filter

nef
2011-11-07
2013-05-30
  • nef
    nef
    2011-11-07

    Hi

    I have a raw data with some filter apply on it in fact BCJ2 LZMA LZMA LZMA

    i try to use lzma_raw_decoder with filter LZMA_FILTER_X86 and 3 LZMA_FILTER_LZMA1 with the correct properties for this
    But it doesn't work i have a filter error and of course the lzma_code return also an error.
    I don't understand how to pass the correct value for this filter and how i can pass the size and position for each data block and if i need to do that.

    If i have only LZMA or LZMA2 filter i can apply the filter and decode the data but I don't understand how to use the library to decode bcj* data.

    someone can help me ?

    thanks

     
  • Igor Pavlov
    Igor Pavlov
    2011-11-07

    .xz format doesn't support BCJ2.
    You can use LZMA SDK, if you want to extract BCJ2 data.

     
  • nef
    nef
    2011-11-08

    And with BCJ ?

     
  • Igor Pavlov
    Igor Pavlov
    2011-11-08

    BCJ2 code doesn't use BCJ code.
    So BCJ code can't be used to decode BCJ2 streams.

     
  • nef
    nef
    2011-11-08

    I would say, if i have BCJ LZMA LZMA LZMA

    I don't if it's possible

     
  • Igor Pavlov
    Igor Pavlov
    2011-11-08

    triple LZMA us senseless for BCJ.
    BCJ2 provides 3 streams. So it needs 3 LZMA.
    BCJ provides 1 stream. So it needs 1 LZMA.

     
  • nef
    nef
    2011-11-09

    ok thanks for yours informations