Oh, I didn't know that, can you tell the URL where adobe recommends this?



2007/3/1, Paulo Soares <[EMAIL PROTECTED]>:
>
> I've no idea where's the problem. There's a reason why Adobe recomends
> to use the screen annotation to let whatever media player you have in your
> machine to play the sound.
>
> Paulo
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] ] On
> > Behalf Of Tony Chhun
> > Sent: Thursday, March 01, 2007 10:25 AM
> > To: Post all your questions about iText here
> > Subject: Re: [iText-questions] Pdf File request
> >
> > "The classic sound
> > annotation only supports raw samples and you'll generally need to
> > convert your sound files."
> >
> > Thank you a lot for that, it seems that pdf reference
> > contains some mistakes. It reads, sound entry of a sound
> > annotation can contain a stream with a F entry.
> > Well, I have tried this way, sound annotation is ok, but I
> > still have a problem. I hear the sound but it is very bad quality.
> >
> > I gave a raw stream with no compression, encoded 16 bits,
> > 11025Hz, one channel, but the sound is not great, it seems I
> > miss something but I can't see what. Could you help?
> >
> > <CUT>
> >     PdfAnnotation ann = new PdfAnnotation(writer, rect);
> >     ann.put(PdfName.TYPE, PdfName.ANNOT); //Annotation type
> >     ann.put(PdfName.SUBTYPE, new
> > PdfName("Sound"));//Annotation subtype
> >     ann.put(PdfName.T, new PdfString("Title"));
> >     ann.put (PdfName.CONTENTS, new PdfString("audio note"));
> >
> >     //getRaw(String s) gives the byte[] data of the file
> >     com.lowagie.text.pdf.PdfStream raw=new
> > com.lowagie.text.pdf.PdfStream (getRaw("tada.raw "));
> >     raw.put(PdfName.TYPE, new PdfName("Sound")); //Type
> >     raw.put(PdfName.R, new PdfNumber(11025)); //rate
> >     raw.put(PdfName.C, new PdfNumber(1));// number of channel
> >     raw.put(PdfName.B , new PdfNumber(16));//encoding
> >     raw.put(PdfName.E, new PdfName("Raw"));//Raw formatted
> >
> >
> >     PdfIndirectReference ref =
> > writer.addToBody(raw).getIndirectReference(); //Add the stream to pdf
> >     ann.put(new PdfName("Sound"), ref);
> >     return ann;
> > </CUT>
> >
> > Thank you.
> >
> >
> >
> >
> > 2007/2/27, Paulo Soares < [EMAIL PROTECTED] >:
> >
> >       The subtype screen has a F key entry. You use it as if
> > it was a movie
> >       but with a content type of movie/mpeg, for example. The
> > classic sound
> >       annotation only supports raw samples and you'll
> > generally need to
> >       convert your sound files.
> >
> >       Paulo
> >
> >       > -----Original Message-----
> >       > From: [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED] >
> >       > [mailto:[EMAIL PROTECTED] On
> >       > Behalf Of Tony Chhun
> >       > Sent: Tuesday, February 27, 2007 9:05 AM
> >       > To: Post all your questions about iText here
> >       > Subject: Re: [iText-questions] Pdf File request
> >       >
> >       > Yes but, this method does not work.
> >       > Actually, the the Sound tool does not embed the wav file in
> >       > the pdf but it  extract  all the information to read the
> >       > stream from the wav file and put the audio stream in
> > the document.
> >       > There's no file specification object.
> >       > The second tool, founc in Tool >> advanced >> sound does
> >       > create a file specification but no audio annotation. Instead
> >       > of Subtype Sound, it places subtype Screen.
> >       >
> >       > What I want is an annotation with the sound entry containing
> >       > a F (file specification)
> >       >
> >       > Is there any way to carry that out?
> >       >
> >       >
> >       > 2007/2/26, Leonard Rosenthol < [EMAIL PROTECTED]
> >       > <mailto: [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> > >:
> >       >
> >       >       Open Adobe Acrobat Professional.
> >       >       Choose the Sound tool
> >       >       Draw out your annotation
> >       >       Choose the .wav file you wish to embed
> >       >       Voila
> >       >
> >       >
> >       >
> >       >
> >       >       On Feb 26, 2007, at 11:17 AM, Tony Chhun wrote:
> >       >
> >       >
> >       >               Ok, I will explain further.
> >       >               A PDF document can contain Annotation such as
> >       > text but also audio annotation.
> >       >               I only have PDF document with audio annotation
> >       > recorded by a microphone, but what I need is an audio
> >       > annotation with a wav file.
> >       >               The wave file exists already (take one of the
> >       > windows sound for instance), I just want the annotation to
> >       > play the sound when activated. Sothe wavfile has to be
> >       > embedded in the pdf document.
> >       >               Excuse my english speaking, but it's not so
> >       > easy than in french.
> >       >
> >       >               Thank you.
> >       >
> >       >
> >       >               2007/2/26, Bill Ensley <[EMAIL PROTECTED]>:
> >       >
> >       >                       ??????????????????????????????
> >       >
> >       >                       -Bill Ensley
> >       >                       www.bearprinting.com
> >       >
> >       >
> >       > ________________________________
> >       >
> >       >                               From:
> >       > [EMAIL PROTECTED] [mailto:
> >       > [EMAIL PROTECTED]
> >       > <mailto:[EMAIL PROTECTED] > ] On
> >       > Behalf Of Tony Chhun
> >       >                               Sent: Monday, February
> > 26, 2007 11:01 AM
> >       >                               To: Post all your questions
> >       > about iText here
> >       >                               Subject: [iText-questions] Pdf
> >       > File request
> >       >
> >       >
> >       >
> >       >                               Does anyone can send me a Pdf
> >       > File with an audio annotation in it.
> >       >                               The audio annotation have to be
> >       > a file specification embedded in the document.
> >       >
> >       >                               Thank you.
> >       >
> >       >
> >       >
> >       >
> >       > --------------------------------------------------------------
> >       > -----------
> >       >                       Take Surveys. Earn Cash. Influence the
> >       > Future of IT
> >       >                       Join SourceForge.net's Techsay panel
> >       > and you'll get the chance to share your
> >       >                       opinions on IT & business topics
> >       > through brief surveys-and earn cash
> >       >
> >       >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> >  < http://www.techsay.com/default.php?page=join.php&p=sourceforge>
> >       > &CID=DEVDEV
> >       >
> > <http://www.techsay.com/default.php?page=join.php&p=sourceforg
> >       > e&CID=DEVDEV>
> >       >
> > _______________________________________________
> >       >                       iText-questions mailing list
> >       >
> > [email protected]
> > <mailto:[email protected]>
> >       > <mailto: [email protected]>
> >       >
> >       >
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > <https://lists.sourceforge.net/lists/listinfo/itext-questions>
> >       >                       Buy the iText book:
> >       > http://itext.ugent.be/itext-in-action/
> >       >
> >       >
> >       >
> >       >
> >       >
> >       > --------------------------------------------------------------
>
> >       > -----------
> >       >               Take Surveys. Earn Cash. Influence the
> > Future of IT
> >       >               Join SourceForge.net 's Techsay panel and
> >       > you'll get the chance to share your
> >       >               opinions on IT & business topics through brief
> >       > surveys-and earn cash
> >       >
> >       >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> >  <http://www.techsay.com/default.php?page=join.php&p=sourceforge >
> >       > &CID=DEVDEV_______________________________________________
> >       > <
> > http://www.techsay.com/default.php?page=join.php&p=sourceforg
> > <http://www.techsay.com/default.php?page=join.php&p=sourceforg>
> >       > e&CID=DEVDEV_______________________________________________>
> >       >               iText-questions mailing list
> >       >               [email protected]
> > <mailto: [email protected]>
> >       >
> >       > https://lists.sourceforge.net/lists/listinfo/itext-questions
> >       > <
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > < https://lists.sourceforge.net/lists/listinfo/itext-questions> >
> >       >               Buy the iText book:
> >       > http://itext.ugent.be/itext-in-action/
> >       > < http://itext.ugent.be/itext-in-action/>
> >       >
> >       >
> >       >
> >       >
> >       > --------------------------------------------------------------
>
> >       > -----------
> >       >       Take Surveys. Earn Cash. Influence the Future of IT
> >       >       Join SourceForge.net's Techsay panel and you'll get the
> >       > chance to share your
> >       >       opinions on IT & business topics through brief
> >       > surveys-and earn cash
> >       >
> >       > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> >       > &CID=DEVDEV
> >       > <http://www.techsay.com/default.php?page=join.php&p=sourceforg
>
> >       > e&CID=DEVDEV>
> >       >       _______________________________________________
> >       >       iText-questions mailing list
> >       >       [email protected]
> >       > <mailto: [email protected]
> > <mailto: [email protected]> >
> >       >
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> >       >       Buy the iText book:
> > http://itext.ugent.be/itext-in-action/
> >       >
> >       >
> >       >
> >       >
> >       >
> >
> >
> >       Aviso Legal:
> >       Esta mensagem é destinada exclusivamente ao
> > destinatário. Pode conter informação confidencial ou
> > legalmente protegida. A incorrecta transmissão desta mensagem
> > não significa a perca de confidencialidade. Se esta mensagem
> > for recebida por engano, por favor envie-a de volta para o
> > remetente e apague-a do seu sistema de imediato. É proibido a
> > qualquer pessoa que não o destinatário de usar, revelar ou
> > distribuir qualquer parte desta mensagem.
> >
> >       Disclaimer:
> >       This message is destined exclusively to the intended
> > receiver. It may contain confidential or legally protected
> > information. The incorrect transmission of this message does
> > not mean the loss of its confidentiality. If this message is
> > received by mistake, please send it back to the sender and
> > delete it from your system immediately. It is forbidden to
> > any person who is not the intended receiver to use,
> > distribute or copy any part of this message.
> >
> >
> >
> >
> > --------------------------------------------------------------
> > -----------
> >       Take Surveys. Earn Cash. Influence the Future of IT
> >       Join SourceForge.net's Techsay panel and you'll get the
> > chance to share your
> >       opinions on IT & business topics through brief
> > surveys-and earn cash
> >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> > &CID=DEVDEV
> >       _______________________________________________
> >       iText-questions mailing list
> >       [email protected]
> >
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > < https://lists.sourceforge.net/lists/listinfo/itext-questions>
> >       Buy the iText book: http://itext.ugent.be/itext-in-action/
> >
> >
> >
> >
> >
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
> informação confidencial ou legalmente protegida. A incorrecta transmissão
> desta mensagem não significa a perca de confidencialidade. Se esta mensagem
> for recebida por engano, por favor envie-a de volta para o remetente e
> apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o
> destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may
> contain confidential or legally protected information. The incorrect
> transmission of this message does not mean the loss of its confidentiality.
> If this message is received by mistake, please send it back to the sender
> and delete it from your system immediately. It is forbidden to any person
> who is not the intended receiver to use, distribute or copy any part of this
> message.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to