Log in

View Full Version : [Demo] LOTRII Trailer with little interactive menu


Sagittaire
20th July 2005, 14:09
Two Towers Trailer: (http://multimediacom.free.fr/CDRTest/LOTRII.divx)
- Video 720*400 XviD q4
- Audio AC3 5.1 French & English
- Subtitle xsub French & English
- Chapter

problem : how mux bmp mask for menu ???
i try with bmptoxsub.exe but mask don't work ...

at this time here my xml project:

<DivXMediaManager objectID="117" startingMenuID="118" defaultMenuLanguage="en" version="1.0">
<LanguageMenus objectID="118" languageCode="en" startingMenuID="190" rootMenuID="160" >
<DivXMediaMenu objectID="190" backgroundVideoID="1057" backgroundAudioID="1058" exitAction="191" menuType="other">
<Action objectID="191" >
<MenuTransitionAction objectID="178" menuID="160" />
</Action>
</DivXMediaMenu>
<DivXMediaMenu objectID="899" backgroundVideoID="156" exitAction="898" menuType="other">
<Action objectID="898" >
<MenuTransitionAction objectID="897" menuID="160" />
</Action>
</DivXMediaMenu>
<DivXMediaMenu objectID="799" backgroundVideoID="148" exitAction="798" menuType="other">
<Action objectID="798" >
<MenuTransitionAction objectID="797" menuID="160" />
</Action>
</DivXMediaMenu>
<DivXMediaMenu objectID="160" backgroundVideoID="180" backgroundAudioID="182" startingMenuItemID="161" exitAction="177" menuType="title" >
<ButtonMenu objectID="161" overlayID="181" rightAction="165" leftAction="173" selectAction="163" text="Trailer - SD">
<MenuRectangle objectID="162" left="300" top="150" width="120" height="100" />
<Action objectID="163" >
<PlayAction objectID="164" titleID="124" mediaObjectID="128" />
</Action>
</ButtonMenu>
<Action objectID="177" >
<MenuTransitionAction objectID="178" menuID="160" />
</Action>
</DivXMediaMenu>
</LanguageMenus>
<Media objectID="119">
<MenuTracks objectID="120">
<MediaSource objectID="179" mediaType="menuAvi" location="Menu1.divx" />
<MediaSource objectID="1179" mediaType="menuAvi" location="Menu2.divx" />

<MediaTrack objectID="1057" mediaSourceID="179" sourceTrackID="none" trackID="00dc" startFrame="0" endFrame="450" type="video" />
<MediaTrack objectID="1058" mediaSourceID="179" sourceTrackID="none" trackID="01wb" startTime="0.000000" endTime="17.960" type="audio" />

<MediaTrack objectID="180" mediaSourceID="1179" sourceTrackID="none" trackID="00dc" startFrame="0" endFrame="663" type="video" />
<MediaTrack objectID="181" mediaSourceID="1179" sourceTrackID="none" trackID="02sb" startFrame="0" endFrame="1" type="subtitle" />
<MediaTrack objectID="182" mediaSourceID="1179" sourceTrackID="none" trackID="01wb" startTime="0.000000" endTime="26.520" type="audio" />
</MenuTracks>
<Title objectID="124" translationLookupID="133" defaultAudioTrack="01wb" defaultSubtitleTrack="none" >
<MediaSource objectID="125" mediaType="featureAvi" location="Film.divx" />
<Chapter objectID="128" translationLookupID="158" >
<MediaTrack objectID="126" mediaSourceID="125" sourceTrackID="none" trackID="00dc" startFrame="0" endFrame="1499" type="video" />
<MediaTrack objectID="127" mediaSourceID="125" sourceTrackID="none" trackID="01wb" startTime="0.000000" endTime="60.000" languageCode="en" translationLookupID="1053" type="audio" />
<MediaTrack objectID="900" mediaSourceID="125" sourceTrackID="none" trackID="02wb" startTime="0.000000" endTime="60.000" languageCode="fr" translationLookupID="122" type="audio" />
<MediaTrack objectID="902" mediaSourceID="125" sourceTrackID="none" trackID="03sb" startFrame="0" endFrame="10" languageCode="en" translationLookupID="142" type="subtitle" />
<MediaTrack objectID="903" mediaSourceID="125" sourceTrackID="none" trackID="04sb" startFrame="0" endFrame="10" languageCode="fr" translationLookupID="131" type="subtitle" />
</Chapter>
<Chapter objectID="1128" translationLookupID="1158" >
<MediaTrack objectID="1126" mediaSourceID="125" sourceTrackID="none" trackID="00dc" startFrame="1500" endFrame="2999" type="video" />
<MediaTrack objectID="127" mediaSourceID="125" sourceTrackID="none" trackID="01wb" languageCode="en" translationLookupID="1053" type="audio" />
<MediaTrack objectID="900" mediaSourceID="125" sourceTrackID="none" trackID="02wb" languageCode="fr" translationLookupID="122" type="audio" />
<MediaTrack objectID="902" mediaSourceID="125" sourceTrackID="none" trackID="03sb" languageCode="en" translationLookupID="142" type="subtitle" />
<MediaTrack objectID="903" mediaSourceID="125" sourceTrackID="none" trackID="04sb" languageCode="fr" translationLookupID="131" type="subtitle" />
</Chapter>

</Title>
</Media>
<TranslationTable objectID="121" >
<TranslationLookup objectID="1053" >
<Translation objectID="1054" languageCode="en" value="English" />
</TranslationLookup>
<TranslationLookup objectID="122" >
<Translation objectID="123" languageCode="fr" value="French" />
</TranslationLookup>
<TranslationLookup objectID="133" >
<Translation objectID="134" languageCode="en" value="Two Towers" />
</TranslationLookup>
<TranslationLookup objectID="142" >
<Translation objectID="143" languageCode="en" value="English" />
</TranslationLookup>
<TranslationLookup objectID="131" >
<Translation objectID="132" languageCode="fr" value="French" />
</TranslationLookup>
<TranslationLookup objectID="158" >
<Translation objectID="159" languageCode="en" value="Chapitre 1" />
</TranslationLookup>
<TranslationLookup objectID="1158" >
<Translation objectID="1159" languageCode="en" value="Chapitre 2" />
</TranslationLookup>
</TranslationTable>
</DivXMediaManager>

with this mux file project:

Fuse.exe -v azerty.avi -a english.ac3 -a french.ac3 -s English.xsub -s French.xsub -o film.divx

pause

Fuse.exe -x LOTRII.xml -o LOTRII.divx

pause

DivXWill
21st July 2005, 09:38
are you talking of the menu overlays? the object that highlights a selected menu item? if so, there are some palette issues that needs to be addressed and you can mux it just like you do with regular feature subtitle, using SRT or TXT. It's best if you mux the video, audio, and menu overlays for the menu piece all by itself, and then defined the menu object just for menu piece.

Sagittaire
22nd July 2005, 03:07
are you talking of the menu overlays? the object that highlights a selected menu item? if so, there are some palette issues that needs to be addressed and you can mux it just like you do with regular feature subtitle, using SRT or TXT. It's best if you mux the video, audio, and menu overlays for the menu piece all by itself, and then defined the menu object just for menu piece.

yes but srt or txt are texte sub format, isn't it ?

How mux overlay bmp file in divx file with fuse ... ??? I try with sup -> xsub conversion and after xsub mux but this method seem don't work.

how mux these overlay bmp files ... ???


0 = (0,0,0)
1 = (0,0,0)
2 = (255,255,255)
3 = (118,17,33)

SUBPALETTE (0 3 3 3)
00:00:00.000 00:00:01.000 "media\subtitles\Overlay01.bmp" (0 0 639 479)
00:00:01.000 00:00:02.000 "media\subtitles\Overlay02.bmp" (0 0 639 479)
00:00:02.000 00:00:03.000 "media\subtitles\Overlay03.bmp" (0 0 639 479)
00:00:03.000 00:00:04.000 "media\subtitles\Overlay04.bmp" (0 0 639 479)

DivXWill
22nd July 2005, 08:09
what you described is txt file... srt files has the time stamps but the actual subtitle text spelled out... the text file calling out the bmp files are the only way i know of to create menu overlays. when you try to mux these together with fuse, what happens? does it put out a file or does it aborts prematurely?

Sagittaire
23rd July 2005, 04:04
ahhhhhh ... this time it's perfect ...
http://multimediacom.free.fr/CDRTest/Animatrix.divx

it's very difficult but now it's possible for me to make very complexe menu (exactly like DVD).

Animatrix Free sample with menu 7 Mo
- video 720*400 MPEG4 SP (work with all ASP codec)
- audio 2*MP3 french & english
- subtitle 3*xsub french, dutch & arabic
- chapter

IMO it's better than your LastManStanding demo ... lol

DivXWill
25th July 2005, 17:55
IMO it's better than your LastManStanding demo ... lol

Well ;) this file doesn't play in DivX PC Player, but it does play with DS filters. There are a few errors with the file structure but it does look very nice :cool: I am impressed :D

Surlyrich
26th July 2005, 05:01
Sagittaire,

Any possibility of running through a quick tutorial on what the various sections of the xml file do, maybe how to create a quick menu with a background image and some buttons?

Cheers