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
(Created page with "{{Infobox 3DS homebrew | title = 3ds-theoraplayer | image = https://dlhb.gamebrew.org/3dshomebrew/3ds-theoraplayer.jpg|250px | type = Media players | version = r3 | licence =...")
 
No edit summary
Line 3: Line 3:
| image = https://dlhb.gamebrew.org/3dshomebrew/3ds-theoraplayer.jpg|250px
| image = https://dlhb.gamebrew.org/3dshomebrew/3ds-theoraplayer.jpg|250px
| type = Media players
| type = Media players
| version = r3
| version = r3 (7 April 2021)
| licence = Mixed
| licence = Mixed
| author = Oreo639
| author = Oreo639
Line 10: Line 10:
| source = https://dlhb.gamebrew.org/3dshomebrew/3ds-theoraplayer.rar
| source = https://dlhb.gamebrew.org/3dshomebrew/3ds-theoraplayer.rar
}}
}}
<youtube>tlve1hNnR28</youtube>


= 3ds-Theora example =
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.


POC example of theora decoding for the Nintendo 3DS family of systems using libctru and citro2d.
==User guide==
===Building===
'''Prerequsites:'''


== Usage ==
[https://devkitpro.org/wiki/Getting_Started dkp-pacman] 3ds-dev 3ds-libvorbisidec 3ds-libtheora.


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. The value can be any interger from 0-10 with 10 being the highest quality. The old 3ds has limited processing power so I do not recomment using 10, but any value between 0 and 7 should be fine. (4 is recommended) You can also just set the bitrate manually using the <code>-b:v</code> flag. (Somewhere around 500k is recomended) You can place your generated videos in the <code>/videos</code> directory on your sd card, if it doesn't exist, create it.
'''Compiling:'''


== Building ==
Once you complete Prerequsites, run <code>make</code>.
 
=== Prerequsites: ===
 
[https://devkitpro.org/wiki/Getting_Started dkp-pacman] 3ds-dev 3ds-libvorbisidec 3ds-libtheora


=== Compiling: ===
===Convert video===
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.


Once you complete Prerequsites, run <code>make</code>.
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).  


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


This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
==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.


# The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
[[Category:3DS homebrew application]]
# Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
[[Category:Homebrew media players on 3DS]]
# This notice may not be removed or altered from any source distribution.

Revision as of 02:25, 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.

User guide

Building

Prerequsites:

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

Compiling:

Once you complete Prerequsites, run make.

Convert video

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: