From cfe75a5f0a9bd6d6c4d09c0889a3428c724e040c Mon Sep 17 00:00:00 2001 From: HotPizzaYT <57576298+HotPizzaYT@users.noreply.github.com> Date: Tue, 21 Jun 2022 23:07:36 -0500 Subject: [PATCH 01/17] First commit of videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pages/_en-US/ds-index/videoplayers.md diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md new file mode 100644 index 00000000..4e1276a8 --- /dev/null +++ b/pages/_en-US/ds-index/videoplayers.md @@ -0,0 +1,50 @@ +# Homebrew Video Players for the Nintendo DSi +This page contains a list of working or WIP video players for the Nintendo DSi that explains how each works. + +Note: Actual max FPS is dependent on video content and length. + +|Player name |Supported containers/Codecs |Support |Drawbacks |Max FPS |Max resolution +|----------------|--------------------------------|----------------|-------------------------------------------|-----------|---------------| +|Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | +|Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | +|MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |20fps |256x144 | +|Rocket Video |`.rvid`, LZ77 |DSi and NDS |Dumps frames in an uncompressed format |up to 30fps|256x192 | + +There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. + +MPEG4Player is in progress and may be replaced with a new video format, **FastVideoDS**. RocketVideo is no longer being maintained. + +Warning: Converting large files in Rocket Video converter may cause you to loose your data as it writes uncompressed frames to the hard disk. This is why using Rocket Video is unrecommended. + +## Moonshell video conversion (DPG4x) + +WIP + +## TunaViDS Guide for DSi + +### Windows +First you want to grab your video of choice. It is recommended that your video be 4:3, but FFMpeg add black bars to the video if it isn't. + +Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. This guide assumes you have the latest build of TWiLight Menu++. + +Next, download FFMPeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. + +You should probably stay in the safe zone for converting videos (10-15fps), otherwise your video may crash your DSi. Slowdowns may occur on busy scenes (confetti, rain, etc). + +To use FFMpeg everywhere, it is recommended to add the directory to your system environment variable path. This may break programs which rely on FFMpeg, so make sure to remove the entry when you're done. + +Use this example code to convert your videos +``` +ffmpeg -i video.mp4 -vsync cfr -f avi -r 15 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -deinterlace -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" video-ds.avi +``` +where `video.mp4` is the filename of the video you want to convert. Feel free to mess around with some of the settings. Try changing `-b 192k` to `-b 320k` for optimal quality. + +When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your DSi, it will be ready for playback via TWiLight Menu++. + +The video will quit to the menu after it is done playing, so if you want to loop videos, you are going to have to paste-repeat it in a video editor then convert it to an xvid avi using this method. + +## MPEG4Player + +### Windows + +The process is the same for Tuna-ViDS, but with more steps. (WIP) From 96994d8fe5d55795b4c8a982a1c208edfeb70c9c Mon Sep 17 00:00:00 2001 From: HotPizzaYT <57576298+HotPizzaYT@users.noreply.github.com> Date: Tue, 21 Jun 2022 23:19:34 -0500 Subject: [PATCH 02/17] Fix typo "FFMPeg" to "FFMpeg" --- pages/_en-US/ds-index/videoplayers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 4e1276a8..07c1066e 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -27,7 +27,7 @@ First you want to grab your video of choice. It is recommended that your video b Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. This guide assumes you have the latest build of TWiLight Menu++. -Next, download FFMPeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. +Next, download FFMpeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. You should probably stay in the safe zone for converting videos (10-15fps), otherwise your video may crash your DSi. Slowdowns may occur on busy scenes (confetti, rain, etc). From 46c2154376722f2265a4f14ecec2a65ac321a65b Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 22:44:02 -0600 Subject: [PATCH 03/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 07c1066e..ff1b9cb5 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -5,10 +5,10 @@ Note: Actual max FPS is dependent on video content and length. |Player name |Supported containers/Codecs |Support |Drawbacks |Max FPS |Max resolution |----------------|--------------------------------|----------------|-------------------------------------------|-----------|---------------| -|Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | -|Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | -|MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |20fps |256x144 | -|Rocket Video |`.rvid`, LZ77 |DSi and NDS |Dumps frames in an uncompressed format |up to 30fps|256x192 | +|Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | +|Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | +|MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |20fps |256x144 | +|Rocket Video |`.rvid`, Raw/LZ77 |DSi and NDS |Dumps frames in an uncompressed format |up to 25fps (Progressive) or 50fps (Interlaced)|256x192 | There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. @@ -25,7 +25,7 @@ WIP ### Windows First you want to grab your video of choice. It is recommended that your video be 4:3, but FFMpeg add black bars to the video if it isn't. -Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. This guide assumes you have the latest build of TWiLight Menu++. +Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. This guide assumes you have the latest build of **TW**i**L**ight Menu++. Next, download FFMpeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. @@ -37,9 +37,12 @@ Use this example code to convert your videos ``` ffmpeg -i video.mp4 -vsync cfr -f avi -r 15 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -deinterlace -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" video-ds.avi ``` -where `video.mp4` is the filename of the video you want to convert. Feel free to mess around with some of the settings. Try changing `-b 192k` to `-b 320k` for optimal quality. +where `video.mp4` is the filename of the video you want to convert. Feel free to mess around with some of the settings. +- Try changing `-b 192k` to `-b 320k` for optimal quality, or (for DSi) `-b 512k` for the best quality available. +- Only use `-filter:a "volume=4"` if your video is a bit quiet. If the resulting video plays too loudly, please re-run the example code, but with `-filter:a "volume=4"` removed. +- If you're converting a 24fps video, change `-r 15` to `-r 12` to fix image jumping. -When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your DSi, it will be ready for playback via TWiLight Menu++. +When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your DSi, it will be ready for playback via **TW**i**L**ight Menu++. The video will quit to the menu after it is done playing, so if you want to loop videos, you are going to have to paste-repeat it in a video editor then convert it to an xvid avi using this method. @@ -47,4 +50,7 @@ The video will quit to the menu after it is done playing, so if you want to loop ### Windows -The process is the same for Tuna-ViDS, but with more steps. (WIP) +The process is the same for Tuna-ViDS, but you can have videos up to 20fps, and the example code is different. +``` +ffmpeg -i video.mp4 -f mp4 -vf "fps=24000/1001, colorspace=space=ycgco:primaries=bt709:trc=bt709:range=pc:iprimaries=bt709:iall=bt709, scale=256:144" -dst_range 1 -color_range 2 -vcodec mpeg4 -profile:v 0 -level 8 -q:v 2 -maxrate 500k -acodec aac -ar 32k -b:a 64000 -ac 1 -slices 1 -g 50 %2 +``` From fa6f19d5102db4eccf6fb5ea8b9f6bfc3d1a2a64 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 22:44:51 -0600 Subject: [PATCH 04/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index ff1b9cb5..a227af68 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -3,8 +3,8 @@ This page contains a list of working or WIP video players for the Nintendo DSi t Note: Actual max FPS is dependent on video content and length. -|Player name |Supported containers/Codecs |Support |Drawbacks |Max FPS |Max resolution -|----------------|--------------------------------|----------------|-------------------------------------------|-----------|---------------| +|Player name |Supported containers/Codecs |Support |Drawbacks |Max FPS |Max resolution +|----------------|--------------------------------|----------------|-------------------------------------------|-----------------------------------------------|---------------| |Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | |Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | |MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |20fps |256x144 | From d399cd0ad82b52fcc23866385e489883905d84ad Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 22:47:18 -0600 Subject: [PATCH 05/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index a227af68..55a4fe8e 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -7,7 +7,7 @@ Note: Actual max FPS is dependent on video content and length. |----------------|--------------------------------|----------------|-------------------------------------------|-----------------------------------------------|---------------| |Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | |Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | -|MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |20fps |256x144 | +|MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |24fps |256x144 | |Rocket Video |`.rvid`, Raw/LZ77 |DSi and NDS |Dumps frames in an uncompressed format |up to 25fps (Progressive) or 50fps (Interlaced)|256x192 | There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. @@ -50,7 +50,7 @@ The video will quit to the menu after it is done playing, so if you want to loop ### Windows -The process is the same for Tuna-ViDS, but you can have videos up to 20fps, and the example code is different. +The process is the same for Tuna-ViDS, but you can have videos up to 24fps, and the example code is different. ``` ffmpeg -i video.mp4 -f mp4 -vf "fps=24000/1001, colorspace=space=ycgco:primaries=bt709:trc=bt709:range=pc:iprimaries=bt709:iall=bt709, scale=256:144" -dst_range 1 -color_range 2 -vcodec mpeg4 -profile:v 0 -level 8 -q:v 2 -maxrate 500k -acodec aac -ar 32k -b:a 64000 -ac 1 -slices 1 -g 50 %2 ``` From dd7557df6fe151a48f2fa0d09b107e61a043e3cc Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 22:52:31 -0600 Subject: [PATCH 06/17] Apply suggestions from code review Co-authored-by: Pk11 --- pages/_en-US/ds-index/videoplayers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 55a4fe8e..68c6320f 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -23,15 +23,15 @@ WIP ## TunaViDS Guide for DSi ### Windows -First you want to grab your video of choice. It is recommended that your video be 4:3, but FFMpeg add black bars to the video if it isn't. +First you want to grab your video of choice. It is recommended that your video be 4:3, but FFmpeg add black bars to the video if it isn't. Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. This guide assumes you have the latest build of **TW**i**L**ight Menu++. -Next, download FFMpeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. +Next, download FFmpeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. You should probably stay in the safe zone for converting videos (10-15fps), otherwise your video may crash your DSi. Slowdowns may occur on busy scenes (confetti, rain, etc). -To use FFMpeg everywhere, it is recommended to add the directory to your system environment variable path. This may break programs which rely on FFMpeg, so make sure to remove the entry when you're done. +To use FFmpeg everywhere, it is recommended to add the directory to your system environment variable path. This may break programs which rely on FFmpeg, so make sure to remove the entry when you're done. Use this example code to convert your videos ``` From aa60b0c49687a26e8cad9d13db9fa3588084397a Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 22:55:11 -0600 Subject: [PATCH 07/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 68c6320f..562408c4 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -26,6 +26,7 @@ WIP First you want to grab your video of choice. It is recommended that your video be 4:3, but FFmpeg add black bars to the video if it isn't. Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. This guide assumes you have the latest build of **TW**i**L**ight Menu++. +{: .alert .alert-warning} Next, download FFmpeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. From b44db000a2365a55b99c2f9baaf430cd1fc8d3b0 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Wed, 22 Jun 2022 00:01:32 -0500 Subject: [PATCH 08/17] Add front matter --- pages/_en-US/ds-index/videoplayers.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 562408c4..ea785f59 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -1,3 +1,12 @@ +--- +lang: en-US +layout: wiki +section: ds-index +category: reference +title: Video Players +description: Homebrew Video Players for the Nintendo DS(i) +--- + # Homebrew Video Players for the Nintendo DSi This page contains a list of working or WIP video players for the Nintendo DSi that explains how each works. From fccc2edbc688baa90995811acd4ed08e045b5014 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Wed, 22 Jun 2022 00:03:20 -0500 Subject: [PATCH 09/17] Rework a couple part to be less DSi-centric These video players all work on DS and technically 3DS as well. --- pages/_en-US/ds-index/videoplayers.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index ea785f59..83b21dd3 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -7,8 +7,8 @@ title: Video Players description: Homebrew Video Players for the Nintendo DS(i) --- -# Homebrew Video Players for the Nintendo DSi -This page contains a list of working or WIP video players for the Nintendo DSi that explains how each works. +# Homebrew Video Players for the Nintendo DS(i) +This page contains a list of working or WIP video players for the Nintendo DS and DSi that explains how each works. Note: Actual max FPS is dependent on video content and length. @@ -29,7 +29,7 @@ Warning: Converting large files in Rocket Video converter may cause you to loose WIP -## TunaViDS Guide for DSi +## TunaViDS Guide ### Windows First you want to grab your video of choice. It is recommended that your video be 4:3, but FFmpeg add black bars to the video if it isn't. @@ -39,7 +39,7 @@ Warning: Do not change the ROM settings of Tuna-ViDS, it will not boot properly. Next, download FFmpeg from [this direct link](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) and extract it to C:\ffmpeg or somewhere you can access without admin rights. -You should probably stay in the safe zone for converting videos (10-15fps), otherwise your video may crash your DSi. Slowdowns may occur on busy scenes (confetti, rain, etc). +You should probably stay in the safe zone for converting videos (10-15fps), otherwise your video may crash your console. Slowdowns may occur on busy scenes (confetti, rain, etc). To use FFmpeg everywhere, it is recommended to add the directory to your system environment variable path. This may break programs which rely on FFmpeg, so make sure to remove the entry when you're done. @@ -52,7 +52,7 @@ where `video.mp4` is the filename of the video you want to convert. Feel free to - Only use `-filter:a "volume=4"` if your video is a bit quiet. If the resulting video plays too loudly, please re-run the example code, but with `-filter:a "volume=4"` removed. - If you're converting a 24fps video, change `-r 15` to `-r 12` to fix image jumping. -When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your DSi, it will be ready for playback via **TW**i**L**ight Menu++. +When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your SD card, it will be ready for playback via **TW**i**L**ight Menu++. The video will quit to the menu after it is done playing, so if you want to loop videos, you are going to have to paste-repeat it in a video editor then convert it to an xvid avi using this method. From 59edbbfae2fc52c42b62eeb8ab12c9d384ed14aa Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 23:22:38 -0600 Subject: [PATCH 10/17] Replace example code with .bat files --- assets/files/dsmp4.bat | 2 ++ assets/files/xvid-ds-vol4.bat | 1 + assets/files/xvid-ds.bat | 1 + assets/files/xvid-dsi-vol4.bat | 1 + assets/files/xvid-dsi.bat | 1 + pages/_en-US/ds-index/videoplayers.md | 21 +++++++++------------ 6 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 assets/files/dsmp4.bat create mode 100644 assets/files/xvid-ds-vol4.bat create mode 100644 assets/files/xvid-ds.bat create mode 100644 assets/files/xvid-dsi-vol4.bat create mode 100644 assets/files/xvid-dsi.bat diff --git a/assets/files/dsmp4.bat b/assets/files/dsmp4.bat new file mode 100644 index 00000000..48daf633 --- /dev/null +++ b/assets/files/dsmp4.bat @@ -0,0 +1,2 @@ +ffmpeg -i %1 -f mp4 -vf "fps=24000/1001, colorspace=space=ycgco:primaries=bt709:trc=bt709:range=pc:iprimaries=bt709:iall=bt709, scale=256:144" -dst_range 1 -color_range 2 -vcodec mpeg4 -profile:v 0 -level 8 -q:v 2 -maxrate 500k -acodec aac -ar 32k -b:a 64000 -ac 1 -slices 1 -g 50 %1_ds.mp4 +pause diff --git a/assets/files/xvid-ds-vol4.bat b/assets/files/xvid-ds-vol4.bat new file mode 100644 index 00000000..e95f5997 --- /dev/null +++ b/assets/files/xvid-ds-vol4.bat @@ -0,0 +1 @@ +ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" %1_ds.avi \ No newline at end of file diff --git a/assets/files/xvid-ds.bat b/assets/files/xvid-ds.bat new file mode 100644 index 00000000..10a8685a --- /dev/null +++ b/assets/files/xvid-ds.bat @@ -0,0 +1 @@ +ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 %1_ds.avi \ No newline at end of file diff --git a/assets/files/xvid-dsi-vol4.bat b/assets/files/xvid-dsi-vol4.bat new file mode 100644 index 00000000..13a5d92b --- /dev/null +++ b/assets/files/xvid-dsi-vol4.bat @@ -0,0 +1 @@ +ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 512k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" %1_dsi.avi \ No newline at end of file diff --git a/assets/files/xvid-dsi.bat b/assets/files/xvid-dsi.bat new file mode 100644 index 00000000..fc08064f --- /dev/null +++ b/assets/files/xvid-dsi.bat @@ -0,0 +1 @@ +ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 512k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 %1_dsi.avi \ No newline at end of file diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 83b21dd3..c1e29f66 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -43,14 +43,13 @@ You should probably stay in the safe zone for converting videos (10-15fps), othe To use FFmpeg everywhere, it is recommended to add the directory to your system environment variable path. This may break programs which rely on FFmpeg, so make sure to remove the entry when you're done. -Use this example code to convert your videos -``` -ffmpeg -i video.mp4 -vsync cfr -f avi -r 15 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -deinterlace -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" video-ds.avi -``` -where `video.mp4` is the filename of the video you want to convert. Feel free to mess around with some of the settings. -- Try changing `-b 192k` to `-b 320k` for optimal quality, or (for DSi) `-b 512k` for the best quality available. -- Only use `-filter:a "volume=4"` if your video is a bit quiet. If the resulting video plays too loudly, please re-run the example code, but with `-filter:a "volume=4"` removed. -- If you're converting a 24fps video, change `-r 15` to `-r 12` to fix image jumping. +Drag and drop your video into one of these batch files to convert your videos +- [xvid-ds.bat](/assets/files/xvid-ds.bat): Converts to 12FPS video optimal for DS consoles +- [xvid-dsi.bat](/assets/files/xvid-dsi.bat): Converts to 12FPS video optimal for DSi consoles +- [xvid-ds-vol4.bat](/assets/files/xvid-ds-vol4.bat): Converts to 12FPS video optimal for DS consoles with 400% volume increase +- [xvid-dsi-vol4.bat](/assets/files/xvid-dsi-vol4.bat): Converts to 12FPS video optimal for DSi consoles with 400% volume increase + +You can change `12` in `-r 12` to a different one between `10` and `15`. When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your SD card, it will be ready for playback via **TW**i**L**ight Menu++. @@ -60,7 +59,5 @@ The video will quit to the menu after it is done playing, so if you want to loop ### Windows -The process is the same for Tuna-ViDS, but you can have videos up to 24fps, and the example code is different. -``` -ffmpeg -i video.mp4 -f mp4 -vf "fps=24000/1001, colorspace=space=ycgco:primaries=bt709:trc=bt709:range=pc:iprimaries=bt709:iall=bt709, scale=256:144" -dst_range 1 -color_range 2 -vcodec mpeg4 -profile:v 0 -level 8 -q:v 2 -maxrate 500k -acodec aac -ar 32k -b:a 64000 -ac 1 -slices 1 -g 50 %2 -``` +The process is the same for Tuna-ViDS, but you can have videos up to 24fps. +- [dsmp4.bat](/assets/files/dsmp4.bat) From 27eb4ee81b55c9220825918d8117d9df89fee7c3 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 23:28:09 -0600 Subject: [PATCH 11/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index c1e29f66..1ff39fec 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -49,7 +49,9 @@ Drag and drop your video into one of these batch files to convert your videos - [xvid-ds-vol4.bat](/assets/files/xvid-ds-vol4.bat): Converts to 12FPS video optimal for DS consoles with 400% volume increase - [xvid-dsi-vol4.bat](/assets/files/xvid-dsi-vol4.bat): Converts to 12FPS video optimal for DSi consoles with 400% volume increase -You can change `12` in `-r 12` to a different one between `10` and `15`. +If you want, you can change the following in one of the above .bat files: +- `12` in `-r 12` to a different one between `10` and `15` for a different frame rate +- For DS consoles: `-b 192k` to `-b 320k` for optimal quality When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your SD card, it will be ready for playback via **TW**i**L**ight Menu++. From b2802c0fcff9dff83a6fdf261db2ccb7c3e80f1f Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 23:33:59 -0600 Subject: [PATCH 12/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 1ff39fec..65731049 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -17,7 +17,7 @@ Note: Actual max FPS is dependent on video content and length. |Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | |Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | |MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |24fps |256x144 | -|Rocket Video |`.rvid`, Raw/LZ77 |DSi and NDS |Dumps frames in an uncompressed format |up to 25fps (Progressive) or 50fps (Interlaced)|256x192 | +|Rocket Video |`.rvid`, Raw/LZ77 |DSi and NDS |Dumps frames in an uncompressed format. |up to 25fps (Progressive) or 50fps (Interlaced)|256x192 | There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. From d739f085b20207b629e479a2aad48ab38ef45395 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 21 Jun 2022 23:37:03 -0600 Subject: [PATCH 13/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 65731049..f774c156 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -43,7 +43,7 @@ You should probably stay in the safe zone for converting videos (10-15fps), othe To use FFmpeg everywhere, it is recommended to add the directory to your system environment variable path. This may break programs which rely on FFmpeg, so make sure to remove the entry when you're done. -Drag and drop your video into one of these batch files to convert your videos +Drag and drop your video into one of these batch files to convert it: - [xvid-ds.bat](/assets/files/xvid-ds.bat): Converts to 12FPS video optimal for DS consoles - [xvid-dsi.bat](/assets/files/xvid-dsi.bat): Converts to 12FPS video optimal for DSi consoles - [xvid-ds-vol4.bat](/assets/files/xvid-ds-vol4.bat): Converts to 12FPS video optimal for DS consoles with 400% volume increase From 91288e9c8b275bad07ad88cdb59fec62c93437ac Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Wed, 22 Jun 2022 03:59:48 -0600 Subject: [PATCH 14/17] Add Moonshell video conversion (DPG4x) steps --- pages/_en-US/ds-index/videoplayers.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index f774c156..a4f0ef67 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -27,7 +27,25 @@ Warning: Converting large files in Rocket Video converter may cause you to loose ## Moonshell video conversion (DPG4x) -WIP +1. Download DPG4x [here](https://www.gamebrew.org/wiki/DPG4X) +1. Open `dpg4x.7z` +1. Open `dpg4x-2.3.3.0.zip` (3.0-1 gives out an error when opening, for an unknown reason) +1. Open `dpg4x-2.3.3.0_setup.exe`, and proceed with installation +1. After installation, open DPG4X +1. Click the `VIDEO` tab +1. Tick the `Keep Aspect` option +1. Set `Video Bitrate` to your choice (higher should improve quality) +1. Click the `AUDIO` tab +1. Tick `Normalize Volume`, if your video is a bit quiet +1. Click the `SUBTITLES` tab +1. Set `Subtitles Source` to `Disable Subtitles`, as certain subtitle tracks may not display correctly +1. Click the `MAIN` tab +1. Click `Add Media` to open your video file(s) +1. Set `DPG Version` to `4`, if you're using Moonshell v2.x, otherwise set to `3` or below +1. Set `Quality` to your choice +1. Click `Start Encoding` to convert the video(s) + +When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your SD card, it will be ready for playback via Moonshell. ## TunaViDS Guide From c092ea1f34000da468a4dc7fc9265b51e820bbbd Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Wed, 22 Jun 2022 08:35:28 -0700 Subject: [PATCH 15/17] videoplayers: x264 -> h.264 --- pages/_en-US/ds-index/videoplayers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index a4f0ef67..47aed261 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -16,7 +16,7 @@ Note: Actual max FPS is dependent on video content and length. |----------------|--------------------------------|----------------|-------------------------------------------|-----------------------------------------------|---------------| |Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | |Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | -|MPEG4Player |`.mp4`, x264 |DSi and NDS |Can only play short videos. |24fps |256x144 | +|MPEG4Player |`.mp4`, H.264 |DSi and NDS |Can only play short videos. |24fps |256x144 | |Rocket Video |`.rvid`, Raw/LZ77 |DSi and NDS |Dumps frames in an uncompressed format. |up to 25fps (Progressive) or 50fps (Interlaced)|256x192 | There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. From 098db64bf9e0eb3d5f92f3fb05bdf74df4fa7bf9 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Wed, 22 Jun 2022 12:55:54 -0600 Subject: [PATCH 16/17] Use `-b 320k` in `xvid-ds.bat` by default --- assets/files/xvid-ds-vol4.bat | 2 +- assets/files/xvid-ds.bat | 2 +- pages/_en-US/ds-index/videoplayers.md | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/assets/files/xvid-ds-vol4.bat b/assets/files/xvid-ds-vol4.bat index e95f5997..37bd2def 100644 --- a/assets/files/xvid-ds-vol4.bat +++ b/assets/files/xvid-ds-vol4.bat @@ -1 +1 @@ -ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" %1_ds.avi \ No newline at end of file +ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 320k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 -filter:a "volume=4" %1_ds.avi \ No newline at end of file diff --git a/assets/files/xvid-ds.bat b/assets/files/xvid-ds.bat index 10a8685a..6f7f5579 100644 --- a/assets/files/xvid-ds.bat +++ b/assets/files/xvid-ds.bat @@ -1 +1 @@ -ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 192k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 %1_ds.avi \ No newline at end of file +ffmpeg -i %1 -f avi -r 12 -vf "scale=256:-2" -b 320k -bt 64k -vcodec libxvid -acodec libmp3lame -ar 32000 -ab 96k -ac 2 %1_ds.avi \ No newline at end of file diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index 47aed261..b9862464 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -16,7 +16,7 @@ Note: Actual max FPS is dependent on video content and length. |----------------|--------------------------------|----------------|-------------------------------------------|-----------------------------------------------|---------------| |Moonshell |`.dpg`, MPEG1 |Flashcards only |Requires a flashcard to play videos. |24fps |256x192 | |Tuna-ViDS |`.avi`, XVid |DSi and NDS |Can only reach a certain framerate/bitrate.|15fps |256x192 | -|MPEG4Player |`.mp4`, H.264 |DSi and NDS |Can only play short videos. |24fps |256x144 | +|MPEG4Player |`.mp4`, H.264 |DSi and NDS |Can only play short videos. |24fps |256x144 | |Rocket Video |`.rvid`, Raw/LZ77 |DSi and NDS |Dumps frames in an uncompressed format. |up to 25fps (Progressive) or 50fps (Interlaced)|256x192 | There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. @@ -69,7 +69,6 @@ Drag and drop your video into one of these batch files to convert it: If you want, you can change the following in one of the above .bat files: - `12` in `-r 12` to a different one between `10` and `15` for a different frame rate -- For DS consoles: `-b 192k` to `-b 320k` for optimal quality When this process is done, it should be easy as drag and drop to SD card. Once you put the video on your SD card, it will be ready for playback via **TW**i**L**ight Menu++. From 670db6c2b91b4aff9a1e626a7a7c1278079a3a65 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Wed, 22 Jun 2022 14:56:24 -0600 Subject: [PATCH 17/17] Update videoplayers.md --- pages/_en-US/ds-index/videoplayers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_en-US/ds-index/videoplayers.md b/pages/_en-US/ds-index/videoplayers.md index b9862464..8d934ad8 100644 --- a/pages/_en-US/ds-index/videoplayers.md +++ b/pages/_en-US/ds-index/videoplayers.md @@ -21,7 +21,7 @@ Note: Actual max FPS is dependent on video content and length. There are lots of players to choose from. Moonshell is the first on the list because it should be the first thing that comes to mind when playing videos on NDS. However, it requires the user to have a flashcard. -MPEG4Player is in progress and may be replaced with a new video format, **FastVideoDS**. RocketVideo is no longer being maintained. +MPEG4Player is outdated and may be replaced with a new video format, **FastVideoDS**. RocketVideo is no longer being maintained. Warning: Converting large files in Rocket Video converter may cause you to loose your data as it writes uncompressed frames to the hard disk. This is why using Rocket Video is unrecommended.