google / lyra

A Very Low-Bitrate Codec for Speech Compression
Apache License 2.0
3.82k stars 354 forks source link

What is the packet structure for the encoded ".lyra" file ? #97

Closed zxinhui-fb closed 1 year ago

zxinhui-fb commented 1 year ago

Is there any packet structure in the ".lyra' file ?
by looking at the source code, it seems the '.lyra' file only consists of bit stream byte by byte without any internal structure.

https://github.com/google/lyra/blob/main/encoder_main_lib.cc#L87

aluebs commented 1 year ago

That is correct. Currently the Lyra packet has no internal structure and only contains the bits from the quantization model. That is because, as is, we don't need any additional information to be sent over, and haven't committed to a stable bitstream yet to maintain development flexibility.

zxinhui-fb commented 1 year ago

thanks!