Hacking Guide - How to convert YouTube videos to Game Boy Advance ROM files

firewood5304

New Member
Newbie
Joined
Feb 18, 2022
Messages
1
Trophies
0
Age
33
Location
Place
XP
23
Country
United States
## how to encode for meteo gba

findings: meteo ONLY works on windows or in a windows vm

findings: meteo accepts `mpeg1video` streams with `mp3` audio.

using ffmpeg:

### video with sound

``` shell
ffmpeg -i "video.mp4" -vf scale=360:-1 -c:v mpeg1video -qscale:v 5 -c:a mp3 -format mpeg "out.mpg"
```

### video without sound

``` shell
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -i "video.mp4" -ss 17:00 -t 5:00 -vf scale=360:-1 -c:v mpeg1video -qscale:v 5 -c:a mp3 -shortest -format mpeg "out.mpg"
```

If you are really interested in the quality of this technique and want to see some DEMO roms: burnedtree5304 itch.io overwalk
 
Last edited by firewood5304,

Morawake

Member
Newcomer
Joined
May 21, 2021
Messages
7
Trophies
0
Age
31
XP
57
Country
United States
What does SPED do, and why is it set to 1.33?

What does Aspt do? Does it crop the video or stretch it?


FYI Dithering can increase file size and you can run multiple instances of the program at once.
 
Last edited by Morawake,

notmrman

New Member
Newbie
Joined
Oct 11, 2022
Messages
2
Trophies
0
Age
21
XP
22
Country
United States
I've been having trouble with compressing a movie onto a 32mb rom.. i got the video down to 27mb before realizing that it lost the msmpeg encoding. After converting it back to msmpeg it went up to 227mb. Is there a way to compress it without losing the msmpeg encoding? I've been trying for 2 days now.
Post automatically merged:

I've been having trouble with compressing a movie onto a 32mb rom.. i got the video down to 27mb before realizing that it lost the msmpeg encoding. After converting it back to msmpeg it went up to 227mb. Is there a way to compress it without losing the msmpeg encoding? I've been trying for 2 days now.
 

Succeroni

New Member
Newbie
Joined
Nov 5, 2022
Messages
1
Trophies
0
Age
16
XP
36
Country
United Kingdom
Whenever I try to flash the video onto the cart I get the error:

Write failed at 0x2000
Aborting...
Expected Data: 0xFF7E
Data adress: 0x7000
Flashing Failed.

Does anyone know how to fix this? Thank you in advanced.
Post automatically merged:

Whenever I try to flash the rom onto the cartridge, I get the error:

Write failed at 0x2000
Aborting...
Expected Data: 0xFF7E
Data adress: 0x7000
Flashing Failed.
Does anyone know how to fix this? Thanks in advanced.
 

StickMan64

Active Member
Newcomer
Joined
May 10, 2022
Messages
32
Trophies
0
Age
20
Location
North Carolina
XP
107
Country
United States
Hi, I recently figured out a way to bypass the 32mb limit specified by Meteo. This means that users can render higher quality videos at the expense of cartridge compatibility. The resolution limit has been disabled too, meaning that you can also specify a lower resolution than the minimum. I wrote up a guide on how to do it below, and provided the patch file and the modified exe in my own forked repo. I have also sent a pull request to the original repo posted in the OP for people who want to check it out.
I'm trying to run a full-length movie on my EZ Flash Omega DE using this modified version, but no matter how compressed I make it, the cart says the file is too big. I've heard that the EZ Flash Omega DE supports the official 512mb movie roms, but it doesn't run these unofficial versions I've made. Is there something I'm missing? I'd rather not chop the movie into parts if I don't have to. The roms run fine in mGBA, so I know it's not an issue with the roms themselves.
 

Sterophonick

Stupid Retro Tech Cat
OP
Member
Joined
Jul 17, 2018
Messages
566
Trophies
0
Location
Spamton's Keygen Dungeon
Website
sterophonick.github.io
XP
2,235
Country
United States
I'm trying to run a full-length movie on my EZ Flash Omega DE using this modified version, but no matter how compressed I make it, the cart says the file is too big. I've heard that the EZ Flash Omega DE supports the official 512mb movie roms, but it doesn't run these unofficial versions I've made. Is there something I'm missing? I'd rather not chop the movie into parts if I don't have to. The roms run fine in mGBA, so I know it's not an issue with the roms themselves.
Omega DE requires those be written to NOR, and those unofficial ones are not likely to work because the official ROMs used a custom ROM bank controller which is not used by Meteo. You'll need to compress your videos to at or under 32MB
 

StickMan64

Active Member
Newcomer
Joined
May 10, 2022
Messages
32
Trophies
0
Age
20
Location
North Carolina
XP
107
Country
United States
Omega DE requires those be written to NOR, and those unofficial ones are not likely to work because the official ROMs used a custom ROM bank controller which is not used by Meteo. You'll need to compress your videos to at or under 32MB
I've been trying to compress a movie into under 32mb, but every compression-based ffmpeg command I've found has the opposite effect, making the video take up more space. I tried multiple commands from this thread:



Unfortunately, none of them have worked for me. They all make the movie take up more space. I'm wondering if it's possible to compress a movie so it can be converted with the modified METEO
 

Sterophonick

Stupid Retro Tech Cat
OP
Member
Joined
Jul 17, 2018
Messages
566
Trophies
0
Location
Spamton's Keygen Dungeon
Website
sterophonick.github.io
XP
2,235
Country
United States
I've been trying to compress a movie into under 32mb, but every compression-based ffmpeg command I've found has the opposite effect, making the video take up more space. I tried multiple commands from this thread:



Unfortunately, none of them have worked for me. They all make the movie take up more space. I'm wondering if it's possible to compress a movie so it can be converted with the modified METEO

You're gonna wanna focus on compressing it using the settings in Meteo.
 

StickMan64

Active Member
Newcomer
Joined
May 10, 2022
Messages
32
Trophies
0
Age
20
Location
North Carolina
XP
107
Country
United States
You're gonna wanna focus on compressing it using the settings in Meteo.
I've tried using METEO's built in settings, but the smallest I can make the rom is 134mb. Also not mentioning the fact that the audio is removed when I try to compress it further in METEO. Also, my file started out as an mkv and I used ffmpeg to convert it to an avi, and that lowered its file size from around 1.3GB to around 550mb, so that's a start
 
Last edited by StickMan64,

Sterophonick

Stupid Retro Tech Cat
OP
Member
Joined
Jul 17, 2018
Messages
566
Trophies
0
Location
Spamton's Keygen Dungeon
Website
sterophonick.github.io
XP
2,235
Country
United States
I've tried using METEO's built in settings, but the smallest I can make the rom is 134mb. Also not mentioning the fact that the audio is removed when I try to compress it further in METEO. Also, my file started out as an mkv and I used ffmpeg to convert it to an avi, and that lowered its file size from around 1.3GB to around 550mb, so that's a start

Okay, at thay point, your video is  wayyyy too long. I would split it into parts, I'd recommend 15 minute chunks, gives you six files for a 90 minute movie.
 

StickMan64

Active Member
Newcomer
Joined
May 10, 2022
Messages
32
Trophies
0
Age
20
Location
North Carolina
XP
107
Country
United States
Okay, at thay point, your video is  wayyyy too long. I would split it into parts, I'd recommend 15 minute chunks, gives you six files for a 90 minute movie.
Okay. In that case, I'm dropping this. When I learned I could make larger files, I thought I could put a whole movie in one rom. Unless the EZFlash Omega DE starts supporting 512mb roms anytime soon, then I'm not gonna work amy further.
 

CosmicCatofVoids

New Member
Newbie
Joined
Feb 4, 2023
Messages
1
Trophies
0
Age
26
XP
12
Country
United States
Do you still happen to have this patch? I am working on doing this all right now? hope all is well!
I spent the night creating patches for Meteo generated ROM's to make use of the 256mbyte GBA multi-carts. The patch will allow the dpad Left and Right to skip 32mbyte video's (almost like chapters on a DVD player) and it'll also start the next 32mbyte video automatically. You can now fit a full movie in pretty good quality on a single GBA bootleg. Split over two the quality is a great deal better.

The 256MB bootlegs are structured as 8 x 32mbyte 'blocks'.

It appears I cannot post a link due to my account status? If you find the 256M GBA multi cart in my store it'll get you to the patches and info.
Post automatically merged:

Wow, now we got BennVenn making stuff to facilitate this nonsense even further! Great stuff!
Do you have this patch still?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,373
Country
United Kingdom

Attachments

  • Meteo_Patches_for_BV256M_Multicart_0edc86ab-4ec6-4d3f-8675-e1a800797401.zip
    638 bytes · Views: 77
  • Love
Reactions: SylverReZ

iDarkness

New Member
Newbie
Joined
Feb 14, 2023
Messages
1
Trophies
0
Age
25
XP
13
Country
Brazil
Hello! Can someone help me? I tried to do everything that this tutorial said but everything that I do just gives me this error:

Input file error (4)
Error: 0x80040217

I tried to use a lot of diferently convertors and I tried to use diferentlys videos too but nothing is working, I even tried to do in diferently computers and still nothing. Can someone help me to solve this please?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
  • BakerMan @ BakerMan:
    wokey d pronouns when woku walks in

    "CALL ME THEY SLASH THEEEEEEEEEEEEEEEEEEEEEEEEEEM"
    AncientBoi @ AncientBoi: :O