More actions
No edit summary |
No edit summary |
||
(52 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox DS Homebrews | ||
| title | |title=Tuna-viDS | ||
| image | |image=Tunavids2.png | ||
| | |description=Plays AVI files that contain Xvid encoded video and MP3 encoded audio. | ||
| version | |author=Chishm | ||
| | |lastupdated=2018/10/13 | ||
| | |type=Media Players | ||
| website | |version=1.2 | ||
|license=Mixed | |||
| source | |download=https://dlhb.gamebrew.org/dshomebrew2/tunavids.7z | ||
}} | |website=https://www.chishm.com/tuna-vids/index.html | ||
|source=https://github.com/chishm/tuna-vids | |||
}} | |||
A Xvid video player for the Nintendo DS. Tuna-viDS plays AVI files that contain Xvid encoded video and MP3 encoded audio. | |||
==Installation== | |||
Download and extract file. | |||
[[DLDI|DLDI]] patch .nds file and copy it to the root directory of the card. | |||
Run tuna-open.nds and select an AVI file to play. | |||
==User guide== | ==User guide== | ||
Tuna-viDS plays videos with the following format | Tuna-viDS plays videos with the following format. | ||
{| class="wikitable" style="width: 600px;" | |||
|- | |||
! scope="row" style="width: 15%;"|Video | |||
| Up to 256px wide, 192px tall and 12fps. Xvid encoded, non-interlaced. | |||
|- | |||
! scope="row"|Audio | |||
| Stereo or mono MP3. | |||
|- | |||
! scope="row"|Container | |||
| AVI with chunk index, video must be the first stream (fourcc 00dc). | |||
|- | |||
|} | |||
You can use [http://ffmpeg.mplayerhq.hu/ ffmpeg] to convert videos with this command (all one line): | |||
<pre style="white-space:pre-wrap;">ffmpeg -i <infile> -f avi -r 10 -s 256x192 -b 192k -bt 64k -vcodec libxvid -deinterlace -acodec libmp3lame -ar 32000 -ab 96k -ac 2 tuna-vids.avi</pre> | |||
This encodes the video as Xvid at 256×192px, 10fps, 192±64kbps. You can try up to 12fps, but anything higher will slow down the decoder too much. | |||
It encodes the audio as stereo MP3 at 32kHz/96kbps, and makes it into an AVI container with the filename tuna-vids.avi. | |||
Feel free to experiment with bit rates, sample rates, and frame rates. Just keep the video exactly 256px wide and no more than 192px tall. | |||
See also the [https://wiki.ds-homebrew.com/ds-index/videoplayers#tunavids-guide TunaViDS Guide] from DS-Homebrew Wiki. | |||
==Controls== | ==Controls== | ||
B - | B - Play, Pause | ||
X - | X - Toggle bottom backlight | ||
Left - | Left - Increase video delay by one frame | ||
Right - | Right - Decrease video delay by one frame | ||
==Compatibility== | ==Compatibility== | ||
Tested on | Tested on M3DS Real (firmware 3.4). | ||
==Credits== | ==Credits== | ||
* Xvid team - Writing the Xvid codec. | |||
* Christoph Lampert - Video playback example. | |||
* Robin Watts, Sophie Wilson & Paul Gardiner - YUV to RGB colour space converter. | |||
* HelixCommunity - MP3 decoder. | |||
* ThomasS, LiraNuna, strager & DarkEz - Helix MP3 decoder port. | |||
* Costas - Changes necessary for stereo MP3 support. | |||
* Thoduv & ecurtz - Stereo audio deinterleaver. | |||
* Noda - Some MP3 player ideas. | |||
* abraxas - Giving the idea to port Xvid to the DS. | |||
* Brittlestar - Music sampled from Did U Get What U Want. | |||
* Ferrie - GUI's skin. | |||
==External links== | |||
* Author's website - https://www.chishm.com | |||
* GitHub - https://github.com/chishm/tuna-vids | |||
* Batch script for converting videos for Tuna-ViDS - https://gbatemp.net/threads/batch-script-for-converting-videos-for-tuna-vids.661735/ |
Latest revision as of 02:56, 22 October 2024
Tuna-viDS | |
---|---|
General | |
Author | Chishm |
Type | Media Players |
Version | 1.2 |
License | Mixed |
Last Updated | 2018/10/13 |
Links | |
Download | |
Website | |
Source | |
A Xvid video player for the Nintendo DS. Tuna-viDS plays AVI files that contain Xvid encoded video and MP3 encoded audio.
Installation
Download and extract file.
DLDI patch .nds file and copy it to the root directory of the card.
Run tuna-open.nds and select an AVI file to play.
User guide
Tuna-viDS plays videos with the following format.
Video | Up to 256px wide, 192px tall and 12fps. Xvid encoded, non-interlaced. |
---|---|
Audio | Stereo or mono MP3. |
Container | AVI with chunk index, video must be the first stream (fourcc 00dc). |
You can use ffmpeg to convert videos with this command (all one line):
ffmpeg -i <infile> -f avi -r 10 -s 256x192 -b 192k -bt 64k -vcodec libxvid -deinterlace -acodec libmp3lame -ar 32000 -ab 96k -ac 2 tuna-vids.avi
This encodes the video as Xvid at 256×192px, 10fps, 192±64kbps. You can try up to 12fps, but anything higher will slow down the decoder too much.
It encodes the audio as stereo MP3 at 32kHz/96kbps, and makes it into an AVI container with the filename tuna-vids.avi.
Feel free to experiment with bit rates, sample rates, and frame rates. Just keep the video exactly 256px wide and no more than 192px tall.
See also the TunaViDS Guide from DS-Homebrew Wiki.
Controls
B - Play, Pause
X - Toggle bottom backlight
Left - Increase video delay by one frame
Right - Decrease video delay by one frame
Compatibility
Tested on M3DS Real (firmware 3.4).
Credits
- Xvid team - Writing the Xvid codec.
- Christoph Lampert - Video playback example.
- Robin Watts, Sophie Wilson & Paul Gardiner - YUV to RGB colour space converter.
- HelixCommunity - MP3 decoder.
- ThomasS, LiraNuna, strager & DarkEz - Helix MP3 decoder port.
- Costas - Changes necessary for stereo MP3 support.
- Thoduv & ecurtz - Stereo audio deinterleaver.
- Noda - Some MP3 player ideas.
- abraxas - Giving the idea to port Xvid to the DS.
- Brittlestar - Music sampled from Did U Get What U Want.
- Ferrie - GUI's skin.
External links
- Author's website - https://www.chishm.com
- GitHub - https://github.com/chishm/tuna-vids
- Batch script for converting videos for Tuna-ViDS - https://gbatemp.net/threads/batch-script-for-converting-videos-for-tuna-vids.661735/