[V4MD]: Importing video,audio (blob media) into cast members

Bart Pietercil bart.pietercil at gmail.com
Thu May 17 09:56:36 CDT 2007


Hi Georgiu,

I don't develop anymore in Director but this is what I used to do for  
problems like this

have a cast with a castmember of each needed type (video,audio)
dump the blob to a (temp) directory on the user drive
set the path of the appropriate castmember to the dumped blob
play

hth

Bart Pietercil


On 17-mei-07, at 16:38, Georgiu Konstantinos wrote:

> For example,
> gObjectData = gDb.sqlSelect(sqlString)
> gObjectData.firstRecord()
> mem = _movie.newmember (#sound)
> gObjectData.field("audio").getMedia(mem)
>
> doesn't work . The new object is created ok, but he getmedia makes  
> it a
> picture. I think it is the default type for blobs. Ok how do I change
> the type? I f I do change the type with
> mmaudio = mt.changeType(mt.field("audio"),#kTypeSound,512)
> this returns void.
>
> So how do I do it?
>
>
>> -----Original Message-----
>> From: valentina-bounces at lists.macserve.net [mailto:valentina-
>> bounces at lists.macserve.net] On Behalf Of Georgiu Konstantinos
>> Sent: Thursday, May 17, 2007 4:35 PM
>> To: Valentina Developers
>> Subject: [V4MD]: Importing video,audio (blob media) into cast members
>>
>> Hello,
>> I want to import video or audio from valentina database to cast
> members.
>> I found out that this is not possible with video files (except flash
>> videos). This is due to director importing  video files as links to
>> external files.
>> But with audio you could have files embedded to casts (as standar
>> imports) So how can I import an audio file (say .mp3) to as a sound
> cast
>> member from valentina db?
>>
>> Thanks ,best regards ,
>> Kostas
>> _______________________________________________
>> Valentina mailing list
>> Valentina at lists.macserve.net
>> http://lists.macserve.net/mailman/listinfo/valentina
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list