pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject Re: PDActionSound Issues
Date Wed, 22 Jun 2016 12:44:23 GMT
The files in question...

Test.pdf : The original PDF file with the links
Test_edited.pdf : After running the code on it
Con leche.wav : The original 8-bit wav file used
Code.java : The relevant code snippet

PS. I'm using PDFBox version 2.0.2
 Con leche.wav

On Mon, Jun 20, 2016 at 6:26 PM, Gilad Denneboom <gilad.denneboom@gmail.com>

> Hi all,
> I'm trying to associate a "Play Sound" action with a button field using
> the new PDActionSound object and the code provided by Tilman (Here:
> https://stackoverflow.com/questions/36749927/pdfbox-creating-sound-object-with-link-reference-to-external-mp3-or-wav-file/36753430),
> and I'm getting mixed results. First of all, I'm unable to use a 16-bit WAV
> file, but it does work with 8-bit files. However, the files get corrupt in
> the process and a nasty click is added to them.
> Anyone experienced something like this in the past, or happens to know
> what could be causing it? I'm happy to share the source files, if necessary.
> Thanks!
> Gilad.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message