Homebrew [Release] 3DAmnesic, a POC video player

Bedel

The key of the blade
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,836
Country
United States
Hey an elf file, I'll have fun converting that to cia tomarrow.
See if it works!

--------------------- MERGED ---------------------------

Btw, do video files store the fps that it should be played at or is it the player's decision?
It's said in the main post. I just try to go as fast as it can ever (faster than it should, or slower)
 

Dr.Hacknik

Ashley | Developer | Trans
Member
Joined
Mar 26, 2014
Messages
1,773
Trophies
1
Age
24
Location
inside your fridge
Website
dochacknik.keybase.pub
XP
2,219
Country
United States
Nice, you Should strip down VLC (Since there is a ARM based Source), you could use that. It has MPEG4 MPEG3 and Some other Mentions: 3GP, ASF, AVI, DVR-MS, FLV, Matroska (MKV), MIDI, QuickTime File Format, MP4, Ogg, OGM, WAV, MPEG-2 (ES, PS, TS, PVA, MP3), AIFF, Raw audio, Raw DV, MXF, VOB, RM, DVD-Video, VCD, SVCD, CD Audio, DVB. ARM BASED VLC: http://www.videolan.org/vlc/download-sources.html or you Could use the Source Libs.

Note: The only Arm Based builds are for Android, but you can still use them. There Armv6 and Armv7, as well as some BETA Versions of Arm8/9/10/11. The 3DS Use's: Dual-Core ARM11 MPCore, single-core ARM9.
 
Last edited by Dr.Hacknik,
  • Like
Reactions: Bedel

weegee721

Well-Known Member
Newcomer
Joined
Jan 12, 2016
Messages
55
Trophies
0
Location
'merca
XP
163
Country
United States
Made a CIA (cause I'm board) and it works fine!
svi8vLH.png
 

Attachments

  • 3damnesic CIA.zip
    1.1 MB · Views: 540
  • Like
Reactions: MattKimura

Blundermann

Well-Known Member
Member
Joined
Oct 15, 2013
Messages
174
Trophies
0
XP
410
Country
United States
Excellent work. I wonder if you could install it as a CIA with embedded videos?

EDIT: I mean, where the video is installed alongside the CIA and it isn't just pointing to a video on the SD.
 
Last edited by Blundermann,

weegee721

Well-Known Member
Newcomer
Joined
Jan 12, 2016
Messages
55
Trophies
0
Location
'merca
XP
163
Country
United States
I think you could inject a video kinda like how you can inject a GBA rom into Virtual Console, But I'm not a developer. :/

That requires a thread in itself (if there hasn't been one already)
 

Bedel

The key of the blade
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,836
Country
United States
Nice, you Should strip down VLC (Since there is a ARM based Source), you could use that. It has MPEG4 MPEG3 and Some other Mentions: 3GP, ASF, AVI, DVR-MS, FLV, Matroska (MKV), MIDI, QuickTime File Format, MP4, Ogg, OGM, WAV, MPEG-2 (ES, PS, TS, PVA, MP3), AIFF, Raw audio, Raw DV, MXF, VOB, RM, DVD-Video, VCD, SVCD, CD Audio, DVB. ARM BASED VLC: http://www.videolan.org/vlc/download-sources.html or you Could use the Source Libs.

Note: The only Arm Based builds are for Android, but you can still use them. There Armv6 and Armv7, as well as some BETA Versions of Arm8/9/10/11. The 3DS Use's: Dual-Core ARM11 MPCore, single-core ARM9.
So you think it is possible to use something like VLC as long as it has kernel right? Maybe the .cia version could do it
 

Dr.Hacknik

Ashley | Developer | Trans
Member
Joined
Mar 26, 2014
Messages
1,773
Trophies
1
Age
24
Location
inside your fridge
Website
dochacknik.keybase.pub
XP
2,219
Country
United States
So you think it is possible to use something like VLC as long as it has kernel right? Maybe the .cia version could do it
Totally, the 3DS Photo App is able to Decode and play .AVI files, which aren't even compressed! So playing .mp4 or .flv files for Example, would be way better! Since there actually compressed, and overall better quality. So, yes it' totally possible, and the best part is that VLC is Open-Source!
 

Bedel

The key of the blade
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,836
Country
United States
Totally, the 3DS Photo App is able to Decode and play .AVI files, which aren't even compressed! So playing .mp4 or .flv files for Example, would be way better! Since there actually compressed, and overall better quality. So, yes it' totally possible, and the best part is that VLC is Open-Source!
So we just need someone to do it... I'm actually in the first grade of sofware engineering and don't feel able to do it... What a shame
 

Lectem

Active Member
OP
Newcomer
Joined
Nov 21, 2014
Messages
43
Trophies
0
Age
30
XP
135
Country
France
Hey an elf file, I'll have fun converting that to cia tomarrow.
See if it works!

--------------------- MERGED ---------------------------

Btw, do video files store the fps that it should be played at or is it the player's decision?

Most of the files format do, but it's not taken into account by the player

--------------------- MERGED ---------------------------

Nice, you Should strip down VLC (Since there is a ARM based Source), you could use that. It has MPEG4 MPEG3 and Some other Mentions: 3GP, ASF, AVI, DVR-MS, FLV, Matroska (MKV), MIDI, QuickTime File Format, MP4, Ogg, OGM, WAV, MPEG-2 (ES, PS, TS, PVA, MP3), AIFF, Raw audio, Raw DV, MXF, VOB, RM, DVD-Video, VCD, SVCD, CD Audio, DVB. ARM BASED VLC: http://www.videolan.org/vlc/download-sources.html or you Could use the Source Libs.

Note: The only Arm Based builds are for Android, but you can still use them. There Armv6 and Armv7, as well as some BETA Versions of Arm8/9/10/11. The 3DS Use's: Dual-Core ARM11 MPCore, single-core ARM9.

Porting VLC to 3DS is far from being an easy thing, mainly because it has a LOT of dependencies, including a good multithreading OS.
However ffmpeg does support all those formats, the main problem is simply performance.
 

Dr.Hacknik

Ashley | Developer | Trans
Member
Joined
Mar 26, 2014
Messages
1,773
Trophies
1
Age
24
Location
inside your fridge
Website
dochacknik.keybase.pub
XP
2,219
Country
United States
Porting VLC to 3DS is far from being an easy thing, mainly because it has a LOT of dependencies, including a good multithreading OS.
However ffmpeg does support all those formats, the main problem is simply performance.
True, true. It was just a Suggestion. But, it is possible!
 

raystriker

The powers that be
Member
Joined
Dec 28, 2011
Messages
1,528
Trophies
1
XP
2,607
Country
India
The only problem with the 3ds that it isn't powerful enough. AFAIK, a compressed video needs to be decoded, hence the photos app manages to run AVI videos because they're uncompressed, hence no serious decoding needed. True, the 3ds might be able to play h.264 videos with sound one day, but that will take a lot of coding and optimization and time, also the res would be pretty much restricted to 400x240. Either way you'd have to convert videos to view them.
Maybe someday we could harness the DMP Pica for video acceleration.
 
Last edited by raystriker,

TecXero

Technovert
Member
Joined
Apr 13, 2014
Messages
2,810
Trophies
0
Location
Mainframe
XP
1,040
Country
United States
The only problem with the 3ds that it isn't powerful enough. AFAIK, a compressed video needs to be decoded, hence the photos app manages to run AVI videos because they're uncompressed, hence no serious decoding needed. True, the 3ds might be able to play h.264 videos with sound one day, but that will take a lot of coding and optimization and time, also the res would be pretty restricted to 400x240. Either way you'd have to convert videos to view them.
Maybe someday we could harness the DMP Pica for video acceleration.
Agreed. H.264 with any significant compression would be a bit unrealistic. VP8 would be in the same boat. Maybe with only light compression, but I think if someone wanted to make a decent video player, they should focus on uncompressed video first. Maybe start with mpeg-2 or something like that. For 3D video, I doubt any compression will ever be realistic.
 

raystriker

The powers that be
Member
Joined
Dec 28, 2011
Messages
1,528
Trophies
1
XP
2,607
Country
India
Agreed. H.264 with any significant compression would be a bit unrealistic. VP8 would be in the same boat. Maybe with only light compression, but I think if someone wanted to make a decent video player, they should focus on uncompressed video first. Maybe start with mpeg-2 or something like that. For 3D video, I doubt any compression will ever be realistic.
True, if anyone plans to work on this, they should probably start with lower codecs and then work their way up, if at all.

This is a little unrelated, but after my exams finish in march, I plan to seriously study the the 3ds and try to use a raspberry pi to process video and simply stream them to the 3ds. I don't know if its possible, but I'll try it over the summer.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Maximumbeans @ Maximumbeans: butte