Hi

I've had some time recently to revise the codec2 patchset from a few
months ago, just in time for the holidays. For those not in the know,
codec2 is an ultra-low bitrate voice codec primarily intended for
amateur radio use, but which has recently found use in compressing
podcasts and audiobooks. Trunking is another potential use.

The most important changes in this patchset are:

* Removed the CODEC2_MODE_* defines since they caused trouble if the
system has an older version of libcodec2 installed. Debian stretch
ships libcodec2 0.4 which lacks CODEC2_MODE_700C and so this wouldn't
compile. These defines are only used in AVPRIV_CODEC2_AVOPTIONS anyway,
so verbatim numbers are fine IMO.

* Fixed detection of non-working modes. Again, attempting 700C on
libcodec2 0.4.

* Expanded documentation.

Bikeshedding opportunities:

* should codec2 mode be carried in extradata or codec_tag?

Future work:

* add support for CODEC2_MODE_WB once it's stable
* FATE tests: bitexact remuxing in all modes, encoding all modes,
decoding all modes

For the FATE bit I'm thinking something like the test script attached.
I attached a 12 second sample too, a whopping 5 kB in size 😎

/Tomas

Attachment: sa2tms.c2
Description: Binary data

Attachment: test_codec2.sh
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to