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

3DAmnesic 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = 3DAmnesic | image = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic.jpeg|250px | type = Media players | version = alpha | licence = Mixed | au...")
 
No edit summary
Line 10: Line 10:
| source = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic-3DS.rar
| source = https://dlhb.gamebrew.org/3dshomebrew/3DAmnesic-3DS.rar
}}
}}
<youtube></youtube>


#3Damnesic A Work In Progress media player for 3ds using ffmpeg ! #Requirements
=3Damnesic=
A Work In Progress media player for 3ds using ffmpeg!
 
==Requirements==
* DevkitArm
* DevkitArm
* Latest ctrulib
* Latest ctrulib
Line 20: Line 22:
* Windows users please use <code>sh</code> before starting the script
* 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 ##3Damnesic ###With the Makefile Simply use <code>make</code>. ###With CMake
* 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>
* <code>mkdir cbuild &amp;&amp; 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&quot;Unix Makefiles&quot; ..</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. #Usage At the moment, you have to specify the file path in the main.c file at compilation time.
* <code>make</code> More information on the [https://github.com/Lectem/3ds-cmake 3ds-cmake] repository.  
= Features =
 
Usage At the moment, you have to specify the file path in the main.c file at compilation time.
 
== Features ==
* Video
* Video
* MPEG4, H.264
* MPEG4, H.264

Revision as of 13:47, 25 April 2020

Template:Infobox 3DS homebrew

3Damnesic

A Work In Progress media player for 3ds using ffmpeg!

Requirements

  • DevkitArm
  • Latest ctrulib
  • ffmpeg compiled with the following instructions #Building ##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
  • ./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" ..
  • make More information on the 3ds-cmake repository.

Usage At the moment, you have to specify the file path in the main.c file at compilation time.

Features

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

TODO

  • Audio
  • Sync and time adjustment
  • File Browser and Menu
  • Subtitles
  • More formats and track selection
  • Use the MVD service for the new3ds #Random informations Use a video with dimensions multiple of 8 for best performance ! Videos up to 1024x1024 are supported (but eh, that won't run fullspeed you know)
  • Actually only if width < 800 if you set up the framebuffers to be using RGBA Prefer simple MPEG4 to H.264 ! (H.264 is ~4 times slower)

Some stats (video only, old 3ds) :

  • 400x240 mpeg4 -> 37fps
  • 400x240 h264 -> 16fps The new3ds is way faster

Advertising: