AVI converter: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 3: Line 3:
{{Infobox homebrew
{{Infobox homebrew
| title      = AVI converter  
| title      = AVI converter  
| image      = [[File:Ndsavi.png|300px]]
| image      = https://dlhb.gamebrew.org/dshomebrew/avivideoconverter.png
| type        = PC Utility
| type        = PC Utility
| version    = 09 Mar 2006
| version    = 09 Mar 2006
Line 9: Line 9:
| author      = Delfare
| author      = Delfare
| website    = http://www.palib.info/wiki/doku.php?id=day11
| website    = http://www.palib.info/wiki/doku.php?id=day11
| download    = https://web.archive.org/web/20120109015433/http://palib.info/hosted/delfare/viDeoconverterS3.zip
| download    = https://dlhb.gamebrew.org/dshomebrew/avivideoconverter.7z Converter and Demo
| source      =  
| source      =  
}}
}}
Line 36: Line 36:
You must to be in 16 bit mode to use the video: PA_Init16bitBg(1, 3); or PA_Init16bitBg(0, 3);
You must to be in 16 bit mode to use the video: PA_Init16bitBg(1, 3); or PA_Init16bitBg(0, 3);


[[Media:Avidemods.rar|Homebrew Demo.]]
==External links==
* PAlib - http://www.palib.info/wiki/doku.php?id=day11


<br>
[[Category:DS homebrew applications]]
[[Category:DS homebrew applications]]
[[Category:PC utilities for DS]]
[[Category:PC utilities for DS]]

Revision as of 11:15, 12 October 2021

AVI converter
avivideoconverter.png
General
Author(s)Delfare
TypePC Utility
Version09 Mar 2006
LicenceMixed
Links
Converter and Demo Download
Website
Advertisements

<htmlet>adsense</htmlet>


viDeoconverterS is a converter that allows you to apply AVI videos in your NDS homebrew using PALib.

It was in the 6th position at the NEO Spring Coding Competition 2006.

User guide

Tutorial:

Modify the file convert.bat: modify Data/chevalier by the name of your .avi file.

The parameter: -f is the fps (16 is good), -x and -y are the sizes of the video (256*192 is the size of your screen), -c is the compressage (GOOD, AVERAGE or BAD).

You obtain one .h file and 1 or more .vid files.

Put your .vid files and your .h file.

Do build.bat and GBFSinclude.bat. and you will obtain your file.

How to use the videos in a homebrew:

Use PA_InitGBFS(); and use PA_LoadMultiVidGBFS(s8 idfile); with the id of the .h file.

You must to be in 16 bit mode to use the video: PA_Init16bitBg(1, 3); or PA_Init16bitBg(0, 3);

External links

Advertising: