core-2-extreme / video_player_for_3ds Goto Github PK
View Code? Open in Web Editor NEWVideo player for 3ds
Home Page: https://gbatemp.net/threads/release-video-player-for-3ds.586094
License: GNU General Public License v3.0
Video player for 3ds
Home Page: https://gbatemp.net/threads/release-video-player-for-3ds.586094
License: GNU General Public License v3.0
Is the ScreenRecording will be working soon ? Thx in Advance.
I used ffmpeg to convert video to a suitable format that I thought would run well on the 3ds but first I did not get any audio and second the entire player froze after 3 seconds of playback and would not respond. This issue could be reproduced by restarting the 3ds and selecting the same mp4 file again.
ffmpeg commands used (in this order):
ffmpeg -i "$HOME/Video/BigBuckBunny720p30.mp4" -profile:v baseline -preset fast -vf scale=120:72 -vcodec libx264 -vcodec libx264 -crf 24 -acodec aac -b:a 64K "/tmp/tmp-bbb.mp4"
ffmpeg -i "/tmp/tmp-bbb.mp4" -filter:v fps=15 "/mnt/3DS/Video_player/bbb.mp4"
Workarounds : turn multi-threaded decoding off
(Press Y in video player -> tap on bottom middle tab -> tap on use multi-threaded decoding)
When I open the app, The brightness (luminance) sets to 100. I don't know if this is a bug or a feature, but it is pretty annoying since I like my screen brightness at 16
There is no way to screen record anything outside the video player for 3ds app
The video player works fine with videos that aren't too long, but there's one that I downloaded which is 51 minuets, and it can't open it and it gives me an error in message which is provided in the attachment. is there any way to fix this?
2022_02_03_22_51_35.txt
Current implementation repeats reading a single frame and trying to decode it alone, but decoding a B-frame requires some frames after it.
As a result, avcodec_receive_frame() returns AVERROR(EAGAIN) (refer to https://ffmpeg.org/doxygen/3.4/group__lavc__decoding.html#ga11e6542c4e66d3028668788a1a74217c).
The actual behavior of the app is a complete freeze. This might be another issue because I think it is better to show an error message and stop playing.
If you download a random youtube video with youtube-dl -f 160 [link]
, it probably contains B-frames, so you can test with it.
I will work on this issue and open a PR if that's not a problem for you.
After the New update i opened up the player selected a video. And after 3 seconds it froze. Is there anything i can do?
The player failed to get current audio position and resulted in wrong playback speed in some videos.
How do I select a video?
Nvm I'm an actual idiot
it would be handy to just allow people to play SBS video without having to do the splitting first. even if you can only have files under 4GB, it should be permitted
I use the arrow keys and L/R, but nothing happened.
There seems to be no such problem in previous versions.
Please add subtitle support for VobSub (zlib) encoded subtitles.
The video player turns wireless on again if it was disabled before launching the player.
VP9 is the predecessor of AV1. It is used for a lot of videos on the web, and is YouTube's main codec.
Hi, just wondering if there's a chance we could control the screen brightness by using some key like the d-pad up/down when in full screen mode. It would be wonderful instead of going to the settings to adjust it.
Thanks a lot for this homebrew!!
The screen capture feature doesn't work at all. It crashes upon pressing either of the 3 options. I might be unaware that it doesn't do anything and is probably an experimental feature.
Alright, so i took an H265 10bit anime episode and transcoded it so that it would be easier to play back by my O3DS XL.
ffmpeg -i episode.mkv -c:v scale=400:240, libx264 -preset placebo -t 20 output1.mp4
(scale to 400x240, use H264 preset placebo and only include the first 20 seconds)
But when i try to play it back, the application throws an exception and the console crashes.
(had to zip the dump because github doesnt like .dmp files)
crash_dump_00000023.zip
the video
output1.zip
Hi, this is a great app!
Just a couple of suggestions:
Thanks and keep up the good work!
Old 2DS doesn't support doubled resolution mode, so the top screen would look like the image below with the feature enabled.
This option should be grayed out in the settings menu on old 2DSes.
New 2DS seems to support it for some reason. (refer to https://libctru.devkitpro.org/gfx_8h.html#a1ffe33f6b3e9a61ee916997fc6cf6ace)
When playing a video in full screen, the bottom backlight turns off. This is fine on all models except for the 2DS which only has one backlight. Doing this on the 2ds just makes the screen completely black except under very bright light.
A simple fix is to detect 2ds hardware and not turn off the backlight in such cases
Can be found here: https://apps.fortheusers.org/3ds
For submitted, seems the usual process is not recommended, like here: https://submit.fortheusers.org/
For 3DS homebrew apps, they want PRs here instead: https://github.com/CrafterPika/3ds-homebrew
Can Video Player be added to Universal-DB?
The UniversalDB site is here (https://db.universal-team.net/)
The app request form can be found here: (https://github.com/Universal-Team/db/issues/new?assignees=&labels=app+request&template=app-request.md)
The title really explains it but it would be nice if the screen record feature could record the screen after the application is closed and then whenever you go back into it you can end the recording and then send it to something like a laptop for editing and posting to something like YouTube. Would this be possible? I was thinking something like NTR CFW does...
ffmpeg -i {input} -c:v h264_nvenc -preset slow -c:a libfdk_aac -b:a 256K -af "volume=4" -bf 0 -g 48 -ac 2 {output.mkv}
The above command line will work. Seeking via the touch screen actually works and is way faster than when the container is .mp4
.
The real issue here is that using the D-Pad doesn't work correctly. Going back actually goes forward and it seems to jump to a farther point as the video progresses. It only seems to work at the very first minutes of a video file.
The seeking issue doesn't happen on .mp4 files produced with the same command line but of course, changing the output container to .mp4.
i get an error when i try to play an mpg file i took from a dvd, mpeg2 and ac3 audio codec should be supported, mpeg4/xvid files work fine
i'm using old 3ds
After your latest fix I managed to compile this on my Mac however both the 3dsx and the cia versions crash on my N2DSXL with latest firmware and Luma.
i have videos that have 2 audio tracks and the player defaults to the track i don't want and i am unable to change it
When i installed the newest update, when wanting to play a video, i could not scroll through the files, there was only the (move to parent directory) (dir), by clicking this option, there was only Unknown directories.
Here`s a video of the error:
https://youtu.be/UnuujgYw8sE
EDIT:
when looking in the logs it says:
[Expl/Read dir thread] Util_file_read_dir()...[Error]Out of memory. 0xfffffffe
the software keep saying processing while the video is playing. And while it´s playing it´s keep stopping an going and it is annoying. so can some one find the problem and try to fix it probably try to get a better update
Title says it all
make it so you can bundle the player into a cia file with a video file like you can with virtual console games (but with games). they have methods to do so already however they both use their own video codecs that are not as good as h264 and h265.
Cant seem to figure out where to place Video Files
/bin/sh: -c: line 1: syntax error near unexpected token (' /bin/sh: -c: line 1:
mkdir -p (1)/Video_player_for_3DS-main/build'
make: *** [Makefile:232: (1)/Video_player_for_3DS-main/build] Error 2
Press any key to rebuild.
I tried the homebrew on Citra (3DS emulator) and it only got me a black screen.
I wonder if you can make a Citra-optimised version on your program or if Citra developers need to patch it up for your homebrew to function?
Since this apparently supports videos around 800px horizontally, it would be great if this has 800px mode implemented, in order to achieve a high image quality.
i tried this on my new 2ds xl (i know that it can't play 3d videos) with a 3 seconds side by side video. maybe the video is too short?
I would really love to help you in this project (sorry if I write it in issues but I don't know where to say it otherwise) I made a logo for your app and would also love to make a banner for you. Do you have a discord or something?
My logo here
https://www.dropbox.com/s/uyobhpx80hvvf2i/logomadebyme.png?dl=0
Hi,
I know the hardware decoder is in beta. It does seem it is able to provide better and accurate colors like better blacks and overall details. The problem is that the audio/video is not synched and every few seconds, the graph from the Y button reports a spike that causes the video to sync/desync/skip frame? Not really sure how to describe it. This issue does not happen on the software decoder.
Right now my solution is to encode videos to 240p and use the software decoder which plays it smoothly. However, the hardware decoder seem to do a better job at handling colors but with this tiny issue.
Not sure how easy it is to fix it, but wanted to let you know.
This is the command line I'm using to encode my videos using ffmpeg:
ffmpeg -c:v h264_cuvid -i {h264_input_video} -c:v h264_nvenc -preset slow -c:a libfdk_aac -b:v 1M -b:a 256K -ac 2 -vf scale=-1:240 {h264_output_video}
ffmpeg -i {input} -c:v h264_nvenc -preset slow -c:a libfdk_aac -b:a 256K -af "volume=4" -bf 0 -g 48 -ac 2 {output}
At lease using ffmpeg, by default it will encode all audio channels unless the -ac 2
argument is passed to encode the audio as a stereo track. If I forget to use it, the resulting video file will play without audio.
Not sure if it's a bug or if the player expects it to be a stereo track, in which case, please ignore this. Just posting about this finding.
i dont know where to put on sd card
Messages like "seeking" or "processing video" don't show up for both eyes (they appears only to the left eye) and are hard to read when LCD 3D mode is enabled.
I'm leaving for a trip in a few hours so I copied over a bunch of stuff to watch using the Windows robocopy tool and for some reason the app won't enter the directory
It just says
Summary: FFMPEG returned NOT success
Description: av_format_open_input() failed. -2
Place: Vid/Decode thread
Error code: 0xfffffffa
Version is 1.5.0 and I'm using Windows 10 if that matters
When you tap on the bottom screen to reactivate a menu or to jump seek via the UI slider the screen does not go away again and stays lit. It would be nice if it timed out or had a button that could make it go away so you don't have it interfering with the video.
I found the file to the video, but when i click a on it it tells me
Error Out of linear memory
Description:
Place:
Vid\Decode Thread
Error code:
0xfffffffd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.