Learn how to optimize videos and replace the larger original videos in your ebook.
An unnecessarily large-sized ebook can cost you:
- Inconvenience for your readers in downloading an unnecessarily large file,
- Rejections by ebook stores that have an imposed size limit,
- The possibility of file corruption, if your computer can't handle the file size.
Optimizing may involve changing formats, resampling (bit rate, frequency, etc), changing resolution, or downgrading quality. The latter may not necessarily be detectable to the human eye, especially when viewed on small screens. The idea is to reach the least quality and resolution possible while maintaining a high quality for your viewers.
- Adobe Media Encoder is one of the most popular software options for encoding and optimizing video files. The software is not free and comes only as part of the Premiere Pro or After Effects subscription.
- Handbrake is a free open-source software, available for Windows and Mac. You may download it from the following link: https://handbrake.fr/. We will show you how to optimize your videos with Handbrake here in this article.
If you have not yet added the video to your ebook, then skip to step 2.
1. Open the folder that contains the video file.
1.1 In Kotobee Author, click on the Support menu and select Open working directory.
1.2 Open the EPUB folder.
1.3 Then open the video folder. Keep this window open.
This folder contains all the videos in your ebook. Any changes made to these files will instantly take place throughout your ebook.
2. Optimize the Videos.
2.1 Open Handbrake.
2.2 Drag and drop a video file from the Kotobee window we just opened to this Handbrake window. You will then have access to all the settings. Note: It is possible to batch convert all the video files at once.
2.3 From the list of Web presets, select Gmail Large or Gmail Medium. If time is a luxury in your hands, you can play around with different presets until you find the optimal size-quality combination.
2.4 Enter a new destination for the optimized file (desktop, for now, would be fine) Note: Do not change the file name.
2.5 Check the "Web Optimized" option (below the file name).
2.6 Click on Start Encode in the top control bar.
Handbrake will start optimizing your file. The time it takes depends on the length and resolution of the original file. Once the optimization is complete, you can replace the old large video files with the newer smaller files in Kotobee Author.
If you have not yet added the video to your ebook, go to Add a Video.
3. Replace the original video files
3.1 Once again open Kotobee Author's working directory. Click on the Support menu, and select Open Working Directory. Navigate to the EPUB/videos folder.
3.2 Replace the old video files with the newly generated ones on your desktop. You can drag and drop or copy-paste.
3.3 Save your Kotobee Author project.
If you check your ebook project's file size now, it should be significantly smaller.
For future videos, you can optimize them before adding them to the book, simply by following the instructions in Section 2 (above) Optimize videos with Handbrake.