Playing/extracting audio file from PDF

Posted by ravl1084 on Super User See other posts from Super User or by ravl1084
Published on 2012-04-02T22:53:47Z Indexed on 2012/04/02 23:33 UTC
Read the original article Hit count: 201

Filed under:
|

I use Ubuntu and I have a PDF file that contains an audio annotation. It won't play on Okular, it treats it as a text annotation.

Following an old blog post where the poster created a small C script to extract the audio didn't work either, I suspect the format of these audio annotations has changed. Using the information on it I managed to uncompress the PDF and with vim, I found the audio data in the file. I tried copying this into its own file and changed the extension from mp3, wav, mid, but none of them would play.

Is there a way of achieving this?

© Super User or respective owner

Related posts about linux

Related posts about pdf