Tuna-viDS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 10: Line 10:
| source      = Media:Tunavi11dssrc.zip
| source      = Media:Tunavi11dssrc.zip
}}   
}}   
An Xvid video player for the Nintendo DS. Tuna-viDS plays AVI files that contain Xvid encoded video and MP3 encoded audio.  
An Xvid video player for the Nintendo DS. Tuna-viDS plays AVI files that contain Xvid encoded video and MP3 encoded audio.  


==Installation==
==Installation==
#Download and extract file
#Download and extract file.
#[http://chishm.drunkencoders.com/DLDI/ DLDI patch] .nds file and copy it to the root directory of the card
#Get [http://chishm.drunkencoders.com/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:


'''Video:''' 256px wide, up to 192px tall, up to 12fps, Xvid encoded, non-interlaced
'''Video''' - 256px wide, up to 192px tall, up to 12fps, Xvid encoded, non-interlaced.<br>
 
'''Audio''' - Stereo or mono MP3.<br>
'''Audio:''' Stereo or mono MP3
'''Container''' - AVI with chunk index, video must be the first stream (fourcc 00dc).<br>
 
'''Container:''' AVI with chunk index, video must be the first stream (fourcc 00dc)


User can use [http://ffmpeg.mplayerhq.hu/ FFmpeg] to convert videos with this command (all one line):
User can use [http://ffmpeg.mplayerhq.hu/ FFmpeg] to convert videos with this command (all one line):


ffmpeg
<blockquote>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</blockquote>
-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. It muxes it into an AVI container with the filename "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. It muxes it into an AVI container with the filename "tuna-vids.avi".  
Line 37: Line 33:


==Controls==
==Controls==
B - play/pause
B -Play, Pause<br>
 
X - Toggle bottom backlight<br>
X - toggle bottom backlight
Left - Increase video delay by one frame<br>
 
Right - Decrease video delay by one frame
Left - increase video delay by one frame
 
Right - decrease video delay by one frame


==Compatibility==
==Compatibility==
Tested on: Flashcart M3DS Real with firmware 3.4  
Tested on: Flashcart M3DS Real with firmware 3.4.


==Credits==
==Credits==
Thanks
Xvid team - Writing the Xvid codec.<br>
:Xvid team - writing the Xvid codec
Christoph Lampert - Video playback example.<br>
:Christoph Lampert - video playback example
Robin Watts, Sophie Wilson & Paul Gardiner - YUV to RGB colour space converter.<br>
:Robin Watts, Sophie Wilson & Paul Gardiner - YUV to RGB colour space converter
HelixCommunity - MP3 decoder.<br>
:HelixCommunity - MP3 decoder
ThomasS, LiraNuna, strager & DarkEz - Helix MP3 decoder port.<br>
:ThomasS, LiraNuna, strager & DarkEz - Helix MP3 decoder port
Costas - Changes necessary for stereo MP3 support.<br>
:Costas - changes necessary for stereo MP3 support
Thoduv & ecurtz - Stereo audio deinterleaver.<br>
:Thoduv & ecurtz - stereo audio deinterleaver
Noda - Some MP3 player ideas.<br>
:Noda - some MP3 player ideas
abraxas - Giving the idea to port Xvid to the DS.<br>
:abraxas - giving me the idea to port Xvid to the DS
Brittlestar - Music sampled from Did U Get What U Want.<br>
:Brittlestar - music sampled from Did U Get What U Want
Ferrie - GUI's skin.
:Ferrie - GUI's skin
 


[[Category:Homebrew applications]]
[[Category:Homebrew applications]]

Revision as of 04:15, 16 May 2021

Tunavids
File:Tunavids.png
General
Author(s)Chishm
TypeVideo and audio
Version1.1
LicenceMixed
Links
[Media:Tunavi11ds.zip Download]
Website
[Media:Tunavi11dssrc.zip Source]
Advertisements

<htmlet>adsense</htmlet>

An Xvid video player for the Nintendo DS. Tuna-viDS plays AVI files that contain Xvid encoded video and MP3 encoded audio.

Installation

  1. Download and extract file.
  2. Get DLDI patch.nds file and copy it to the root directory of the card.
  3. Run tuna-open.nds and select an AVI file to play.

User guide

Tuna-viDS plays videos with the following format:

Video - 256px wide, up to 192px tall, up to 12fps, Xvid encoded, non-interlaced.
Audio - Stereo or mono MP3.
Container - AVI with chunk index, video must be the first stream (fourcc 00dc).

User 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. It muxes 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.

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: Flashcart M3DS Real with 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.

Advertising: