Author Topic: So I re-used my YABAV for something else...  (Read 3668 times)

0 Members and 1 Guest are viewing this topic.

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
So I re-used my YABAV for something else...
« on: January 09, 2014, 11:21:51 am »
Downloaded and converted a copy of Rick Astley's popular music video for the song "Never Gonna Give You Up". The screenshot gives the basic gist of what you'll be looking at, the .8xk download is the first 5000 (of 6,392) frames (roughly 2 3/4 minutes long)

On-calc filesize is 966,656 bytes (944KB). SPASM refuses to compile the entire video (it crashes if attempted).

First 5000 frames because it was a nice, easy number to pick that would still compile. The original video would've spanned 72 pages, and SPASM crashes on attempting to compile that.

Note that there is no real audio, but if you try anyway, you'll end up with a low pitched hum (since the audio driver is never disabled)

Any suggestions on other videos to try?
« Last Edit: January 09, 2014, 11:23:59 am by Iambian »
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: So I re-used my YABAV for something else...
« Reply #1 on: January 09, 2014, 12:09:28 pm »
dem pixel glitches on the sides :P

And nice, you gotta love the rickroll :thumbsup:

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: So I re-used my YABAV for something else...
« Reply #2 on: January 09, 2014, 01:51:14 pm »
I had the same problems with Spasm, so what I did was save the additional pages as .bin files (I had my Python encoding script output them), had spasm assemble the first page as another .bin file, and then concatenated them all and signed it with Rabbitsign.

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: So I re-used my YABAV for something else...
« Reply #3 on: January 09, 2014, 04:21:20 pm »
This video is the opening scene of the second Touhou Soccer game. I cheated a bit and used Irfanview to do the conversion to b/w because without dithering, it sucks. Compression didn't work as well because of that, but it still worked on some of the video.

Video stats: ~31sec long, 1921 frames @ ~30FPS
On-calc size: 425,984 (416KB)
If it was not compressed: 1440.75KB

NOTE: The fuzz at the top near the start is the Bandicam logo. Also, need to beef up the video player to support multiple compression types. Probably not gonna happen anytime soon, but hey. It could happen.

EDIT: Framerate information is wrong. I did not realize the source video was 60fps, so the vid is running at half speed. Unfortunately, I can't exactly speed things up. The system barely has enough CPU power to do 30FPS.
« Last Edit: January 09, 2014, 04:56:06 pm by Iambian »
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: So I re-used my YABAV for something else...
« Reply #4 on: January 09, 2014, 05:27:12 pm »
maybe you could cut out every second frame?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: So I re-used my YABAV for something else...
« Reply #5 on: January 09, 2014, 06:47:14 pm »
This video is a clip from Touhou Soccer 2. It is the special animation for one of the player's special moves.

I don't know what went wrong but the decompressor wanted more processing power than was available, so I had to cut out the background audio routine. Even though it wasn't doing anything, not being able to include audio is a problem.

But the video is decent. 30FPS.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: So I re-used my YABAV for something else...
« Reply #6 on: January 09, 2014, 07:50:37 pm »
Awesome. Now if only the rickroll had sound :P


Do you think you could do this with Zelda: Dark Link Quest's final boss intro? (Although it's about 6 FPS)

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: So I re-used my YABAV for something else...
« Reply #7 on: January 09, 2014, 09:05:28 pm »
Is the grayscale intentional, or a side effect of dithering and a high framerate?

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: So I re-used my YABAV for something else...
« Reply #8 on: January 10, 2014, 12:10:28 pm »
The grayscale is a side-effect. I don't have anything at the moment that could make something like that intentional.

EDIT: Darn it. Now you've got me thinking on how to make it intentional. And to support dithering and other image manipulations in-app.
« Last Edit: January 10, 2014, 12:24:28 pm by Iambian »
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: So I re-used my YABAV for something else...
« Reply #9 on: January 10, 2014, 12:25:30 pm »
Maybe you could make your dithering pattern the one needed for grayscale. 3 level should work fine, at least, but IDK how it would affect compression.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: So I re-used my YABAV for something else...
« Reply #10 on: January 12, 2014, 08:19:59 am »
We need a compression routine which supports dithering. Bitmasking?