Log in

View Full Version : DivX menu in Flash


Nemesis7
22nd September 2002, 18:59
How do I do this? I mean what actions (commands) do I have to do, to get the movie loaded and use chapters?

So how do I link flash with the movie?

I didnt know in which forum to post this. So excuse me if I'm at the wrog one.

murattttt
22nd September 2002, 23:44
If you have any interactive Cd at home just open it with your favourite flash maker (ex: swish, was that the name?). Examine how they link whatever they want to to the menus and follow the same guidelines.But I'm not sure about the chapters. Because they are not parts of a video file but just timecodes. Maybe you should get some helpful parameters from Gabest in his Media Player Classic.

Nemesis7
23rd September 2002, 23:02
What program? Like u mean the exe files from Macromedia Director?
And I cant add OGM files into Flash, or is there a way?

murattttt
26th September 2002, 14:18
"And I cant add OGM files into Flash, or is there a way?"

No, you can't mux them into a flash file, as you mentioned before you can link to them, maybe just using DVD style menus and thumbnails.
That does't mean you can't add any video to a flash but it's a pain in the ass. That's because you have to convert video to vectorised crap with some video editing tool and they will just look like crap.

Nemesis7
26th September 2002, 15:20
Damn man, but i CAN link to avi or Quicktime files.
I think its possible with Macromedia Director (8.5) but I dont know jack about programming so thats very very hard.

Could some1 help out?

VVulfy
27th September 2002, 22:03
i created one menu in director 8.5 for one divx...
try using fileXtra (http://kblab.net/xtras/) for linking movie files

the only problem is that you can't, or at least i don't know how, start movie from command line at certain frame and that means no chapter support from director

Nemesis7
28th September 2002, 00:16
Thnx a lot man!
I'll try it out.
Is there a way for u to send me ur *.dir file??
So I can adjust it for myself?

Neo Neko
29th September 2002, 08:01
Flash is meant to be used over HTTP. It supports relative and absolute, local or remote links.So if you save your flash as a self executable to be used in an auto run and the files are in subdirs off the dir the flash is in your links should look like this. "./somedir/someavi.avi" Clicking them instead of loading a browser will queue them up in your associated player. I played around with it 3 or for years ago when Flash4 first came out. Worked fine. The mpg or rm files would play right after I clicked the linked thumbnail.

Nemesis7
29th September 2002, 14:54
Thanx a lot!

Stupid I didnt thought of that.
Is there a way to run it (the executable) fullscreen? I did see flash movies run fullscreen, like www.dimentia7.com (MASTER site)

...so I can load the movie IN the menu, just like dvd menus,
I know it is possible with Director, thats why I asked for the *.dir file.

But thhnx man.

Nemesis7
29th September 2002, 15:13
Hold up!

I figured out, Fullscreen.
Now.... How can I open a movie that start in fullscreen, AND on top of the projector.exe (mediaplayer)
Is there a command, like the &play(automatic play) one,to have it fullscreen in the beginning, like *\somedir\somemovie.avi <command> ?

And the chapters... can't I send a comamnd,just like mediaplayer and tell either mediaplayer OR OGG Vorbis DirectShow to go to a specific chapter or timecode ???

If this is possible, I think the Flash menu would be perfect! (for still menus that is)

Nemesis7
17th March 2003, 02:13
Hi there,

I hope some1 will reply.
I kinda succeeded to make a menu for divx.

-I got menu sound
-can turn on/off subs
-can install files
-can select sub languages
-play the movie in fullscreen

I can't select the sound stream
and I cant make the movie start at a specific frame or timecode.

Does anyone know how to do this???
It should be possible if u make an OGM file, because the OggDS Filter can select the audio streans abd jump to chapters.

Are there some commands for the DS filter maybe??

Thnx.

midiguy
17th March 2003, 06:59
I don't really know much about this, but as an alternative, can't you just creater seperate video files for each chapter? 1.avi, 2.avi, etc. and then when a chapter is selected, just load the corresponding file? just encode the whole file at once, and then do direct stream copies for each chapter. but then you gotta figure out how to sequence each file to automatically connect to the other files, and playback might be annoying if there is a wait period when it closes and opens files.. hmm, not sure, good luck!

bond
17th March 2003, 09:24
hm flash menu sounds great!

can you plz post your menu so i can download it and look how you made it?

Nemesis7
17th March 2003, 15:21
Hey guys,

Thnx for your replies.

@midiguy
Well cuting the movie in part is not really an option, for a couple of reasons, like the one you mentioned.But thnx anyway.

@bond
Yea well the topic is still Flash, but I kinda made it in Director MX. Now I am making the menu in Flash and link it to the director file. I can give you the codes (not that hard) for Director if you want.

You do need BuddyAPI extra for Director at http://www.buddyapi.com

Subs ON/OFF:


on mouseUp
set Subs=baReadRegNumber("Software\Gabest\DVobSub\General", "Hide", 1, "HKEY_CURRENT_USER")

if (Subs=1) then
baWriteRegNumber("Software\Gabest\DVobSub\General", "Hide", 0, "HKEY_CURRENT_USER")

else if (Subs=0) then
baWriteRegNumber("Software\Gabest\DVobSub\General", "Hide", 1, "HKEY_CURRENT_USER")

end if

end mouseUp


Subs Language:


on mouseUp
baWriteRegString( "Software\Gabest\DVobSub\PreferedLanguages", "Lang0", "SSA - Nederlands", "HKEY_CURRENT_USER" )
end


The "SSA - Dutch" is the name of the sub file (which is in the same dir as the movie)
like "Cool.Movie.DVDRip.XviD-CG.avi" (the movie, duh) so the sub is here: "Cool.Movie.DVDRip.XviD-CG.SSA - Dutch.ssa"


Play Movie Fullscreen:


on mouseUp
open "C:\Program Files\Windows Media Player\mplayer2.exe /fullscreen /play movie.avi"
end mouseUp


I use Mediaplayer 6.4 for this, the dir doesnt have to be what i typed here, but I can alter it that it can
find the mplayer2.exe on the HD, but i think you can figure that out too, but you can use your own dir here too.


Run i.e. Vobsub from the CD:


on mouseUp me
open "Vobsub\VobSub_2.23.exe"
end


Menu Sound ON/OFF:


on mouseUp me
puppetSound 1, member "musica" -----> "musica" is the sound file member you have
set the soundEnabled to not (the soundEnabled)
end


Exit Menu:


on mouseUp me
quit
end


Minimize Menu:


on mouseUp me
appMinimize
end


These are the commands I have now. But you can link the commands to flash:

Make a flash button with the following script:

on (release) {
getURL("lingo: subsonoff");
}

"subsonoff" has to be a handler in Director.

You can make that handler just like this:

on subsonoff
set Subs=baReadRegNumber("Software\Gabest\DVobSub\General", "Hide", 1, "HKEY_CURRENT_USER")

if (Subs=1) then
baWriteRegNumber("Software\Gabest\DVobSub\General", "Hide", 0, "HKEY_CURRENT_USER")

else if (Subs=0) then
baWriteRegNumber("Software\Gabest\DVobSub\General", "Hide", 1, "HKEY_CURRENT_USER")

end if
end

The subsonoff Type is Movie.

Hope you guys can use these and if you adjust it or make new functions, post them please.

Peace.

bond
17th March 2003, 21:44
great!

i once tried it but gave it up, also because i lost interest, but i think i will try it again now...

i think those codes will also help a lot of other people!

thanks a lot

bullitB
22nd March 2003, 19:10
If you want to mix Flash with MPEG-4, your best bet is probably QuickTime. Encode your video with XviD, DivX, or 3ivx, then use 3ivx in QuickTime to bring your video into the QuickTime environment. Then you can use Flash and LiveStage and some other stuff to make a Flash menu system, complete with sub/audio selection and chapters.

There is a Mac-centric guide here: http://www.prism.gatech.edu/~gtg722g/dvdriptutorial/files/menu.html

...but most/all of those tools are cross-platform, so you should be able to do the same thing on Windows.

Drummer
15th August 2005, 11:16
How do I do this? I mean what actions (commands) do I have to do, to get the movie loaded and use chapters?

So how do I link flash with the movie?

I didnt know in which forum to post this. So excuse me if I'm at the wrog one.

Just download Video to Flash Converter 4.0 & it lead u exactlu to ur aim.

here iit is:http://www.geovid.com/Video_to_Flash_Converter

celtic_druid
15th August 2005, 12:04
@Drummer, you seem to have a thing for answering 2-3 year old threads.

Sagittaire
15th August 2005, 15:26
now it's possible directly in divx/mkv/mp4 container ... lol

Nemesis7
16th August 2005, 01:51
This is amazing, I gave this up a looooong time ago :P
@Sagittaire: how? because there one was this star wars sample thing with a menu in a quicktime container i think, and it worked like poo on a stick :P
Any progress with the matroska menu project?

@Drummer: It's funny, i totally forgot about this thread :P

Anyway, thnx for ur support guys, doom9 rules!!!

celtic_druid
16th August 2005, 08:33
mp4 container and quicktime doesn't support it, you would need to use Osmo4 for playback.

As far as I know nothing yet supports mkv menu playback. You can however create such files. Just no way to test them.

bond
16th August 2005, 12:20
because there one was this star wars sample thing with a menu in a quicktime container i think, and it worked like poo on a sticki am the author of mp4menu, if you have a bug report i will be happy to hear it

mp4 container and quicktime doesn't support it, you would need to use Osmo4 for playback.not true
quicktime does support the profile2 or mp4menu if you have the enviviotv plugin installed

you can also use mp4menu in any directshow player (wmp10, bsplayer, mpc, zoomplayer or whatever) and even realplayer when you install enviviotv

celtic_druid
16th August 2005, 13:02
Well ok, it isn't supported out of the box though.

bond
16th August 2005, 13:03
Well ok, it isn't supported out of the box though.well most things are not supported out of the box in these players

thana
16th August 2005, 17:00
As far as I know nothing yet supports mkv menu playback. You can however create such files. Just no way to test them.
according to the robuX4 playback works "somehow" in latest VLC.. didn't try it myself though..

Sagittaire
16th August 2005, 17:22
at this time divx menu seem to be the best way:
- Good, Stable and Free DivX Player
- DirectShowFilter for player like MPC or WMP
- divx/avi file compatible with hardware Player (not the menu, only multisub and multiaudio stream)

and xml file menu are relatively simple ... !!!

In fact DXN seem have to do very good job with new DivX6 package

Nemesis7
16th August 2005, 17:50
@bond: mate no discrespect, but I'm not even sure if it was mp4menu, i think it should have been played with that osmo thing, but I just didn't get to work properly.

@Sagittaire: I might try the divx6 package soon. Thnx for the tip.