3DAmnesic 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = 3DAmnesic
|title=3DAmnesic
| image = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic.jpeg|250px
|image=3damnesic.png
| type = Media players
|description=(POC) Video player.
| version = alpha (31 Aug 2015)
|author=Lectem
| licence = Mixed
|lastupdated=2015/01/03
| author = Lectem
|type=Media Players
| website = https://github.com/Lectem/3Damnesic
|version=alpha
| download = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic-3DS.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/3damnesic.7z
| source = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic-3DS.rar
|website=https://github.com/Lectem/3Damnesic
|source=https://github.com/Lectem/3Damnesic
|licence=Mixed
}}
}}
3Damnesic is a proof of concept media player for 3DS using ffmpeg, capable of playing MPEG4 and H264 video (no sound).
3Damnesic is a proof of concept media player for 3DS using ffmpeg, capable of playing MPEG4 and H264 video (no sound).


Line 16: Line 17:


==Features==
==Features==
* Video.
* Video MPEG4, H.264.
* MPEG4, H.264.
* Hardware acceleration with Y2R for YUV -> RGB conversions.
* Hardware acceleration with Y2R for YUV -> RGB conversions.


==Building==
==Installation==
===Requirements===
Available in 3DSX/SMDH format.
* DevkitArm.
* Latest ctrulib.
* ffmpeg compiled with the following instructions.
 
===FFMPEG===
* Copy the ffmpeg-configure3ds script in your ffmpeg source folder.
* Open a shell/command line in ffmpeg directory.
** Windows users please use <code>sh</code> before starting the script.
* ./ffmpeg-configure3ds
* make install
 
This will compile ffmpeg (with only a few features) with devkitArm and install it as a portlib.
 
===3Damnesic===
'''With the Makefile:'''
* Simply use <code>make</code>.
 
'''With CMake:'''
* <code>mkdir cbuild &amp;&amp; cd cbuild</code>
** On *NIX <code>cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake ..</code>
** On Windows <code>cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake -G&quot;Unix Makefiles&quot; ..</code>
* <code>make</code>
More information on the [https://github.com/Lectem/3ds-cmake 3ds-cmake] repository.  


At the moment, you have to specify the file path in the main.c file at compilation time.
The video has to be named test.mp4 and be placed at the root of your SD card.


==User guide==
==User guide==
The file has to be named test.mp4 and be placed at the root of your SD card.
Use a video with dimensions multiple of 8 for best performance.
Use a video with dimensions multiple of 8 for best performance.


Line 57: Line 31:


This homebrew runs MPEG4 better than H.264 (H.264 is ~4 times slower). Some stats (video only, old 3DS):
This homebrew runs MPEG4 better than H.264 (H.264 is ~4 times slower). Some stats (video only, old 3DS):
* 400x240 mpeg4 -> 37fps.
*400x240 mpeg4 - 37fps.
* 400x240 h264 -> 16fps.
*400x240 h264 - 16fps.
 
==Media==
'''[3DS] H264 decoding 37fps - WIP''' ([https://www.youtube.com/watch?v=zLbpzTPWRQY Lectem]) <br>
<youtube>zLbpzTPWRQY</youtube>


==Known issues==
==Known issues==
Line 68: Line 38:


==External links==
==External links==
* GitHub - https://github.com/Lectem/3Damnesic
*GitHub - https://github.com/Lectem/3Damnesic
* GBAtemp - https://gbatemp.net/threads/release-3damnesic-a-poc-video-player.396184
*GBAtemp - https://gbatemp.net/threads/release-3damnesic-a-poc-video-player.396184
 
[[Category:3DS homebrew applications]]
[[Category:Homebrew media players on 3DS]]

Latest revision as of 06:25, 6 May 2024

3DAmnesic
3damnesic.png
General
AuthorLectem
TypeMedia Players
Versionalpha
Last Updated2015/01/03
Links
Download
Website
Source

3Damnesic is a proof of concept media player for 3DS using ffmpeg, capable of playing MPEG4 and H264 video (no sound).

The project is no longer in development (abandoned).

Features

  • Video MPEG4, H.264.
  • Hardware acceleration with Y2R for YUV -> RGB conversions.

Installation

Available in 3DSX/SMDH format.

The video has to be named test.mp4 and be placed at the root of your SD card.

User guide

Use a video with dimensions multiple of 8 for best performance.

Videos up to 1024x1024 are supported (but will not run fullspeed and only if width<800, if you set up the framebuffers to be using RGBA).

This homebrew runs MPEG4 better than H.264 (H.264 is ~4 times slower). Some stats (video only, old 3DS):

  • 400x240 mpeg4 - 37fps.
  • 400x240 h264 - 16fps.

Known issues

No sound.

External links

Advertising: