View Full Version : menus in mp4, read tutorial from gpac...
ok im on the below page...
http://gpac.sourceforge.net/tutorial/bifs_part6.htm
first is there a way to convert like a .avi into a bunch of .jpg's or png's? working with progressive so i guess i need to selete like 15 seconds and turn that into 360 png/jpgs.
ok about the above, reading through those pages i didnt see a api to loop pictures, and i can tell if FOR_SURE if i can use a 2d cartoon media clip as a menu item. i read the whole thing, and still cant tell...sad isnt it. i read in teh beginning that gpac doesnt support 3d animation for menu items just yet, which is fine i can create a .gif sequence at 24fps.
i really want to get into this. ive been waiting for something likethis for a long time.
does this answer my ? and i just dont understand it...
"In order to animate a value with an interpolator, we need 3 nodes: a target node to be animated (here we will use a Transform2D node), a node generating events (TimeSensor), an interpolator node (XXXXXInterpolator) and links between these three nodes (Route)."
ok dead tired...off to bed.
RadicalEd
9th July 2004, 05:08
Originally posted by BITS
first is there a way to convert like a .avi into a bunch of .jpg's or png's?
VDubMod can export to a sequence of pngs.
Originally posted by BITS
first is there a way to convert like a .avi into a bunch of .jpg's or png's? working with progressive so i guess i need to selete like 15 seconds and turn that into 360 png/jpgs.hm, what are you trying to do with these 360 pngs/jps? place all of them behind each other in the .mp4? why not simply using a video stream?
ok about the above, reading through those pages i didnt see a api to loop picturesyou can loop with setting the loop node to true when using mediacontrol
for example:
MediaControl {
url [ "od:10" ]
loop TRUE
}will lead to that the video stream with the objectDescriptorID 10 will get looped during playback
and i can tell if FOR_SURE if i can use a 2d cartoon media clip as a menu item.what do you mean with this? you can use any stream for example as background for a menu and of course you can also create animations whereever you want
i read in teh beginning that gpac doesnt support 3d animation for menu items just yet, which is fine i can create a .gif sequence at 24fps..gif is not supported in .mp4
jeanlf is currently adding 3 Dimensions support to gpac, but its still pretty basic i think
"In order to animate a value with an interpolator, we need 3 nodes: a target node to be animated (here we will use a Transform2D node), a node generating events (TimeSensor), an interpolator node (XXXXXInterpolator) and links between these three nodes (Route)."where did you quote this from and which question should it answer?
top of this page is that quote...
http://gpac.sourceforge.net/tutorial/bifs_part2.htm
i was extremely tired when i posted. i meant i _can't_ tell if for sure it can use a 2d video stream for a menu. for instance if i want to use a clip of a cartoon i captured from TV, like Futurama.
im going to try some hands on with the documentation/references, just reading it doesnt do me good unless i understand it already. luckily its xml'ish.
i looked at the mp4 authoring took on ibm's www, looks pretty basic for right now. is there a project like that in the works now on Lin or win? all i saw was some compiler and sample scripts so far.
bond
10th July 2004, 12:59
Originally posted by BITS
i was extremely tired when i posted. i meant i _can't_ tell if for sure it can use a 2d video stream for a menu. for instance if i want to use a clip of a cartoon i captured from TV, like Futurama.hm you mixed something up here. animation doesnt refer to video streams, like anime videos from tv or dvd (which is basically a video stream like any other video stream)...
animation in the sense of bifs means not using a mpeg-4 video stream, for example creating a clickable button as needed for menus is also some sort of animation
im going to try some hands on with the documentation/references, just reading it doesnt do me good unless i understand it already. luckily its xml'ish.
i looked at the mp4 authoring took on ibm's www, looks pretty basic for right now. is there a project like that in the works now on Lin or win? all i saw was some compiler and sample scripts so far. you can also have a look at my mp4menu sample script i created (find the link to it in my mp4 faq)
also gpac offers many sample scripts explaining all the single options of bifs here (http://gpac.sourceforge.net/downloads.php) "GPAC Regression Test"
BITS
10th July 2004, 17:11
yeh i didnt think i could use the stream directly, that is why i wanted to make 300+ jpg/png's of my cartoons with vdub or whatever. now that is possible from what i understand....it is right?-)
bond
10th July 2004, 17:24
sure, you can place any mpeg video stream, like mpeg-4 (xvid, divx5) but also mpeg-1/2
for audio you can use mp3, mp2 or aac
BITS
12th July 2004, 00:58
well no, actually im not concerned with the movies themselves. all im talking about is menus and features. i uderstand i can mux up a .mp4 right now...but without menus that are that intricate..am i wrong?
that is why i want to make pngs i guess of the 2d clips i want.
ive read the gpac guide 2 times so far, and all it seems to be is pointing to the future that you can do this or that.
here is a description of the "psuedo-menus" i want...
on execution i want a menu to appear. similar to dvd, and also html/xml style. i can imagine i will want to put a bunch of cartoons on dvd, roughly ~16 of them. im hoping to have a menu popup with ~16 different sections of the screen rolling my pngs and clicking on one of them would launch that cartoon. get where im coming from? also sort of like the lesser thought of "frames" in html to hold other fixed menus. 16 sections, each section rolling ~360 pngs to give animation (this i imagine would take alot of resources...but hey).
i think you know exactly what i mean...im 99% sure. is this possible _CURRENTLY_. and if it is, or it is not, is there a GUi anywhere that can author something like what im sayin in part that is _FREE_.
again, im not talking about what kind of video streams my actual cartoons can be, im talking about nothing but the menus and creating them. i read there is only 1 player i think that supports even 2d menus (this correct?) currently and i belive it is for unix based systems.
bond
12th July 2004, 17:23
Originally posted by BITS
that is why i want to make pngs i guess of the 2d clips i want.if you want "clips", meaning moving video for you menus, you should create video streams (mpeg-4). note that you can place more than 1 video stream into a .mp4 file
on execution i want a menu to appear. similar to dvd, and also html/xml style. i can imagine i will want to put a bunch of cartoons on dvd, roughly ~16 of them. im hoping to have a menu popup with ~16 different sections of the screen rolling my pngs and clicking on one of them would launch that cartoon. get where im coming from?ok ic, you want some pngs rolling, lets say from the right to the left, and if you click on one of them the anime you clicked on starts
this should already be possible. if i remember it right in the "regression test" samples of gpac i linked to above, there also is a sample which shows how to make things scrolling
(note that if you can scroll .pngs you can also scroll movies)
once you have checked out how the scrolling works, you have to find out how to scroll the picture/video, the best would propably be to ask the gpac guys themselves in the gpac authoring forum (http://sourceforge.net/forum/forum.php?forum_id=327349)
about the clicking -> starting movie playback, thats pretty easy and should be seeable from my mp4menu script (you will find on doom9 if you use search), its easily done by updating the "od" number in the mediacontrol node
also sort of like the lesser thought of "frames" in html to hold other fixed menus. 16 sections, each section rolling ~360 pngs to give animation (this i imagine would take alot of resources...but hey).ok as i said there is no need to play 360 pngs behind each other, this can be done with video streams much easier
is this possible _CURRENTLY_.i am pretty sure that its possible the question is that i atm dont know how the scrolling of the video can be done (but i am no guru), maybe its easier to have 16 running videos displayed at once, maybe with the title of the anime written above or so
and if it is, or it is not, is there a GUi anywhere that can author something like what im sayin in part that is _FREE_.no there are no free guis available
i read there is only 1 player i think that supports even 2d menus (this correct?) currently and i belive it is for unix based systems.its not correct, there are already a bunch of mpeg-4 systems players available (freely and not freely) and they are also not unix based but mostly windows (i think gpac also offers one for linux), still osmo4 from the gpac project is currently the best mpeg-4 systems player imho
also good is enviviotv, which you can use for playing your menus in any dshow based player (like wmp9) but its a weak implementation of mpeg-4 systems and doesnt support all functions
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.