DSVideo: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 14: Line 14:


==Features==
==Features==
*Video playback up to 12.5 fps
*Video playback up to 12.5 fps.
*Stereo Audio playback (MPEG-1 Layer 2 @ 112kbps / 32kHz)
*Stereo Audio playback (MPEG-1 Layer 2 @ 112kbps/32kHz).
*Full seeking support
*Full seeking support.
*Feature-complete video playback controls
*Feature-complete video playback controls.
*File browser  
*File browser.


==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.


'''NOTE FOR THE R4:''' There is a special version of DSVideo for the R4,
'''Note from developer:'''<br>
which has been patched with a slightly modifier version of the R4 dldi
There is a special version of DSVideo for the R4, which has been patched with a slightly modifier version of the R4 dldi driver.  If you have an R4, you'll need to use the r4tf7.dldi patch and stop the R4 from autopatching it when it boots. This can be done with the dldinoap tool (source is in the thirdparty directory).
driver.  If you have an R4, you'll need
to use the r4tf7.dldi patch and stop the R4 from autopatching it when
it boots. This can be done with the 'dldinoap' tool (source is in the
thirdparty directory).


==User guide==
==User guide==
Line 35: Line 31:


===Encode videos===
===Encode videos===
The encoder is a command line utility. The basic usage is very simple - the command:
The encoder is a command line utility. The basic usage is very simple - the command:
dsvideo input_video.avi


will convert the file 'input_video.avi' into a file called 'input_video.dsv' which can then by copied onto your homebrew flashcard.
dsvideo input_video.avi <br>
 
will convert the file input_video.avi into a file called input_video.dsv which can then by copied onto your homebrew flashcard.
 
By default, 16:9 (or other widescreen sizes) will be encoded as centre-cut-out, meaning the height will fit the DS screen and the sides will be removed. The original video size can be kept by passing the -l option to the encoder, for example:


By default, 16:9 (or other widescreen sizes) will be encoded as centre-cut-out, meaning the height will fit the DS screen and the sides will be removed.  The original video size can be kept by passing the "-l" option to the encoder, for example:
  dsvideo -l input_video.avi
  dsvideo -l input_video.avi


There are some other options to control the encoder which are explained (briefly) by running the encoder with no arguments. More details are available at the dsvideo website, http://dsvideo.recoil.org/
There are some other options to control the encoder which are explained (briefly) by running the encoder with no arguments. More details are available at the dsvideo website (http://dsvideo.recoil.org).
 
==Controls==
Stylus - full control of the application


==Media==
==Media==
<youtube>TClIgtGuMYc</youtube>
<youtube>TClIgtGuMYc</youtube>
==Controls==
Stylus - Full control of the application


==Compatibility==
==Compatibility==
Tested on: FlashCard DSTT / TTDS with 1.17a12 Firmware  
Tested on: FlashCard DSTT/TTDS with 1.17a12 Firmware.


==Changelog==
==Changelog==
'''Version 1.01'''
'''Version 1.01'''
Encoder:<br>
- Update help information when the encoder is run with no arguments to include the version number, to clarify the usage of the "-w" option and to show some examples of common use.<br>
- Remove -s option on windows, as it doesn't work there yet.<br>
- Add support for videos at 23.97fps.<br>
- Fix the makefile for x86_64 linux platforms.<br>
- Fix audio resampling bug when converting from sample rates lower than 32kHz.<br>
- Fix freezing / memory allocation problem with certain video inputs.<br>
- Change default output filename to be the input file name with the extension changed to ".dsv".<br>


Encoder:
Decoder:  
*Update help information when the encoder is run with no arguments to include the version number, to clarify the usage of the "-w" option and to show some examples of common use.
- Unchanged.
*Remove -s option on windows, as it doesn't work there yet.
*Add support for videos at 23.97fps
*Fix the makefile for x86_64 linux platforms.
*Fix audio resampling bug when converting from sample rates lower than 32kHz.
*Fix freezing / memory allocation problem with certain video inputs.
*Change default output filename to be the input file name with the extension changed to '.dsv'
 
Decoder: Unchanged.


==Credits==
==Credits==
DSVideo was developed by Dominic Ludlam, with artwork and design by Denise Wilton, and additional artwork and the website by Nick Ludlam.
DSVideo was developed by Dominic Ludlam, with artwork and design by Denise Wilton, and additional artwork and the website by Nick Ludlam.


Nick also made the spiffy intro video. Many thanks to Lee Maguire for testing and feedback.
Nick also made the spiffy intro video. Many thanks to Lee Maguire for testing and feedback.


The sound track for the intro video is by James Tubbritt (Sharp), downloadable from http://fxhome.com/sounds/
The sound track for the intro video is by James Tubbritt (Sharp), downloadable from http://fxhome.com/sounds.


The following additional software is used:
The following additional software is used:<br>
:devkitPro (http://www.devkitpro.org/). Used to build the decoder.
- [http://www.devkitpro.org devkitPro]. Used to build the decoder.<br>
:FFMpeg (http://ffmpeg.mplayerhq.hu/). Used by the encoder to provide input video and audio data.
- [http://ffmpeg.mplayerhq.hu FFMpeg]. Used by the encoder to provide input video and audio data.<br>
:TwoLAME (http://www.twolame.org/). Used by the encoder for audio encoding.
- [http://www.twolame.org TwoLAME]. Used by the encoder for audio encoding.<br>
:Libfatdragon (http://www.dragonminded.com/?loc=ndsdev/LibFATDragon). Used by the decoder to access the flash card on the DS.
- [http://www.dragonminded.com/?loc=ndsdev/LibFATDragon Libfatdragon]. Used by the decoder to access the flash card on the DS.<br>
:Freetype2 (http://www.freetype.org/). Used during the build process to convert a freetype font to a bitmap font usable on the DS.
- [http://www.freetype.org Freetype2]. Used during the build process to convert a freetype font to a bitmap font usable on the DS.<br>
:Libungif (http://sourceforge.net/projects/libungif/). Used during the build process to convert images into a format usable on the DS.
- [http://sourceforge.net/projects/libungif Libungif]. Used during the build process to convert images into a format usable on the DS.<br>
:Yasm (http://www.tortall.net/projects/yasm/). Used while building the encoder.
- [http://www.tortall.net/projects/yasm Yasm]. Used while building the encoder.<br>


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

Revision as of 05:28, 16 May 2021

DSVideo
File:Dsvideo110.jpg
General
Author(s)Dominic Ludlam
TypeMedia
Version1.10
LicenceMixed
Links
[Media:Dsvideo110.rar Download]
Website
Advertisements

<htmlet>adsense</htmlet>


DSVideo player is a DS Media Player offers a simple and intuitive interface.

Features

  • Video playback up to 12.5 fps.
  • Stereo Audio playback (MPEG-1 Layer 2 @ 112kbps/32kHz).
  • Full seeking support.
  • Feature-complete video playback controls.
  • File browser.

Installation

  1. Download and extract file.
  2. Get DLDI patch.nds file and copy it to the root directory of the card.

Note from developer:
There is a special version of DSVideo for the R4, which has been patched with a slightly modifier version of the R4 dldi driver. If you have an R4, you'll need to use the r4tf7.dldi patch and stop the R4 from autopatching it when it boots. This can be done with the dldinoap tool (source is in the thirdparty directory).

User guide

The top screen is devoted to video playback, and the bottom screen contains the touchscreen navigation interface. The DSVideo encoder is flexible, accommodates a wide variety of source material, and is based on the widely used and highly portable ffmpeg.

Encode videos

The encoder is a command line utility. The basic usage is very simple - the command:

dsvideo input_video.avi 

will convert the file input_video.avi into a file called input_video.dsv which can then by copied onto your homebrew flashcard.

By default, 16:9 (or other widescreen sizes) will be encoded as centre-cut-out, meaning the height will fit the DS screen and the sides will be removed. The original video size can be kept by passing the -l option to the encoder, for example:

dsvideo -l input_video.avi

There are some other options to control the encoder which are explained (briefly) by running the encoder with no arguments. More details are available at the dsvideo website (http://dsvideo.recoil.org).

Media

Controls

Stylus - Full control of the application

Compatibility

Tested on: FlashCard DSTT/TTDS with 1.17a12 Firmware.

Changelog

Version 1.01 Encoder:
- Update help information when the encoder is run with no arguments to include the version number, to clarify the usage of the "-w" option and to show some examples of common use.
- Remove -s option on windows, as it doesn't work there yet.
- Add support for videos at 23.97fps.
- Fix the makefile for x86_64 linux platforms.
- Fix audio resampling bug when converting from sample rates lower than 32kHz.
- Fix freezing / memory allocation problem with certain video inputs.
- Change default output filename to be the input file name with the extension changed to ".dsv".

Decoder: - Unchanged.

Credits

DSVideo was developed by Dominic Ludlam, with artwork and design by Denise Wilton, and additional artwork and the website by Nick Ludlam.

Nick also made the spiffy intro video. Many thanks to Lee Maguire for testing and feedback.

The sound track for the intro video is by James Tubbritt (Sharp), downloadable from http://fxhome.com/sounds.

The following additional software is used:
- devkitPro. Used to build the decoder.
- FFMpeg. Used by the encoder to provide input video and audio data.
- TwoLAME. Used by the encoder for audio encoding.
- Libfatdragon. Used by the decoder to access the flash card on the DS.
- Freetype2. Used during the build process to convert a freetype font to a bitmap font usable on the DS.
- Libungif. Used during the build process to convert images into a format usable on the DS.
- Yasm. Used while building the encoder.

Advertising: