Movie Overhaul

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Movie Overhaul

Post by Nach »

We've been doing a lot lately, some stuff will make your jaw drop, but make sure you notice this:

http://cia.navi.cx/stats/project/zsnes/.message/4910620
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Yep, a lot of good stuff. Rerecording goodness, some DSP-4 fixes, and pf has fixed several things, as well.

Glitch-free SMRPG, anyone?

BTW, did you get that DKC3 bug triaged?
[u][url=http://bash.org/?577451]#577451[/url][/u]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Noxious Ninja wrote: BTW, did you get that DKC3 bug triaged?
Bug free snowball fighting for everyone! :D

Image
Last edited by Nach on Mon Apr 04, 2005 9:12 pm, edited 1 time in total.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Excellent work Nach and co.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Nice work. :P
Try out CCleaner and other free software at Piriform
Image
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

Impressive. ZMVs are becoming more stable and more powerful than I had dreamed...
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

So anyone doing anything cool with the new movie support?
Does anyone realize the full extent of what you can now do?

BTW, we're still not done with adding features yet :twisted:

And did anyone notice that ZMVs are now smaller?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

Nach wrote:And did anyone notice that ZMVs are now smaller?
Fear the power of RLE?
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Just curious, is there a limit to the length movies can be (other than disk space)?

I'm wondering because I found some interesting info about movie length/compression that I didn't really know about in the following zip:
http://www.zophar.net/zsnes/zmv/smw33.zip (This zip has a v0.989c ZMV that is a complete walkthrough of Super Mario World.)
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

IceFox wrote:Just curious, is there a limit to the length movies can be (other than disk space)?
4294967295 bytes or frames, which ever comes first.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I just read the zip there.
What he writes simply isn't true.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Nach wrote:4294967295 bytes or frames, which ever comes first.
4 gigabytes? That should be plenty. :P
I just read the zip there.
What he writes simply isn't true.
I'm not surprised to hear that for some reason. ;)

BTW, I'll post what he said here, for those who don't want the zip:
Super Mario World (U)
---------------------

Recorded on zsnes v0.989c


Note:
-----
You may ask you why I haven't recorded this movie on zsnes v1.36? The answer is simple:
Since the zsnes v1.01 the movie-recorder has been changed and I think it's very sad.
With this new movie-recorder it's just impossible to record movies longer than 10 minutes at least on games like Super Mario World, Secret of Evermore and other big games because the player input will not be recorded exactly after this time. The reason is the compressing method which makes the movie-files smaller. But on a zsnes v0.989c or v0.991 there is no compressing method and you can record as much as you want without changes in the movie.
You can still compress with Win-Zip and its the same then.
I recommend to watch the movie with the version of the zsnes-emulator it has been recorded!
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

To clarify on the issue.

Right after ZSNES v1.0, zsKnight and _Demo_ started adding internet play.

Prior to that, ZSNES proccessed input, record/playedback movie, did some nonsense with emulation and prints frame to screen, then continue.

With the new internet play code, they put that right after input and some emulation stuff, and this code is/was highly integrated with frame skipping and latency, and they moved the movie code after this.

The main issue here being that frame skip does nonsense before movie proccessing thus screwing up movies.

It has absolutely nothing to do with compressing the data or a ten minute time limit.

The new ZMV code now handles proccessing of movies right after input before all the netplay/latency/frameskip garbage.

Unforunetly though, ZSNES still has netplay and related code spread out all over the place thus causing some strange anomilies if you play with Fast Foward enabled.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Hmm, so ZMVs are supposed to record at less than 1KB/minute, right? Well, I just recorded a brief movie with the latest CVS (with clean install) for ZSNESW and it was about 260KB (the same as 1.42). Am I missing something?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Ys, the input is less than 1KB a minute. The ZMV itself contains a ZST too. It's 260KB just for the ZST in small games.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Nach wrote:Ys, the input is less than 1KB a minute. The ZMV itself contains a ZST too. It's 260KB just for the ZST in small games.
Ack, I don't know why I didn't think of that. :oops:
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

It takes a rather long movie to overcome the overhead of the savestate. I've found this to be true for a long time now.

The savestate data compresses rather well, even with the less advanced algorithms. Solid archiving is awesome on savestates and ZMVs, too. They tend to have a lot of common data, particularly if they're from the same game. Unless it's changed recently, there are also two copies of CGRAM in the savestate: a previous and a current. It becomes rather impressive how eliminating small redundancies ends up in accumulating large amounts of saved space when dealing with a wide breadth of files.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

If you look in a MZT directory. You'll see the compressed ZMVs in there are quite tiny.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
a-c-a-a

picture

Post by a-c-a-a »

how do you get picture under you're name :oops: :oops: pls help[quote][/quote]

Code: Select all

 :P [list] and how much post to become moderattor??? :?:  :idea: [/list]
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

Not really a relevant thread to post it in, but...

Profile -> Link to Off-site Avatar -> Enter URL

You either need webhosting, or a server that you've setup yourself. Don't try linking to local files (I always get a decent laugh at that); they need to be uploaded to a remote system which successfully accepts HTTP requests for images. Certain free hosts try to block the serving of images to clients where the referrer is off-site. In some cases, like geocities, this was easily bypassed...
Clements
Randomness
Posts: 1172
Joined: Wed Jul 28, 2004 4:01 pm
Location: UK
Contact:

Re: picture

Post by Clements »

a-c-a-a wrote:

Code: Select all

 :P [list] and how much post to become moderattor??? :?:  :idea: [/list]
50,000 + 1
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Re: picture

Post by Agozer »

Clements wrote:
a-c-a-a wrote:

Code: Select all

 :P [list] and how much post to become moderattor??? :?:  :idea: [/list]
50,000 + 1
Excellent number.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Re: picture

Post by snkcube »

a-c-a-a wrote:how do you get picture under you're name :oops: :oops: pls help

Code: Select all

 :P [list] and how much post to become moderattor??? :?:  :idea: [/list]
This is rather odd. :?
Try out CCleaner and other free software at Piriform
Image
kevman
Redneck Gamer-Mod
Posts: 433
Joined: Wed Aug 04, 2004 2:15 am
Location: Pittsburgh

Post by kevman »

So, have the problems with Zsnes desyncing playing older ZMVs gone? Will the new ones play any ZMV without desyncing?
SHREIK!!!!!!! DDdddnnnnnnaaaa! GESTAHLLLLLLLLLL!!!!!!!!

Steelers now officially own your ass.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

ZSNES will now play any ZMV without desyncing if the timing used to make the movie and play it back is the same. Meaning same ZSNES version (or a version which matches timings in the areas the game uses), and no trying to change the frame rate.

grinvader and I want to do something about getting ZMV to work right even when you turn on slow down.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply