Homebrew [RELEASE] BootAnim9 - Custom boot animations for your 3DS!

  • Thread starter Thread starter Wolfvak
  • Start date Start date
  • Views Views 331,652
  • Replies Replies 1,434
  • Likes Likes 75
Status
Not open for further replies.
That's what I generally do: don't convert to GIF and then convert to RAW, just dump inmediately from source.
That's actually what it was before, yet the quality increased a lot with the new changes. I'll mess around with it a little more and try to remove a step and preserve the 8bit
 
You should probably run it through a lanczos scaling filter, not a lanczos pallete transform. That's likely why the quality seemed to increase. Try '-options sws_flags=lanczos' or -sws_flags lanczos
 
Last edited by chaoskagami,
You should probably run it through a lanczos scaling filter, not a lanczos pallete transform. That's likely why the quality seemed to increase. Try '-options sws_flags=lanczos' or -sws_flags lanczos
I got it to the point where it initially looks about the same as the palette but fades aren't as smooth looking, so I feel like I'm missing something from this.
Code:
 ffmpeg -i %input% -filter:vf scale=%res% -sws_flags lanczos %output1%
 
Assuming we mean mpeg, not mp4, does the input have obvious compression? Like e.g. blockiness? FFmpeg doesn't handle mpeg1 well at all, if I remember. It also makes no effort to correct artifacts, which might be why palletes fix it - it reduces the color count and probably eliminates the source artifacts.

Another thing that causes issues (sometimes) is changing the aspect ratio. You might want to do a 2-pass, scaling the GC anim down to 240 height and render it centered in pass 2 to a 400x240 buffer. Can't give any commands, since I'd have to go through the man pages.

Try grabbing a video from youtube with youtube-dl and testing with that. Seems to work well, in general.
 
Assuming we mean mpeg, not mp4, does the input have obvious compression? Like e.g. blockiness? FFmpeg doesn't handle mpeg1 well at all, if I remember. It also makes no effort to correct artifacts, which might be why palletes fix it - it reduces the color count and probably eliminates the source artifacts.

Another thing that causes issues (sometimes) is changing the aspect ratio. You might want to do a 2-pass, scaling the GC anim down to 240 height and render it centered in pass 2 to a 400x240 buffer. Can't give any commands, since I'd have to go through the man pages.

Try grabbing a video from youtube with youtube-dl and testing with that. Seems to work well, in general.
The only problem with the mpeg is the aliasing which is from the original mp4, I'll go back through and render it from the original file into mp4, I've got a few other mp4s I can try with though.
 
Here are 4 anim files, each 2 are the mpegs that went through either the scaling filter or the palette, other ones are same thing only the source mp4s for the mpegs from either the scaling filter or palette. I honestly can't tell at this point which ones are better.
 

Attachments

The new makeanim script isn't working for me, maybe the Linux .sh is broken? The old version is fine. I saw a sample using the new one and the quality is a lot better.
 
try this one
Still not working, here's what the terminal says:

libpostproc 53. 3.100 / 53. 3.100
inputresized.gif: No such file or directory
mv: impossible to find the result “output.rgb”: File or directory not found
rm: impossible to remove “inputresized.gif”: File or directory not found

And then there's no output at the folder. I tried running as root but no luck.
 
Still not working, here's what the terminal says:

libpostproc 53. 3.100 / 53. 3.100
inputresized.gif: No such file or directory
mv: impossible to find the result “output.rgb”: File or directory not found
rm: impossible to remove “inputresized.gif”: File or directory not found

And then there's no output at the folder. I tried running as root but no luck.
Is ffmpeg throwing errors? This is odd because it just worked fine for me.
 
Is ffmpeg throwing errors? This is odd because it just worked fine for me.
Oh, I see, so I scrolled to see the full log and it seems like it can't find the filter "Palettegen" and a "palette.png", so that's probably an error on my end. Sorry for bothering you! :)
 
v0.3.2 is up! It includes some minor changes, like the ability to skip the animation if holding the R trigger, to end the animation when you press SELECT and multiple names for the external payload!

New possible payload names are: "sdmc:/arm9payload.bin", "sdmc:/anim/arm9payload.bin", "sdmc:/aurei/arm9payload.bin", "sdmc:/rei/arm9payload.bin" and "sdmc:/NANDUnBricker.bin"

https://github.com/Wolfvak/BootAnim9/releases/tag/v0.3.2

--------------------- MERGED ---------------------------

Oh, I see, so I scrolled to see the full log and it seems like it can't find the filter "Palettegen" and a "palette.png", so that's probably an error on my end. Sorry for bothering you! :)

Yeah I should add that to the OP, now the script requires ffmpeg with the palettegen filter
 
  • Like
Reactions: Ryft
v0.3.2 is up! It includes some minor changes, like the ability to skip the animation if holding the R trigger, to end the animation when you press SELECT and multiple names for the external payload!

New possible payload names are: "sdmc:/arm9payload.bin", "sdmc:/anim/arm9payload.bin", "sdmc:/aurei/arm9payload.bin", "sdmc:/rei/arm9payload.bin" and "sdmc:/NANDUnBricker.bin"

https://github.com/Wolfvak/BootAnim9/releases/tag/v0.3.2

--------------------- MERGED ---------------------------



Yeah I should add that to the OP, now the script requires ffmpeg with the palettegen filter
I figured out why things broke for some users after merging the code. I missed an integer underflow. PR sent. Prepare to tag v0.3.3.

D:
Was just about to say mine hangs and is quite slow
 
Last edited by Docmudkipz,
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum