A
A
Abror Jakey2014-12-08 20:16:09
Character encoding
Abror Jakey, 2014-12-08 20:16:09

How to correctly decode base64?

Standard methods do not help. Displays ryakozabry, maybe someone came across.
The file is here!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Mileshkin, 2014-12-08
@ayyjay

File in Data URI format . At the beginning of the file is a header containing the MIME type and encoding. In this case "data:audio/mpeg;base64,". To decode the file, the header must be removed. For example, like this:

cat code.txt | sed 's/data:audio\/mpeg;base64,//' | base64 -d > audio.mpeg

Received audio file: rghost.net/private/59496310/41202f77f205280ae4b636...
www.iandevlin.com/blog/2012/09/html5/html5-media-a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question