Post subject: Frame question
Joined: 5/25/2015
Posts: 14
Hello , I make a TAS on Super Mario Bros and , for the time of the TAS ,1 frame = how many milliseconds or seconds? I suppose 1 frame = 1 millisecond but I am don't sure... Thanks!
Spikestuff
They/Them
Editor, Publisher, Expert player (2284)
Joined: 10/12/2011
Posts: 6336
Location: The land down under.
Using This Assuming it's the NES Version. In seconds: 00:00.02 (0.0167)
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Joined: 5/25/2015
Posts: 14
Spikestuff wrote:
Using This Assuming it's the NES Version. 00:00.02
So it's 1 frame = 0,01 seconds?
Editor, Skilled player (1404)
Joined: 3/31/2010
Posts: 2086
Hello Alex76FR It depends on the system framerate, which is usually around 60. So a frame is 1000/60, or ~16.667 milliseconds long. On NES, the exact framerate is around 60.0988 fps, so it's probably closer to 16.639 milliseconds per frame.
Joined: 5/25/2015
Posts: 14
scrimpeh wrote:
Hello Alex76FR It depends on the system framerate, which is usually around 60. So a frame is 1000/60, or ~16.667 milliseconds long. On NES, the exact framerate is around 60.0988 fps, so it's probably closer to 16.639 milliseconds per frame.
OK... So how to calculate the time of the TAS?
Noxxa
They/Them
Moderator, Expert player (4137)
Joined: 8/14/2009
Posts: 4083
Location: The Netherlands
Alex76FR wrote:
scrimpeh wrote:
Hello Alex76FR It depends on the system framerate, which is usually around 60. So a frame is 1000/60, or ~16.667 milliseconds long. On NES, the exact framerate is around 60.0988 fps, so it's probably closer to 16.639 milliseconds per frame.
OK... So how to calculate the time of the TAS?
If you know the frame count of a TAS, you can find it by using BBCode like [frames]12345@60.0988[/frames] on the forum. It'll show like this: 03:25.41 Alternatively, you can upload the movie to userfiles and it will show you the movie time. Alternatively if you want to manually calculate the time of a TAS from a framecount, divide your frame count by the framerate and you'll have the length of your movie in seconds. E.g, 1234 frames / 60.0988 fps = a 20.533 seconds long movie.
http://www.youtube.com/Noxxa <dwangoAC> This is a TAS (...). Not suitable for all audiences. May cause undesirable side-effects. May contain emulator abuse. Emulator may be abusive. This product contains glitches known to the state of California to cause egg defects. <Masterjun> I'm just a guy arranging bits in a sequence which could potentially amuse other people looking at these bits <adelikat> In Oregon Trail, I sacrificed my own family to save time. In Star trek, I killed helpless comrades in escape pods to save time. Here, I kill my allies to save time. I think I need help.
Editor, Skilled player (1504)
Joined: 7/9/2010
Posts: 1317
It calculates the time automatically. Look it up in the movie playback dialog. ...
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Joined: 5/25/2015
Posts: 14
Mothrayas wrote:
Alex76FR wrote:
scrimpeh wrote:
Hello Alex76FR It depends on the system framerate, which is usually around 60. So a frame is 1000/60, or ~16.667 milliseconds long. On NES, the exact framerate is around 60.0988 fps, so it's probably closer to 16.639 milliseconds per frame.
OK... So how to calculate the time of the TAS?
If you know the frame count of a TAS, you can find it by using BBCode like [frames]12345@60.0988[/frames] on the forum. It'll show like this: 03:25.41 Alternatively, you can upload the movie to userfiles and it will show you the movie time. Alternatively if you want to manually calculate the time of a TAS from a framecount, divide your frame count by the framerate and you'll have the length of your movie in seconds. E.g, 1234 frames / 60.0988 fps = a 20.533 seconds long movie.
OK , thanks!
Amaraticando
It/Its
Editor, Player (157)
Joined: 1/10/2012
Posts: 673
Location: Brazil
Alex76FR wrote:
OK... So how to calculate the time of the TAS?
The emulator usually displays it somewhere and you don't need to make any calculation. The movie format can register the time too. But if you need it anyway, here is how you do: seconds = frames/framerate Be careful. If you use the European version of a game, the framerate can be lower. Example: frames = 25400 system = SNES NTSC Therefore: seconds = 25400/60.0988138974405 = 422.637 secs = 7 mins and 2.637 secs
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Amaraticando wrote:
Be careful. If you use the European version of a game, the framerate can be lower.
e.g. Gameboy is also ~60fps.
ALAKTORN
He/Him
Player (99)
Joined: 10/19/2009
Posts: 2527
Location: Italy
It seems like you don’t understand what a frame is. A video is made of images. A frame is each individual image that makes a video. Each one of those images is 1 frame. The framerate is how many images (frames) appear in a determined amount of time (usually 1 second). If the framerate is 60fps (frames per second), it means that there are 60 images in 1 second. Once you know the framerate, as has been said, it’s simple mathematics: frames ÷ framerate = time in seconds. 60 frames (images) at 60fps is 1 second. 30f at 60fps is 0.5 seconds. 60f at 30fps is 2 seconds. My explanation sucks but maybe you understood something from it. Wikipedia has a page on this, which may be of help: http://en.wikipedia.org/wiki/Film_frame