Zeus Video Player

F117Landers

Veteran
Veteran
Joined
Jun 15, 2014
Messages
63
Reaction score
5
First Language
English
Primarily Uses
Love the codec; Thanks!

(If anyone is curious, I'm rendering in .avi: Audio: 48,000 Hz, 16 Bit, Stereo, PCM; Video: 23.976 fps inserting 2-3-3-2 pulldown, 720x480 Progressive, NTSC DV and using the built in rescaler. Haven't had any issues)

Edit: I did notice that it had trouble playing apple .mp4 files (Audio: 128 Kbps, 48,000 Hz, 16 Bit, Stereo, AAC; Video: 30 fps, 640x480 Progressive, YUV, 1,350 Kbps)
 
Last edited by a moderator:

Wasbakbrand

Warper
Member
Joined
Jul 3, 2014
Messages
2
Reaction score
0
First Language
Dutch
Primarily Uses
I'm sorry to interrupt ^^
I have a question about this, i've been looking for a way to implement a movie at start. But every tut talks about the movies folder.

I DON'T HAVE A MOVIES FOLDER and it doesn't show up in my game database eighter. I can't manually add it can i? I've tried overwrite the way they do in some starterkitts but they all use image files and no actual movies so that didn't work.

The script i'm using right now for the movies that told me about the movies folder:

#===============================================================================# ** Scene_Movie class, created by SoundSpawn, fixed by Popper.
#-------------------------------------------------------------------------------
# Instruction
# 1) Movies must in in a new folder called Movies in your directory
# 2) If you call this script from and event, e.g.
# Call Script: $scene = Scene_Movie.new("INTRO")
# 3) Have fun playin movies with this script!!!
#===============================================================================
class Scene_Movie
def initialize(movie)
@movie_name = RTP.getPath("Movies\\"+movie+".avi").gsub(/\//,"\\")
end

def main
@temp = Win32API.pbFindRgssWindow.to_s
movie = Win32API.new('winmm','mciSendString','%w(p,p,l,l)','V')
x=movie.call("open \""+@movie_name+
"\" alias FILE style 1073741824 parent " + @temp.to_s,0,0,0)
@message = Win32API.new('user32','SendMessage','%w(l,l,l,l)','V')
@detector = Win32API.new('user32','GetSystemMetrics','%w(l)','L')
@width = @detector.call(0)
if @width == 640
#fullscreen
Graphics.update
sleep(0.1)
Graphics.update
sleep(0.1)
Graphics.update
sleep(0.1)
#fullscreen
end
status = " " * 255
x=movie.call("play FILE",0,0,0)
loop do
sleep(0.1)
@message.call(@temp.to_i,11,0,0)
Graphics.update
@message.call(@temp.to_i,11,1,0)
Input.update
movie.call("status FILE mode",status,255,0)
true_status = status.unpack("aaaa")
if true_status.to_s != "play"
break
end
if Input.trigger?(Input:: B)
movie.call("close FILE",0,0,0)
$scene = Scene_Map.new
break
end
end
$scene = Scene_Map.new
end
end
 
Last edited by a moderator:

BlackLodgeGames

Villager
Member
Joined
Dec 31, 2013
Messages
19
Reaction score
4
First Language
English
Primarily Uses
Create the folder inside of your game's project.
 

Wasbakbrand

Warper
Member
Joined
Jul 3, 2014
Messages
2
Reaction score
0
First Language
Dutch
Primarily Uses
Been there done that, just to be sure i've even put it in the mail folder and the graphics folder. Both ways don't work in the program. It doesn't show up. 
 

BlackLodgeGames

Villager
Member
Joined
Dec 31, 2013
Messages
19
Reaction score
4
First Language
English
Primarily Uses
Been there done that, just to be sure i've even put it in the mail folder and the graphics folder. Both ways don't work in the program. It doesn't show up.
I'm not familiar with that script. This forum thread is for the excellent Zeus Video Player script, which I do use. My recommendation is to switch scripts to this one, and if you encounter issues, you can post them here since the author has been patching & supporting it, and there are active users of the script.
 

Kenshin

Veteran
Veteran
Joined
Jul 26, 2013
Messages
33
Reaction score
4
First Language
Italian
Primarily Uses
Sorry to bother you, but the video skip is based on enter and esc, but not on the game keys, in fact if I use the joypad on the same game key of enter and esc it doesn't stop the play and I have to use enter or esc on my keyboard.
it's possible to change that in stop the video on the pressing of any game key?

Thanks for your help in advance, and sorry for my bad english.
 

Daniel B

Hidden Kitten
Veteran
Joined
Dec 8, 2012
Messages
64
Reaction score
14
First Language
Swedish
Primarily Uses
First of, amazing script. This and Fullscreen++ are really spectacular, however, I have one problem that I would like to address.

I've been using a script by Tsukihime, Simple Audio Encryption. The script also contains encryption for movies, however, they won't load when using your script since it's a script call.

Is it possible to get these two script to work together?
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
You must place my script before hime's one and edit the line ~84 of hers : @@video_extensions = [".ogv"]

like that : @@video_extensions = ["", ".ogv", ".other extensions you're using"]
 

Daniel B

Hidden Kitten
Veteran
Joined
Dec 8, 2012
Messages
64
Reaction score
14
First Language
Swedish
Primarily Uses
You must place my script before hime's one and edit the line ~84 of hers : @@video_extensions = [".ogv"]

like that : @@video_extensions = ["", ".ogv", ".other extensions you're using"]
It's not the codec that is the problem, cause the videos are already .ogv (for now at least)

The problem is that her script don't decrypt something until it's used, and your script call doesn't count, so when I try to script call something that is encrypted, it can't find the file.

Sorry if I was clear enough, and if it's not possible to script call something that is encrypted, then that's OK. I'll just have to leave the movies open, that's all. :)
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
I have understood what the point was about and if you followed my instructions it should be fine.
 

Daniel B

Hidden Kitten
Veteran
Joined
Dec 8, 2012
Messages
64
Reaction score
14
First Language
Swedish
Primarily Uses
I have understood what the point was about and if you followed my instructions it should be fine.
Alright, but I tried and it didn't work so I guess I made a mistake. I'll check again, thanks for replying.

Edit: Omg, I'm such an idiot. I didn't notice the "" you had added. It works now, thanks a lot :)
 
Last edited by a moderator:

Kenshin

Veteran
Veteran
Joined
Jul 26, 2013
Messages
33
Reaction score
4
First Language
Italian
Primarily Uses
Sorry to bother you, but it's possible to make that I can skip the video not with enter or esc, but an RPGMaker default buttons?
For example, I use joypad with rpgmaker games, but If I wanto to skip the video I need to use keyboard, every time I must leave the joypad for hit esc on the keyboard and that return on my joypad...

It would be more easy if the video stop on a classic button of the game...

Thank's for your time.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,068
Reaction score
2,653
First Language
Greek
Primarily Uses
RMMZ
Wow. Great script I guess, I just have one question.

Can it run ogg video files or is it only for avi format?  :(

I really wanna use ogg and avoid anything else.

Thanks for your time and for your script Zeus81!

Cheers. :)
 

Kenshin

Veteran
Veteran
Joined
Jul 26, 2013
Messages
33
Reaction score
4
First Language
Italian
Primarily Uses
Ops sorry for having reasked the same thing... ^^;;; I didn't see your answer.

Really sorry.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
Yes the latest version already support gamepads.

Can it run ogg video files or is it only for avi format?  :(
Unless you've enabled the OldAviMode you can play any video format but it will require codecs to be installed.
 
Joined
Jan 16, 2014
Messages
4
Reaction score
0
First Language
mandarin
Primarily Uses
Hi Zeus, this is a great script!

The only problem i have with it is that when i tried playing the movie, it doesn't close by itself when the movie ends. I have to turn the "cancellable"  to "true" to be able to close the movie properly or else it would just freeze on the last screen. Is this normal? I was expecting it to behave like the default play movie function. 

The same thing happened when i tried it with a new project so i'm sure its not clashing with other script. I'm using it on VXAce. 

Thanks for your help.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
Send me your video so I could test it.
 

Aljen

Warper
Member
Joined
Jan 2, 2015
Messages
1
Reaction score
0
First Language
VietNam
Primarily Uses
Thank you for this script Zeus, but i have something to ask.

I use your video script as the opening intro for my game. It work perfectly show the video but when i press button or wait for it till it done, the game just disappear instead of jumping to the load screen.

I test ingame with an event and it jump to the load screen but using it as the intro it doesnt >< So i need your help with it.

Thanks in advance. xD
 
Last edited by a moderator:

SBlakeGames

Warper
Member
Joined
Jan 11, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Hey there, Zeus! I'm new to the forums, but I really need some help! I've been working on my new game, but I've tried to implement your video script into the game. I've used your most recent version, which you can use for all 3 versions of the RGSS'. The audio will play perfectly fine, and it'll end either if I click the according button or when it's done, which is good. But, the video won't show. It'll only be black. Any help?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts



What kind of drinks does a bar populated entirely by monsters serve?
Ami
--- Cheating Part 2 ---

F.Healer: Ahh,This item really expensive!
F.Mage: What should we do?
Hero: Don't worry,i can use this (Activate 999999999G,Suddenly The Game Police Is Watching)
Game Police:Ehem!!! (I See You Gesture)
Hero: (Gulp)...Just...forget it...

Second bust is almost ready. I have to stop for now, but I wanted to show him off. Just have to do a handful of edits and the rest of his expressions will be done.
Kupotepo wrote on casper667's profile.
Thank you @casper667 for make many amazing plugins. Do you see right @hiddenone make the blogs about your plugins?
Does anyone know where the MZ PluginEditorDemo.js can be found? It might be called SampleCoreScript now. I'd like to see what changed from MV.

Forum statistics

Threads
103,338
Messages
998,868
Members
134,847
Latest member
TzionSheol
Top