This is a Windows tool that will convert your bootanimation.zip into a Mp4 video.
This is a Boot Animation emulator, it unzips the zip file then takes information from the desc.txt file, and does what android would do with all of the images and folders. You can either pull your bootanimation file from your device with this program, or put bootanimation zip files in the "zips" folder that gets created first time you run this program.
This is ideal for making Youtube videos as it takes every detail from your bootanimation file, and uses it like android would. If an image is called to pause for 25 frames after a part has played, then replay the folder with a 3 frame pause, it will. You may also play with framerates, and resolutions.
Videos made can also be strung together in the program through a search of a string in the video name, ie resolution, or you can concatenate all of them.
Click the button below for an explanation of what I do, and see exactly how the process works.
When you load a zip file, it is automatically unzipped, and searched for a desc.txt file in the root directory. It moves the zipped file, if it was pulled from your device, into the "zips" folder. It then reads your desc.txt file and finds the first line that starts with a number. That will be your resolution and framerate. Then it gets the rest of the folder information for putting the animation together. I never alter your actual bootanimation file.
Most bootanimations have something similar to this in their last line: p 0 0 part6 That first 0 after the p indicates to android, to play continuously until the device OS is loaded. Some have a: c 0 0 part6 This is almost the same thing, but it will play at least once, and it will play all of the way through the animation of part6, no matter what the boot status is of your device.
Since we a making a video out of all this, we have to simulate boot. So if you have any parts with the 0 immediately after the p or c, then you will be prompted to input how many times you want that folder to loop for the video.
You are ready to make a video now. This is where the complexity of the whole process happens. You don't have to worry about it though. Some folders of images will have a pause frame at the end of the part, so I copy that image X number of times, renumber all the files, make the video for that part, and trim the files back to the original images. The video is then saved in a temp folder as the rest of the videos are made for each folder call, using the same process, which actually may be different (it all depends on what the desc.txt file calls for). At the end, the different videos are concatenated together, with folder repeats included, to form the final video and or Gif.
This happens a lot quicker than it sounds!
I am not responsible if you brick your phone or fry your computer. Always make backups!
Download Bootanimation to Mp4 v1.86b
This rar archive contains the programs:
ADB - Used to communicate between your computer and device
7ZA - Used to zip and unzip the boot animation zip files
FFMPEG - Used to convert media from one type to another
It also contains two dll files for ADB. These five files are in the 'bin' folder in the download. The last file included is the batch script named RUNba2mp4v186b.bat. Run this file.
The batch file can be found in these two posts #22 and #23 in this thread:
Part 1 of 2
Part 2 of 2
If you experience a video that looks messed up:
Almost every time this happens, it is because your computer can not keep up with the huge amounts of data streams some of the higher resolution boot animations can create. You can usually tell if it is your computer or the video file by simply letting it play one time, then let it loop back and replay the video, and all of the sudden everything is smooth. If you upload it to Youtube it will play perfect. If you play the video on a nicer computer, it will play perfect. lol You may set the compression level a little lower if you are just making a video for yourself on your computer.This guy is a really good animator. I doubled the resolution on this one, and set the end to repeat 6 times. This animation was done by @overhauling and can be found here!
I did not make this bootanimation, or any of these, just the videos. Here is the link to the thread.
These next two I doubled the resolution on to make Youtube give the "HD" option. Some of them, it seems, might be 720x1280 but Youtube won't view it as 720p because it is portrait mode. Thanks to @Frigorio for the first one below. Here is the link to his thread.
This video below shows the concatenation feature. I used only videos in my "videos" folder that contained the string "x1280" and came up with this video. I wish I would of doubled the resolution on them to make Youtube give me the "HD" option, but you get the point.
Thanks to @raishiro for the following sweet animations, also the black and white funky one up above. Here is the forum link to these bootanimations.
Changelog:
v1.0 2/16/14
This is a Boot Animation emulator, it unzips the zip file then takes information from the desc.txt file, and does what android would do with all of the images and folders. You can either pull your bootanimation file from your device with this program, or put bootanimation zip files in the "zips" folder that gets created first time you run this program.
This is ideal for making Youtube videos as it takes every detail from your bootanimation file, and uses it like android would. If an image is called to pause for 25 frames after a part has played, then replay the folder with a 3 frame pause, it will. You may also play with framerates, and resolutions.
Videos made can also be strung together in the program through a search of a string in the video name, ie resolution, or you can concatenate all of them.
Updated March 23rd, 2014
V1.86b
-Added support for Mp4 style boot animations
-Added quickport, where you can easily change the resolution of a bootanimation zip
-Added a converter to go from a Jpg/Png style bootanimation to Mp4 style or vice versa
-Changed all file/folder location references to full paths for speed, and reliability
-Added logging to help troubleshoot any issues that may arise
-Added an option to scale Gifs to a different size
V1.86b
-Added support for Mp4 style boot animations
-Added quickport, where you can easily change the resolution of a bootanimation zip
-Added a converter to go from a Jpg/Png style bootanimation to Mp4 style or vice versa
-Changed all file/folder location references to full paths for speed, and reliability
-Added logging to help troubleshoot any issues that may arise
-Added an option to scale Gifs to a different size
Click the button below for an explanation of what I do, and see exactly how the process works.
When you load a zip file, it is automatically unzipped, and searched for a desc.txt file in the root directory. It moves the zipped file, if it was pulled from your device, into the "zips" folder. It then reads your desc.txt file and finds the first line that starts with a number. That will be your resolution and framerate. Then it gets the rest of the folder information for putting the animation together. I never alter your actual bootanimation file.
Most bootanimations have something similar to this in their last line: p 0 0 part6 That first 0 after the p indicates to android, to play continuously until the device OS is loaded. Some have a: c 0 0 part6 This is almost the same thing, but it will play at least once, and it will play all of the way through the animation of part6, no matter what the boot status is of your device.
Since we a making a video out of all this, we have to simulate boot. So if you have any parts with the 0 immediately after the p or c, then you will be prompted to input how many times you want that folder to loop for the video.
You are ready to make a video now. This is where the complexity of the whole process happens. You don't have to worry about it though. Some folders of images will have a pause frame at the end of the part, so I copy that image X number of times, renumber all the files, make the video for that part, and trim the files back to the original images. The video is then saved in a temp folder as the rest of the videos are made for each folder call, using the same process, which actually may be different (it all depends on what the desc.txt file calls for). At the end, the different videos are concatenated together, with folder repeats included, to form the final video and or Gif.
This happens a lot quicker than it sounds!
I am not responsible if you brick your phone or fry your computer. Always make backups!
Download Bootanimation to Mp4 v1.86b
This rar archive contains the programs:
ADB - Used to communicate between your computer and device
7ZA - Used to zip and unzip the boot animation zip files
FFMPEG - Used to convert media from one type to another
It also contains two dll files for ADB. These five files are in the 'bin' folder in the download. The last file included is the batch script named RUNba2mp4v186b.bat. Run this file.
The batch file can be found in these two posts #22 and #23 in this thread:
Part 1 of 2
Part 2 of 2
Some versions of Windows (particularly XP and/or Win2k) dropped support for the choice command for a couple of years then picked it back up. I use the choice command extensively for my menus. Ba2mp4 will not work without this command. To see if you have choice, you can simply open up a command prompt window anywhere, and type "choice"
- If you are prompted with [Y,N]? then you have the choice command and are good to go.
- If you see 'choice' is not recognized as an internal or external command..... then you don't have it.
You can download choice.com or choice.exe from a number of websites. If you are unsure of what to download feel free to pm me and I will help you out, or make a version that will work for you. Please don't download an executable program from an untrusted site, you could do serious damage to your computer and/or your past, present, and future data can all be compromised. There are too many trusted sites for me to list with different versions for different operating systems.
- If you are prompted with [Y,N]? then you have the choice command and are good to go.
- If you see 'choice' is not recognized as an internal or external command..... then you don't have it.
You can download choice.com or choice.exe from a number of websites. If you are unsure of what to download feel free to pm me and I will help you out, or make a version that will work for you. Please don't download an executable program from an untrusted site, you could do serious damage to your computer and/or your past, present, and future data can all be compromised. There are too many trusted sites for me to list with different versions for different operating systems.
If you experience a video that looks messed up:
Almost every time this happens, it is because your computer can not keep up with the huge amounts of data streams some of the higher resolution boot animations can create. You can usually tell if it is your computer or the video file by simply letting it play one time, then let it loop back and replay the video, and all of the sudden everything is smooth. If you upload it to Youtube it will play perfect. If you play the video on a nicer computer, it will play perfect. lol You may set the compression level a little lower if you are just making a video for yourself on your computer.
I did not make this bootanimation, or any of these, just the videos. Here is the link to the thread.
These next two I doubled the resolution on to make Youtube give the "HD" option. Some of them, it seems, might be 720x1280 but Youtube won't view it as 720p because it is portrait mode. Thanks to @Frigorio for the first one below. Here is the link to his thread.
This video below shows the concatenation feature. I used only videos in my "videos" folder that contained the string "x1280" and came up with this video. I wish I would of doubled the resolution on them to make Youtube give me the "HD" option, but you get the point.
Thanks to @raishiro for the following sweet animations, also the black and white funky one up above. Here is the forum link to these bootanimations.
Changelog:
v1.0 2/16/14
Initial upload
v1.1 2/16/14Fixed bug in repeating folders that weren't the last folder
Added fps and frames in each folder when inputting repeats of the folders with repeat "0"
Changed the number of lines in zip file select screen from 200 to 70
Several small changes
v1.6 2/21/14Added fps and frames in each folder when inputting repeats of the folders with repeat "0"
Changed the number of lines in zip file select screen from 200 to 70
Several small changes
Added support for endless folders, repeats
Fixed error for using jpgs in one folder and pngs in another
Tightened up code making the video to make it faster
Added frame counters and timing indicators
v1.61 2/22/14Fixed error for using jpgs in one folder and pngs in another
Tightened up code making the video to make it faster
Added frame counters and timing indicators
Reduced calls in loops surrounding/in video processing
Added Gifs folder for ... gifs
Added check in system\media in case zip file is a flashable zip
Added a check in # of zip files to know whether to expand window or not that displays them
v1.86b 3/23/14Added Gifs folder for ... gifs
Added check in system\media in case zip file is a flashable zip
Added a check in # of zip files to know whether to expand window or not that displays them
Added support for Mp4 style boot animations
Added quickport, where you can easily change the resolution of a bootanimation zip
Added a converter to go from a Jpg/Png style bootanimation to Mp4 style or vice versa
Changed all file/folder location references to full paths for speed, and reliability
Added logging to help troubleshoot any issues that may arise
Added an option to scale Gifs to a different size
Added quickport, where you can easily change the resolution of a bootanimation zip
Added a converter to go from a Jpg/Png style bootanimation to Mp4 style or vice versa
Changed all file/folder location references to full paths for speed, and reliability
Added logging to help troubleshoot any issues that may arise
Added an option to scale Gifs to a different size
Last edited: