[FFmpeg-devel] [PATCH v3] Add support for Audible AAX (and AAX+) files

2015-07-12 Thread Vesselin Bontchev
Hi, I have uploaded some Audible samples to the https://gitlab.com/vesselin.bontchev/audible-samples/ page. Currently only .aax files are supported, see https://en.wikipedia.org/wiki/Audible.com#Quality page for more information. $ export activation_bytes=62689101 # ffmpeg -i

Re: [FFmpeg-devel] [PATCH v3] Add support for Audible AAX (and AAX+) files

2015-07-12 Thread Carl Eugen Hoyos
Vesselin Bontchev vesselin.bontchev at yandex.com writes: [...] +unsigned char file_key[20]; Maybe irrelevant but we normally use uint8_t. +/* drm blob processing */ +avio_seek(pb, 0x246, 0); I did not completely check so sorry if I miss something but afaict the blob is an

Re: [FFmpeg-devel] [PATCH v3] Add support for Audible AAX (and AAX+) files

2015-07-12 Thread Carl Eugen Hoyos
Vesselin Bontchev vesselin.bontchev at yandex.com writes: +if (!strncmp((char*)type, aax, 3)) { Three lines above you have: if (strcmp(type, qt )) c-isom = 1; So please make this: .. else if (!strcmp(type, aax )) { c-aax = 1; } (type[4] is initialized to 0 and o nly the