[FFmpeg-devel] aptX codec in RIFF wave container

Paul B Mahol onemda at gmail.com
Tue Dec 18 21:05:36 EET 2018


On 12/18/18, Pali Rohár <pali.rohar at gmail.com> wrote:
> Hello,
>
> it looks like that audio encoded by aptX (non-hd) codec can be stored in
> RIFF wave container. Look into old Microsoft Multimedia document named
> "New Multimedia Data Types and Data Techniques" from April 15, 1994.
>
> http://web.archive.org/web/20120917060438/http://download.microsoft.com/download/9/8/6/9863C72A-A3AA-4DDB-B1BA-CA8D17EFD2D4/RIFFNEW.pdf
>
> It was available on Microsoft website, but now is only in webarchive.
>
> At page 45 is described WAVE format header with allocated id for aptX.
>
> #define WAVE_FORMAT_APTX (0x0025)
>
> Description of compression on that page really matches aptX (non-hd)
> codec which is already supported by ffmpeg.
>
> So... could you add support for storing aptX encoded audio to RIFF wave
> container? Currently ffmpeg can store aptX only into "raw" container, so
> there is no information about frequency or channels. And above document
> describe that frequency and number of channels can be stored in RIFF
> wave also for aptX payload.

No, because we need actual samples.


More information about the ffmpeg-devel mailing list