More actions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
| image = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic.jpeg|250px | | image = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic.jpeg|250px | ||
| type = Media players | | type = Media players | ||
| version = alpha | | version = alpha (31 Aug 2015) | ||
| licence = Mixed | | licence = Mixed | ||
| author = Lectem | | author = Lectem | ||
Line 11: | Line 11: | ||
}} | }} | ||
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. | ||
* DevkitArm | |||
* Latest ctrulib | ==Features== | ||
* ffmpeg compiled with the following instructions | * Video. | ||
* Copy the ffmpeg-configure3ds script in your ffmpeg source folder | * MPEG4, H.264. | ||
* Open a shell/command line in ffmpeg directory | * Hardware acceleration with Y2R for YUV -> RGB conversions. | ||
* Windows users please use <code>sh</code> before starting the script | |||
==Budiling== | |||
'''Requirements:''' | |||
* 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 | * ./ffmpeg-configure3ds | ||
* make install This will compile ffmpeg (with only a few features) with devkitArm and install it as a portlib | * 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 && cd cbuild</code> | * <code>mkdir cbuild && cd cbuild</code> | ||
* On *NIX <code>cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake ..</code> | ** On *NIX <code>cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake ..</code> | ||
* On Windows <code>cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake -G"Unix Makefiles" ..</code> | ** On Windows <code>cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake -G"Unix Makefiles" ..</code> | ||
* <code>make</code> More information on the [https://github.com/Lectem/3ds-cmake 3ds-cmake] repository. | * <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. | |||
==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. | |||
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. | |||
==Media== | |||
<youtube>zLbpzTPWRQY</youtube> | |||
== | ==External links== | ||
* | * GBAtemp, https://gbatemp.net/threads/release-3damnesic-a-poc-video-player.396184 | ||
Revision as of 05:13, 4 July 2021
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.
Features
- Video.
- MPEG4, H.264.
- Hardware acceleration with Y2R for YUV -> RGB conversions.
Budiling
Requirements:
- 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
sh
before starting the script.
- Windows users please use
- ./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
make
.
With CMake:
mkdir cbuild && cd cbuild
- On *NIX
cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake ..
- On Windows
cmake -DCMAKE_TOOLCHAIN_FILE=DevkitArm3DS.cmake -G"Unix Makefiles" ..
- On *NIX
make
More information on the 3ds-cmake repository.
At the moment, you have to specify the file path in the main.c file at compilation time.
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.
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.
Media