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

Georgiu Konstantinos georgiu at cti.gr
Thu May 17 09:38:38 CDT 2007


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


More information about the Valentina mailing list