You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Stephen Badger <sb...@ecs.soton.ac.uk> on 2008/10/23 22:41:32 UTC

Relationship between Sound and Slides

Hi,

For a project I am working on, I'm looking to extract audio from a
narrated powerpoint file (seems to be a Microsoft Powerpoint specific
feature). I've seen from the HSLF API that you can extract bunches of
SoundData from a Document Record. In the case of these narrated files,
there seems to be one wave file for each slide. Is there any way I can
find out what Sounds a given slide uses? I presume there is some
reference in the format, I just can't find it anywhere in the API.

I'm essentially looking to grab these wave files, and concatenate them
to form a full audio transcript of the slideshow. I can extract and
manipulate them fine, I just can't seem to work out their order.

Regards,
Stephen

-- 
Stephen Badger
ECS, University of Southampton
United Kingdom

Re: Relationship between Sound and Slides

Posted by Stephen Badger <sb...@ecs.soton.ac.uk>.
Thank you,
Stephen

On Fri, 2008-10-24 at 07:08 +0100, Yegor Kozlov wrote:
> http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hslf/usermodel/examples/SoundFinder.java
> 
> Yegor
> 
> > Hi,
> >
> > For a project I am working on, I'm looking to extract audio from a
> > narrated powerpoint file (seems to be a Microsoft Powerpoint specific
> > feature). I've seen from the HSLF API that you can extract bunches of
> > SoundData from a Document Record. In the case of these narrated files,
> > there seems to be one wave file for each slide. Is there any way I can
> > find out what Sounds a given slide uses? I presume there is some
> > reference in the format, I just can't find it anywhere in the API.
> >
> > I'm essentially looking to grab these wave files, and concatenate them
> > to form a full audio transcript of the slideshow. I can extract and
> > manipulate them fine, I just can't seem to work out their order.
> >
> > Regards,
> > Stephen
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 
> 
> 
-- 
Stephen Badger
ECS, University of Southampton
United Kingdom

Re: Relationship between Sound and Slides

Posted by Stephen Badger <sb...@ecs.soton.ac.uk>.
Hi,

For some reason, that example does find Shapes with sound references,
but always seems to return a sound reference of 0 in those cases. This
means the SoundData it is referencing is always the first one. I've seen
this on all 3 of the narrated powerpoint files I've tried thus far.
Here's some testing data anyway:
http://home.sevon.co.uk/TestCompletePowerPoint.ppt

Is this a bug, or just something I've overlooked about narrated
powerpoint files?

Regards,
Stephen


On Fri, 2008-10-24 at 07:08 +0100, Yegor Kozlov wrote:
> http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hslf/usermodel/examples/SoundFinder.java
> 
> Yegor
> 
> > Hi,
> >
> > For a project I am working on, I'm looking to extract audio from a
> > narrated powerpoint file (seems to be a Microsoft Powerpoint specific
> > feature). I've seen from the HSLF API that you can extract bunches of
> > SoundData from a Document Record. In the case of these narrated files,
> > there seems to be one wave file for each slide. Is there any way I can
> > find out what Sounds a given slide uses? I presume there is some
> > reference in the format, I just can't find it anywhere in the API.
> >
> > I'm essentially looking to grab these wave files, and concatenate them
> > to form a full audio transcript of the slideshow. I can extract and
> > manipulate them fine, I just can't seem to work out their order.
> >
> > Regards,
> > Stephen
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 
> 
> 
-- 
Stephen Badger
ECS, University of Southampton
United Kingdom

Re: Relationship between Sound and Slides

Posted by Yegor Kozlov <ye...@dinom.ru>.
http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hslf/usermodel/examples/SoundFinder.java

Yegor

> Hi,
> 
> For a project I am working on, I'm looking to extract audio from a
> narrated powerpoint file (seems to be a Microsoft Powerpoint specific
> feature). I've seen from the HSLF API that you can extract bunches of
> SoundData from a Document Record. In the case of these narrated files,
> there seems to be one wave file for each slide. Is there any way I can
> find out what Sounds a given slide uses? I presume there is some
> reference in the format, I just can't find it anywhere in the API.
> 
> I'm essentially looking to grab these wave files, and concatenate them
> to form a full audio transcript of the slideshow. I can extract and
> manipulate them fine, I just can't seem to work out their order.
> 
> Regards,
> Stephen
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org