Akam Posted June 17, 2013 Share Posted June 17, 2013 Hi! i wanted to know if a video resource the video resource works like you add an video to the server on an billboard or a screen, has this been made because i would like to get one if it is made cant script so cant make one ._. Link to comment
Castillo Posted June 17, 2013 Share Posted June 17, 2013 You can't play videos on MTA. Link to comment
DiSaMe Posted June 17, 2013 Share Posted June 17, 2013 You can, and it's easy, unless you use a narrow and very specific meaning of the word "video" (though I suspect that's what Akam is after too). In its general meaning, "video" is a sequence of images shown one after another to create an effect of gradual changes, such as movement. That is possible and plausible. If you use a narrow meaning, such as video of some particular format, then you need to make a decoder in a client-side script and it may be lots of work if you want to play a video of some existing complex format. Link to comment
Akam Posted June 17, 2013 Author Share Posted June 17, 2013 You can, and it's easy, unless you use a narrow and very specific meaning of the word "video" (though I suspect that's what Akam is after too). In its general meaning, "video" is a sequence of images shown one after another to create an effect of gradual changes, such as movement. That is possible and plausible. If you use a narrow meaning, such as video of some particular format, then you need to make a decoder in a client-side script and it may be lots of work if you want to play a video of some existing complex format. Your right but how can i do this cuc i am not a scripter could you be nice and give me instrouktions. appreciate it Link to comment
DiSaMe Posted June 17, 2013 Share Posted June 17, 2013 Well, the only instruction I can give to you for now is learning to script and trying to make something yourself. Although I've had an idea to make some video player for a long time, I haven't done anything like that. Link to comment
bandi94 Posted June 24, 2013 Share Posted June 24, 2013 You can, and it's easy, unless you use a narrow and very specific meaning of the word "video" (though I suspect that's what Akam is after too). In its general meaning, "video" is a sequence of images shown one after another to create an effect of gradual changes, such as movement. That is possible and plausible. If you use a narrow meaning, such as video of some particular format, then you need to make a decoder in a client-side script and it may be lots of work if you want to play a video of some existing complex format. Well this will end in a .avi to .png maybe . Then you will need to render the .png's at a 20-29pfs +/- , I already tryed something like this , but the loading time took's to much (i mean before an image is draw'd they are loaded in the game, and this loading proccess is not fast enought to reach a decent 15fps, so you need first to load the image's and it took's prity much time so you will need to have a black screen about video leght/2 on a prity good PC... and only after render the image's) . So it's not a perfect way , the best would be an inbuild video player (1-2 video format at a low-medium def.) Link to comment
DiSaMe Posted June 24, 2013 Share Posted June 24, 2013 If you reload every full frame, then it will lag, there's nothing surprising about that. I've attempted to make a video player and even though it didn't come out well, there are many things to optimize. You see, the code works faster when you make optimizations rather than asking someone else to make them. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now