Opened 12 years ago

Closed 7 years ago

#1959 closed enhancement (fixed)

Support codec2

Reported by: Mathias Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: codec2
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: Codec2 is a voice compression codec aiming towards very low bandwiths (below 5000 bits per second). Profiles exist for 3200, 2400, 1400 and 1200 bps.

I would suggest adding Codec2 to the list of supported ffmpeg audio compression and decompression codecs.

Codec2 is LGPL licensed and was designed to avoid patent issues.

URL for more information: http://codec2.org/

Change History (9)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: FFmpegavcodec
Keywords: codec2 added
Reproduced by developer: set
Status: newopen
Summary: Add codec2 to the list of supported voice codecsSupport codec2
Version: unspecifiedgit-master

comment:2 by Elon Musk, 9 years ago

Are there actual samples anywhere?

comment:3 by Lowe1289, 9 years ago

If you want to get access to some Codec 2 sample files I've posted the first 12 chapters of Sherlock Homes Audio book in Codec 2 format (.c2) here: https://lowbitnet.wordpress.com/2016/02/09/ultra-low-bit-audio-books/ - enjoy.

comment:4 by Lowe1289, 9 years ago

Another audiobook Codec2 file batch here - Do Androids Dream of Electric Sheep by Philip K. Dick: https://lowbitnet.wordpress.com/2016/02/10/ultra-low-bit-audio-book-do-androids-dream-of-electric-sheep/

comment:5 by Elon Musk, 9 years ago

How it this .c2 format related to www.codec2.org which supports multiple profiles?

comment:6 by Lowe1289, 9 years ago

Hmm, I'm not sure - I used an old windows compiled codec2 encoder binary provided here (https://github.com/mnasyrov/codec24net) which outputs files with the .c2 extension - at 2400bps I'm guessing (I talk about the process to do this here: https://lowbitnet.wordpress.com/2016/01/28/how-to-play-and-encode-codec2-audio-in-windows/).

I assume the different codec2 profiles were just different bitrates, similar to mp3 having different bitrates..

Last edited 9 years ago by Lowe1289 (previous) (diff)

comment:7 by Elon Musk, 9 years ago

Unfortunately it is not, your files have nothing to do with original codec2.

comment:8 by Lowe1289, 9 years ago

Hmm, maybe you can help me out and show me where I've gone astray - as stated I've used the compiled windows binaries from here: https://github.com/mnasyrov/codec24net. It states on that page that "Codec24Net is a port of Codec2 codec to .NET framework. Codec2 is an open source low bit rate speech codec, that's developed by David Rowe."

David Rowe is the creator of Codec2 and is linked from the original page here: ​http://codec2.org/

So what am I missing?

Version 0, edited 9 years ago by Lowe1289 (next)

comment:9 by Elon Musk, 7 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.