Embeding Movie and Audio Files

A

Abhishek

Hi! EveryOne and Merry Christmas

I want to get the complete listing of all the movie formats that can be
inserted in PPT XP/2003 and also the audio formats.
I know some of them
e.g. Movie
Formats -->*.asf,*.asx,*.wpl,*.wm,*.wmx,*.wmd,*.avi,*.wmx,*.wmv,*.wvx,*.mpeg
,*.mpg,*.mpe,*.m1v,*.mp2
Audio files--> *.aif,*.aifc,*.aiff,*.au,*.snd,*.mid,*.midi,*.rmi,*.mp3,*.m3u

It will be great help if i can get these listed somewhere.

Thanks &Wishes

Abhishek
 
S

Sonia

Inserting a media file is different than embedding a media file. Only WAV
(audio) files can be embedded. All others are linked.

You can see the full list of media files that can be inserted by going to Insert
Movies and Sounds and then Movie from File or Sound from File. Hover your
mouse over the right edge of the dialog box and then Click/hold/drag to stretch
it to the right until you see the full list of file extensions in the "Files of
type" box. Unless you are using dual monitors you may have to move the dialog
box to the left in order to see the full list.
 
A

Abhishek

How do I get to know that a particular file is inserted/embedded or its
Linked .
You say only wav files can be embedded if u can give me a similar info
regarding movie files as wel it will be grt
 
A

Abhishek

How do I get to know that a particular file is inserted/embedded or its
Linked .
I am inserting a .wav file and even that is coming as linked.
When i goto insert sound menu and insert a wav file that wave file is coming
as link file and not embedded
How can i get to embed a file

Abhishek
 
S

Sonia

Go to Tools > Options > General and set the size limit there to 50000 (50 MB).
All WAV file that don't exceed 50 MB will be embedded.
 
A

Abhishek

Go to Tools > Options > General and set the size limit there to 50000 (50
MB).
All WAV file that don't exceed 50 MB will be embedded.

Ok fine thanks again
This works perfectly
But is there any option from where i can know whether this inserted clip is
linked or embedded

Abhishek
 
S

Shyam Pillai

Abhishek,
Check the SourceFullName property of the LinkFormat object for any media
shape. It will return a path if the shape is linked else it will error out.
' -----------------------------------------------------------------------------------
Function GetSourceInfo(oShp As Shape) As String
On Error GoTo Error_GetSourceInfo
GetSourceInfo = oShp.LinkFormat.SourceFullName
Exit Function
Error_GetSourceInfo:
GetSourceInfo = ""
End Function

Sub Test()
Dim oShape As Shape
Set oShape = ActivePresentation.Slides(1).Shapes(1)
' Example assumes that you will perform checks to check media type etc.
If GetSourceInfo(oShape) = "" Then
MsgBox "This shape is embedded."
Else
MsgBox "This shape is linked."
End If
End Sub
' -----------------------------------------------------------------------------------
 
S

Sonia

Or right click the sound icon and select "Edit sound object". If it says
[Contained in presentation] it is embedded. If it shows a path, it is linked.
 
A

Abhishek

Thanks

Abhishek


Sonia said:
Or right click the sound icon and select "Edit sound object". If it says
[Contained in presentation] it is embedded. If it shows a path, it is linked.
(50
MB).

Ok fine thanks again
This works perfectly
But is there any option from where i can know whether this inserted clip is
linked or embedded

Abhishek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top