[M4IF Technotes] URLs in PROTOS

Christian Weigel christian.weigel epost.de
Tue Oct 29 10:29:11 EST 2002


Thank you. Works with mp4tool as well as BIFSENC.
Christian
Cyril Concolato wrote:
> Hi Christian,
> 
> Since the proto field is an MFString you need to use a 
> particular syntax to signal to then encoder that the string 
> will actually be an odid. Use the following syntax "od:2" 
> instead of "2" and it will work, at least with mp4tool.
> 
> > PROTO testURL [
> >   exposedField MFString theURL []
> > ]
> > {
> >   Shape {
> >     geometry   Bitmap {}
> >     appearance Appearance {
> >       texture ImageTexture {
> >         url IS theURL
> >       }
> >     }
> >   }
> > }
> > OrderedGroup {
> >   children [
> >     DEF testInstance testURL {
> >       url ["2"] # alternatively I tried: "url 2" and "url "2"
> And of course the proto field name is not 'url' but 'theURL'.
> >     }
> >   ]
> > }
> 
> Regards,
> 
> Cyril Concolato
> -- 
> Ecole Nationale Supérieure des Télécommunications, Paris
> Dept. Comelec
> 46, rue Barrault 75013 Paris                
> Tel: +33145817991    Fax: +33145804036
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.408 / Virus Database: 230 - Release Date: 24.10.2023
>  
> 



More information about the Mp4-tech mailing list