Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3ds-theoraplayer 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 13: Line 13:
3ds-theoraplayer 3DS is a POC example of theora decoding for the Nintendo 3DS family of systems, using libctru and citro2d. You need to convert the videos into the OGV format in order to use.
3ds-theoraplayer 3DS is a POC example of theora decoding for the Nintendo 3DS family of systems, using libctru and citro2d. You need to convert the videos into the OGV format in order to use.


==User guide==
==Installation==
===Building===  
===Building===  
'''Prerequsites:'''
'''Prerequsites:'''
Line 23: Line 23:
Once you complete Prerequsites, run <code>make</code>.
Once you complete Prerequsites, run <code>make</code>.


===Converting video===
==User guide==
You can create a compatible video file using the following command: <code>ffmpeg -i 'input.ext' -vcodec theora -vf scale=400:-1 -acodec libvorbis -ar 32000 &quot;output.ogv&quot;</code> You can change the quality by using the <code>-q:v</code> flag.  
You can create a compatible video file using the following command: <code>ffmpeg -i 'input.ext' -vcodec theora -vf scale=400:-1 -acodec libvorbis -ar 32000 &quot;output.ogv&quot;</code> You can change the quality by using the <code>-q:v</code> flag.  



Revision as of 02:43, 3 July 2021

Template:Infobox 3DS homebrew

3ds-theoraplayer 3DS is a POC example of theora decoding for the Nintendo 3DS family of systems, using libctru and citro2d. You need to convert the videos into the OGV format in order to use.

Installation

Building

Prerequsites:

dkp-pacman 3ds-dev 3ds-libvorbisidec 3ds-libtheora.

Compiling:

Once you complete Prerequsites, run make.

User guide

You can create a compatible video file using the following command: ffmpeg -i 'input.ext' -vcodec theora -vf scale=400:-1 -acodec libvorbis -ar 32000 "output.ogv" You can change the quality by using the -q:v flag.

The value can be any interger from 0-10 with 10 being the highest quality. The old 3DS has limited processing power and it is not recommended to use 10, but any value between 0 and 7 should be fine (4 is recommended).

You can also just set the bitrate manually using the -b:v flag. (Somewhere around 500k is recomended) You can place your generated videos in the /videos directory on your sd card, if it doesn't exist, create it.

Changelog

Release 3

  • Screen tearing issues should be resolved once and for all.
  • Videos are now centered on the screen.
  • Videos should now automatically be shrunk to fit on the screen (you can press Y to enable and disable video resizing).
  • Noticeable improvements to playback speed.
  • Hotfix: Switch from mutxes to double buffering.
  • Hotfix: Fix rare race condition.

Advertising: