Exporting PDF as MP3?

Gert Gast gert.gast at gmail.com
Sun Mar 23 05:48:00 UTC 2008


Hmm ...guys I followed your instructions and my audio was totally scrambled
..

pdftotext narcissus.pdf - | text2wave | lame - narcissus.mp3
Assuming raw pcm input file
LAME version 3.96.1 (http://lame.sourceforge.net/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE, SSE2
Using polyphase lowpass filter, transition band: 17249 Hz - 17782 Hz
Encoding <stdin> to narcissus.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=3
Cannot load wavefile: /tmp/est_25056_00001

Any ideas?

Cheers, Gert

P.S. it sounds like a great feature ...

On Sun, Mar 23, 2008 at 1:52 PM, Derek Broughton <news at pointerstop.ca>
wrote:

> Dotan Cohen wrote:
>
> > On 23/03/2008, Jonas Norlander <jonorland at gmail.com> wrote:
> >> 2008/3/22, Dotan Cohen <dotancohen at gmail.com>:
> >>
> >> > In KPDF one can have the text spoken out loud. Is it possible to make
> >>  >  an MP3 recording of that? I'm thinking along the lines of a command
> >>  >  to run in Konsole that would take a PDF file as an argument and
> >>  >  output a MP3, but I don't know where to start.
> >>
> >>
> >> I don't know a way to do it from pdf to sound but you could pipe
> through
> >>  pdftotext and use text2wave from Festival to record it with lame like
> >>  this: pdftotext somefile.pdf - | text2wave | lame - somefile.mp3
> >>  Looks like it works ok.
> >>
> >
> >
>



-- 
Dr Gert Gast
Senior Lecturer, SAE Institute Byron Bay

SAE Institute World Headquarters
373-391 Ewingsdale Road
Byron Bay NSW 2481 Australia

+61 (0)2 6639 6000 | Phone
+61 (0)2 6685 6133 | Fax

www.sae.edu | Web
ggast at sae.edu | Mail
AIM: cjervil | Chat


National Provider Code: 0273
CRICOS Provider Code: NSW 00312F

CONFIDENTIALITY CAUTION : This message is intended only for the use of
the individual or entity to whom it is addressed and contains
information that is privileged and confidential. If you, the reader of
this message, are not the intended recipient, you should not
disseminate, distribute or copy this communication. If you have
received this communication in error, please notify us immediately by
return email and delete the original message. Thank you.
____________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20080323/14725263/attachment.html>


More information about the kubuntu-users mailing list