Re: [FFmpeg-user] Converting Audible AAX

2016-01-14 Thread Robert Chalmers
They can actually be unencoded if you have the activation key.

ffmpeg -activation_bytes 62689101 -i Volume1.aax -vn -c:a copy -v debug 
Voume1.mp4

This is now my error message.

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] [aax] file checksum == 
d72f1f04e3c73d0bc68e742db1bc69b58dc3a500
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] [aax] mismatch in checksums!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] error reading header
[AVIOContext @ 0x7f9683700420] Statistics: 32768 bytes read, 0 seeks
Volume1.aax: Invalid data found when processing input



However, this one works ….. Taken from the github site….

ffmpeg -activation_bytes 62689101 -i Audible_AAX_sample_62689101.aax -vn -c:a 
copy -v debug output_sample.mp4


So either my activation_bytes are wrong …. or something else is amiss.




> On 14 Jan 2016, at 03:58, G A  wrote:
> 
> they are encrypted files, ffmpeg is not going to crack it
> 
> Audible AAX files are encrypted M4B files, and they can be decrypted by
> specifying a 4 byte activation secret.
> 
> 
> 
> --
> View this message in context: 
> http://ffmpeg-users.933282.n4.nabble.com/Converting-Audible-AAX-tp4673787p4674063.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Robert Chalmers
rob...@chalmers.com.au  Quantum Radio: http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB 
Storage made up of - 
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower 
Bay



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting Audible AAX

2016-01-14 Thread Moritz Barsnick
On Thu, Jan 14, 2016 at 08:33:41 +, Robert Chalmers wrote:
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] [aax] file checksum == 
> d72f1f04e3c73d0bc68e742db1bc69b58dc3a500
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] [aax] mismatch in checksums!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] error reading header
> [AVIOContext @ 0x7f9683700420] Statistics: 32768 bytes read, 0 seeks
> Volume1.aax: Invalid data found when processing input

That's certainly the message when the activation key is incorrect. You
can provoke it on the sample by varying the initially correct key.

> However, this one works ….. Taken from the github site….
> ffmpeg -activation_bytes 62689101 -i Audible_AAX_sample_62689101.aax -vn -c:a 
> copy -v debug output_sample.mp4

Now, is this a copy/paste error, or does your activation key really
happen to be the same as for the github sample? Note your command line:

> ffmpeg -activation_bytes 62689101 -i Volume1.aax -vn -c:a copy -v debug 
> Voume1.mp4

Just wondering,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting Audible AAX

2016-01-14 Thread Robert Chalmers
Thanks. I solved the problem. There is a script for grabbing the activation 
code from the registered audible account. That is, you have to have an Audible 
login account, and books in your library.

The original has a small error, so I forked it from Github, and applied the 
patch. Well, the patch is already there, but not synched…. and I can see no way 
of contacting the author?
So I forked my own copy.

https://github.com/ShanghaiTimes/audible-activator

This is not my code - and it’s simple Python code, and easy to run from the 
command line. 

and then1.  
ffmpeg -activation_bytes  -i Volume1.aax -vn -c:a copy -v debug 
Voume1.mp4 
will work.

> On 14 Jan 2016, at 09:22, Moritz Barsnick  wrote:
> 
> On Thu, Jan 14, 2016 at 08:33:41 +, Robert Chalmers wrote:
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] [aax] file checksum == 
>> d72f1f04e3c73d0bc68e742db1bc69b58dc3a500
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] [aax] mismatch in checksums!
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f968400] error reading header
>> [AVIOContext @ 0x7f9683700420] Statistics: 32768 bytes read, 0 seeks
>> Volume1.aax: Invalid data found when processing input
> 
> That's certainly the message when the activation key is incorrect. You
> can provoke it on the sample by varying the initially correct key.
> 
>> However, this one works ….. Taken from the github site….
>> ffmpeg -activation_bytes 62689101 -i Audible_AAX_sample_62689101.aax -vn 
>> -c:a copy -v debug output_sample.mp4
> 
> Now, is this a copy/paste error, or does your activation key really
> happen to be the same as for the github sample? Note your command line:
> 
>> ffmpeg -activation_bytes 62689101 -i Volume1.aax -vn -c:a copy -v debug 
>> Voume1.mp4
> 
> Just wondering,
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Robert Chalmers
rob...@chalmers.com .au  Quantum Radio: 
http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB 
Storage made up of - 
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower 
Bay



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting Audible AAX

2016-01-13 Thread G A
they are encrypted files, ffmpeg is not going to crack it

Audible AAX files are encrypted M4B files, and they can be decrypted by
specifying a 4 byte activation secret.



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Converting-Audible-AAX-tp4673787p4674063.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting Audible AAX

2016-01-11 Thread Robert Chalmers
Carl Eugen Hoyos  ag.or.at> writes:

> 
> Paul W  gmail.com> writes:
> 
> > $ ffmpeg -activation_bytes  -i example.aax
> 
> What does ffmpeg -i example.aax show?
> (The option only works if the aax file is 
> correctly identified.)
> 
> Carl Eugen
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user  ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 

Sorry to add my question to this, but what actually is 
the -activation_bytes string. Where do I find 
that?

My file is recognised with ffmpeg -i example.ax But, 
trying this command
ffmpeg -activation_bytes 62689101 -i Volume1.aax -vn -c:a copy -v \
 debug output2.mp4

results in this error

Opening an input file: Volume1.aax.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fee2b010600] Format mov,
mp4,m4a,3gp,3g2,mj2 probed with 
size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fee2b010600] ISO: File Type Major Brand: aax 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fee2b010600] [aax] file checksum ==
d72f1f04e3c73d0bc68e742db1bc69b58dc3a500
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fee2b010600] [aax] mismatch in checksums!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fee2b010600] error reading header

Thanks
Robert


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting Audible AAX

2016-01-01 Thread Carl Eugen Hoyos
Paul W  gmail.com> writes:

> $ ffmpeg -activation_bytes  -i example.aax

What does ffmpeg -i example.aax show?
(The option only works if the aax file is 
correctly identified.)

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting Audible AAX

2016-01-01 Thread Paul W
Thanks Carl! I tried a different file and it worked! Must have been an
issue with the file.

On 2 January 2016 at 12:50, Carl Eugen Hoyos  wrote:

> Paul W  gmail.com> writes:
>
> > $ ffmpeg -activation_bytes  -i example.aax
>
> What does ffmpeg -i example.aax show?
> (The option only works if the aax file is
> correctly identified.)
>
> Carl Eugen
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user