Jump to content

Hi There

Welcome to Klub Exile. If you happened to make your way to the site either from Lovers Lab or a Search on Google, we are glad you found us.  To unlock the entire site you will need to have a account registered.  Don't worry it is free but in the mean time you can read up on why we made the site and other little tidbits.  Feel free to join or Discord Server also if you have any more questions.  Thanks for stopping by and See You on the other side.

Klub Sentinel Klub Sentinel

Video Player


VeritasLex

Recommended Posts

Sorry to start a new thread, but I didn't know where to ask this question.


Hello.

I want to add my own video to R9Toy510 & R9Toy511 Video Players.
But as you can see I am having my problems with it.
To me it looks like the resolution and speed is the problem.
With the SP version the video is way too slow can someone please help me out.
Please easy to understand, my English is not good and my knowledge is also limited.😅

 

Unbenannt 103.jpg

Link to comment
Share on other sites

1 hour ago, VeritasLex said:

Sorry to start a new thread, but I didn't know where to ask this question.


Hello.

I want to add my own video to R9Toy510 & R9Toy511 Video Players.
But as you can see I am having my problems with it.
To me it looks like the resolution and speed is the problem.
With the SP version the video is way too slow can someone please help me out.
Please easy to understand, my English is not good and my knowledge is also limited.😅

I created R9Toy510 & 511.  It can be quite complicated to understand.  You will have to .zip your R9Toy510 & 511 addon files/folders and send them to me (attach) so I can see what the problem is.  Sometimes it can be only a single number out of place.. :classic_biggrin:

Link to comment
Share on other sites

4 hours ago, MrOllyK said:

I created R9Toy510 & 511.  It can be quite complicated to understand.  You will have to .zip your R9Toy510 & 511 addon files/folders and send them to me (attach) so I can see what the problem is.  Sometimes it can be only a single number out of place.. :classic_biggrin:

Thanks for your help.

R9Toy510 11.zip

Link to comment
Share on other sites

7 hours ago, VeritasLex said:

Thanks for your help.

You did pretty good so far, just some things mistaken.  In R9Toy510.bs your video was slow because you used 12 FPS code instead of 24.  I changed:

AnimationLibrary :local_18 . {
    AnimationLibrary.EndTime F64(224);

to:

AnimationLibrary :local_18 . {
    AnimationLibrary.EndTime F64(112);

.. and:

SplineBase.KeyTime Array_F32 [ 0, 2, 4, 6, 8, 10, .. (etc.)

to:

SplineBase.KeyTime Array_F32 [ 0, 1, 2, 3, 4, 5, .. (etc.)

 

Display frame every "tick" (1, 2, 3, 4..) = 24 frames per second.  Every 2nd "tick" (2, 4, 6, 8).. = 12 frames per second.  Therefore:

SplineBase.KeyTime Array_F32 [ 0, 2, 4, 6, 8, 10, .. (etc.) = every 2nd "tick", 12 FPS.

 

For R9Toy511.bs all is okay, but your animation texture has not enough frames (112 = 8 x 14 tile), should have 448 (16 x 28) frames.  R9Toy510 is designed for 8 x 14 tile texture and R9Toy511 is designed for 16 x 28.  You need to make a new video texture for R9Toy511 using:

-filter:v "scale=256:144,tile=16x28,pad=height=4096:y=64"

or if you want higher resolution:

-filter:v "scale=512:288,tile=16x28,pad=height=8192:y=128"

I fixed R9Toy510.bs for you but for R9Toy511.bs you simply need to make a new video texture with 16 x 28 tile frames.. :classic_tongue:

R9Toy510.zip

  • Like 1
Link to comment
Share on other sites

6 hours ago, MrOllyK said:

You did pretty good so far, just some things mistaken.  In R9Toy510.bs your video was slow because you used 12 FPS code instead of 24.  I changed:

AnimationLibrary :local_18 . {
    AnimationLibrary.EndTime F64(224);

to:

AnimationLibrary :local_18 . {
    AnimationLibrary.EndTime F64(112);

.. and:

SplineBase.KeyTime Array_F32 [ 0, 2, 4, 6, 8, 10, .. (etc.)

to:

SplineBase.KeyTime Array_F32 [ 0, 1, 2, 3, 4, 5, .. (etc.)

 

Display frame every "tick" (1, 2, 3, 4..) = 24 frames per second.  Every 2nd "tick" (2, 4, 6, 8).. = 12 frames per second.  Therefore:

SplineBase.KeyTime Array_F32 [ 0, 2, 4, 6, 8, 10, .. (etc.) = every 2nd "tick", 12 FPS.

 

For R9Toy511.bs all is okay, but your animation texture has not enough frames (112 = 8 x 14 tile), should have 448 (16 x 28) frames.  R9Toy510 is designed for 8 x 14 tile texture and R9Toy511 is designed for 16 x 28.  You need to make a new video texture for R9Toy511 using:

-filter:v "scale=256:144,tile=16x28,pad=height=4096:y=64"

or if you want higher resolution:

-filter:v "scale=512:288,tile=16x28,pad=height=8192:y=128"

I fixed R9Toy510.bs for you but for R9Toy511.bs you simply need to make a new video texture with 16 x 28 tile frames.. :classic_tongue:

R9Toy510.zip 1.96 kB · 1 download

Thanks for your help.
Is still a bit too slow than the original, if I understood correctly, I have to change the value 16x28, if so, I do not quite get it yet.

Link to comment
Share on other sites

2 hours ago, VeritasLex said:

Thanks for your help.
Is still a bit too slow than the original, if I understood correctly, I have to change the value 16x28, if so, I do not quite get it yet.

R9Toy510 is designed for only 8 x 14 tile texture, maximum frames 112, SplineBase.KeyTime Array_F32 [ 0, 1, 2, 3, 4, 5, .. (etc.) is fastest (24 FPS).

R9Toy511 is designed for only 16 x 28 tile texture, maximum frames 448, SplineBase.KeyTime Array_F32 as above.  It just runs for much longer.

The number of tiles (8 x 14 or 16 x 28) has nothing to do with speed, just length of play.

24 frames per second (FPS) is maximum speed for animation in the game.  If the video file you captured the frames from runs at 25 or 30 FPS, then 24 is a little slower.  There are ways to resample a 25 or 30 FPS video to run at 24 FPS that looks like right speed, but first you must understand these concepts as to why your video may look slow.

How fast does your original video file play, 25, 29, 30 FPS?  VLC or other video players can tell you.

Link to comment
Share on other sites

44 minutes ago, MrOllyK said:

R9Toy510 is designed for only 8 x 14 tile texture, maximum frames 112, SplineBase.KeyTime Array_F32 [ 0, 1, 2, 3, 4, 5, .. (etc.) is fastest (24 FPS).

R9Toy511 is designed for only 16 x 28 tile texture, maximum frames 448, SplineBase.KeyTime Array_F32 as above.  It just runs for much longer.

The number of tiles (8 x 14 or 16 x 28) has nothing to do with speed, just length of play.

24 frames per second (FPS) is maximum speed for animation in the game.  If the video file you captured the frames from runs at 25 or 30 FPS, then 24 is a little slower.  There are ways to remap a 25 or 30 FPS video to run at 24 FPS that looks like it's fast as normal, but first you must understand these concepts.

How fast does your original video file play, 25, 29, 30 FPS?  VLC or other video players can tell you.

The video runs at 50FPS but can pay attention in the future and expedite it in 24FPS.

What I still do not quite understand, if I have a video with a length of 3 minutes, how do I know what value I must take instead of 16x24

Sorry, I use a translator and the translation is sometimes really bad.

Link to comment
Share on other sites

1 hour ago, VeritasLex said:

The video runs at 50FPS but can pay attention in the future and expedite it in 24FPS.

What I still do not quite understand, if I have a video with a length of 3 minutes, how do I know what value I must take instead of 16x24

Sorry, I use a translator and the translation is sometimes really bad.

There are only 2 values you can use:

R9Toy510 uses ONLY 8 x 14 tiles (112 frames maximum) in the video texture.  Run time at 24FPS = 4.6666 seconds (112 / 24).

R9Toy511 uses ONLY 16 x 28 tiles (448 frames maximum) in the video texture.  Run time at 24FPS = 18.6666 seconds (448 / 24).

If you want to run a 3 minute video in 448 frames, it would have to run very slow, maybe only 2 FPS!  You only have 1 texture for the video and 2 choices, 112 frames using R9Toy510 or 448 frames using R9Toy511.

Maybe one day I will make video player that can have more than 448 frames, but the more frames, more memory or smaller frames, less resolution.

Link to comment
Share on other sites

48 minutes ago, MrOllyK said:

There are only 2 values you can use:

R9Toy510 uses ONLY 8 x 14 tiles (112 frames maximum) in the video texture.  Run time at 24FPS = 4.6666 seconds (112 / 24).

R9Toy511 uses ONLY 16 x 28 tiles (448 frames maximum) in the video texture.  Run time at 24FPS = 18.6666 seconds (448 / 24).

If you want to run a 3 minute video in 448 frames, it would have to run veeery slow!  You only have 1 texture for the video and 2 choices, 112 frames using R9Toy510 or 448 frames usingR9Toy511.

Ok, I see.
Thanks again for your help

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

WARNING! Adult Only Content You must be 18 years of age or older to enter. By accepting you agree to Klub Exile's Terms of Use and Guidelines upon creating an account.