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

Vita Recorder: Difference between revisions

From GameBrew
m (Text replacement - "GameBrew!" to "GameBrew")
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title_mode=append
|title_mode=append
|image=vitarecordervita.jpg
|image=vitarecorder2.png
|image_alt=Vita Recorder
|image_alt=Vita Recorder
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=Vita Recorder
|title=Vita Recorder
|image=vitarecordervita.jpg
|image=vitarecorder2.png
|description=Clips recorder for PSVITA.
|description=Clips recorder for PS Vita.
|author=Rinnegatamante
|author=Rinnegatamante
|lastupdated=2021/04/22
|lastupdated=2021/04/22
Line 14: Line 14:
|version=0.1.1
|version=0.1.1
|license=GPL-3.0
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/vitahomebrews/vitarecordervita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/vitarecorder.7z
|website=https://kyuhen.customprotocol.com/en/submissions/vita_recorder/
|website=https://kyuhen.customprotocol.com/en/submissions/vita_recorder/
|source=https://github.com/Rinnegatamante/Vita-Recorder
|source=https://github.com/Rinnegatamante/Vita-Recorder
|donation=https://www.patreon.com/Rinnegatamante
}}
}}
'''Vita Recorder''' is a plugin that allows to record video clips during your play sessions.
Vita Recorder is a plugin that allows to record video clips during your play sessions.


The code is based off VITA2PC at which has been applied improvements and the streaming feature has been replaced with file recording.
The code is based off VITA2PC at which has been applied improvements and the streaming feature has been replaced with file recording.


==Features set ==
The plugin was entered into the KyûHEN Homebrew Contest (Utility, 1st place).
* Allows to record clips of unlimited duration (given enough free storage is available).
* Records clips in RAW mjpeg (can be opened on Windows Media Player and other popular video players as well as can be easily converted to more common formats on PC).
* Allows to downscale on CPU the output to 480x272 allowing for faster transcoding.
* Performs hw encoding in MJPEG thanks to sceJpegEncoder when possible. When resources are not enough, libjpeg-turbo is used instead, as fallback, for software encoding.
* Allows to perform both asynchronous and synchronous recording (The first won't affect game performances but you may end up having some artifacts or some missing frames, the latter will lower game performances but will produce frame perfect clips).
* Allows to apply frameskip on synchronous recording.


==Media==
==Features==
<youtube>pq4E5uNU5hY</youtube>
*Allows to record clips of unlimited duration (given enough free storage is available).
*Records clips in RAW mjpeg (can be opened on Windows Media Player and other popular video players as well as can be easily converted to more common formats on PC).
*Allows to downscale on CPU the output to 480x272 allowing for faster transcoding.
*Performs hw encoding in MJPEG thanks to sceJpegEncoder when possible. When resources are not enough, libjpeg-turbo is used instead, as fallback, for software encoding.
*Allows to perform both asynchronous and synchronous recording (The first won't affect game performances but you may end up having some artifacts or some missing frames, the latter will lower game performances but will produce frame perfect clips).
*Allows to apply frameskip on synchronous recording.
 
==Installation==
Put VitaRecorder.suprx in your tai folder (ux0 or ur0).
 
Add the plugin under a section for the game you want to use it for (eg *GTAVCECTY) in your config.txt file. (Alternatively you can place it under *ALL in a section where main is disabled (check down for an example) but some apps may crash with this due to the resources requirements).
 
If you want to use this plugin on commercial games, you'll need to install [[IoPlus Vita|ioPlus]] as well by adding it in your *KERNEL section in your config.txt.


==Screenshots==
Here's an example of a config.txt with the plugin installed in *ALL section
[[image:vitarecordervita.jpg|600px]]


== How to install ==
*KERNEL
* Put <code>VitaRecorder.suprx</code> in your <code>tai</code> folder.
ux0:tai/PSVshell.skprx
* Add the plugin under a section for the game you want to use it for (eg <code>*GTAVCECTY</code>) in your <code>config.txt</code> file. (Alternatively you can place it under <code>*ALL</code> in a section where <code>main</code> is disabled (check down for an example) but some apps may crash with this due to the resources requirements).
ux0:tai/AnalogsEnhancer.skprx
* If you want to use this plugin on commercial games, you'll need to install [https://github.com/CelesteBlue-dev/PSVita-RE-tools/blob/master/ioPlus/ioPlus-0.1/release/ioplus.skprx?raw=true ioPlus] as well by adding it in your <code>*KERNEL</code> section in your <code>config.txt</code>.
ux0:tai/fd_fix.skprx
ux0:tai/kubridge.skprx
#ux0:tai/gxmdbg.skprx
ux0:tai/ioplus.skprx
*ALL
ux0:tai/WDNR.suprx
*main
ux0:tai/pngshot.suprx
ur0:tai/henkaku.suprx
*!main
*ALL
ux0:tai/VitaRecorder.suprx
*NPXS10015
ur0:tai/henkaku.suprx
*NPXS10016
ur0:tai/henkaku.suprx


Here's an example of a config.txt with the plugin installed in <code>*ALL</code> section:
==User guide==
The output videos can be found in ux0:data named as vid_TITLEID_DATE_TIME.mjpg.


<pre>*KERNEL
These files are raw mjpeg data and can be played with several video players such as ffplay or WMP.
ux0:tai/PSVshell.skprx
ux0:tai/AnalogsEnhancer.skprx
ux0:tai/fd_fix.skprx
ux0:tai/kubridge.skprx
#ux0:tai/gxmdbg.skprx
ux0:tai/ioplus.skprx
*ALL
ux0:tai/WDNR.suprx
*main
ux0:tai/pngshot.suprx
ur0:tai/henkaku.suprx
*!main
*ALL
ux0:tai/VitaRecorder.suprx
*NPXS10015
ur0:tai/henkaku.suprx
*NPXS10016
ur0:tai/henkaku.suprx</pre>


== Controls ==
You can also use [https://ffmpeg.org/ ffmpeg] to convert them in more popular MP4 videos with a command like this (Note: This creates videos with fixed 25 fps):
* L + Select = Open the Config Menu
* L + Start = Start/Stop Recording (Shortcut)
* Triangle = Close Config Menu (when in Config Menu)


== Output Videos ==
The output videos can be found in <code>ux0:data</code> named as <code>vid_TITLEID_DATE_TIME.mjpg</code>.<br />
These files are raw mjpeg data and can be played with several video players such as <code>ffplay</code> or <code>WMP</code>.<br />
You can also use <code>ffmpeg</code> to convert them in more popular MP4 videos with a command like this (Note: This creates videos with fixed 25 fps):<br />
<code>ffmpeg -i vid_GTAVCECTY-17_04_2021-21_02_33.mjpg -pix_fmt yuv420p -b:v 4000k -c:v libx264 vid_GTAVCECTY-17_04_2021-21_02_33.mp4</code>
<code>ffmpeg -i vid_GTAVCECTY-17_04_2021-21_02_33.mjpg -pix_fmt yuv420p -b:v 4000k -c:v libx264 vid_GTAVCECTY-17_04_2021-21_02_33.mp4</code>


== Plans for the future ==
==Controls==
At the time of writing, the plugin is in an experimental stage. Current plan for the future is:
L+Select - Open the Config Menu
* Add raw audio recording.
 
* Move to AVI container (it would allow to store RAW PCM data for the audio part and MJPEG for the video part.)
L+Start - Start/Stop Recording (shortcut)
* Create a kernel plugin variant. (udcd_uvc can be used as base, the idea is to allow multiapp recordings)
 
* Whenever possible (mostly small homebrew apps due to the high resources requirements), stick to SceLibMp4Recorder for MP4 recording (AVC+AAC).
Triangle - Close Config Menu (when in Config Menu)
 
==Screenshots==
https://dlhb.gamebrew.org/vitahomebrews/vitarecorder3.png
 
==Media==
'''Vita Recorder v.0.1.1 - PCSC00044 - Flowery''' ([https://www.youtube.com/watch?v=Q6XrwbswfLA kood k]) <br>
<youtube>Q6XrwbswfLA</youtube>


== Known Issues ==
==Known issues==
* Using Best or High video quality may result in empty videos being created (That's cause not enough resources are available for the encoder).
*Using Best or High video quality may result in empty videos being created (That's cause not enough resources are available for the encoder).
* Games with variable resolution may acy weirdly since there's no internal fixed rescaling and mjpeg doesn't support variable resolution between frames. (eg: Everybody's Golf)
*Games with variable resolution may acy weirdly since there's no internal fixed rescaling and mjpeg doesn't support variable resolution between frames. (eg: Everybody's Golf).
* System apps and Livearea are not supported (plan for those is to handle them directly with the future kernel version of the plugin instead of messing with SceSharedFb in user space)
*System apps and Livearea are not supported (plan for those is to handle them directly with the future kernel version of the plugin instead of messing with SceSharedFb in user space).


==Changelog==
==Changelog==
'''(v.0.1.1)'''
'''v0.1.1'''
* Added a check to disable the plugin on system apps.
* Added a check to disable the plugin on system apps.


'''(v.0.1)'''
'''v0.1'''
* First Release.
* First Release.


Line 106: Line 110:


== External links ==
== External links ==
* Official Website - https://kyuhen.customprotocol.com/en/submissions/vita_recorder/
* KyûHEN Homebrew Contest - https://kyuhen.customprotocol.com/en/submissions/vita_recorder/
* Github - https://github.com/Rinnegatamante/Vita-Recorder
* GitHub - https://github.com/Rinnegatamante/Vita-Recorder
* VitaDB - https://vitadb.rinnegatamante.it/#/info/660
* VitaDB - https://vitadb.rinnegatamante.it/#/info/660
* Reddit - https://www.reddit.com/r/vitahacks/comments/mvinib/release_vita_recorder_record_video_clips_while/
[[Category:KyuHEN Homebrew Contest]]

Latest revision as of 03:31, 2 July 2024

Vita Recorder
Vitarecorder2.png
General
AuthorRinnegatamante
TypePlugins
Version0.1.1
LicenseGPL-3.0
Last Updated2021/04/22
Links
Download
Website
Source
Support Author

Vita Recorder is a plugin that allows to record video clips during your play sessions.

The code is based off VITA2PC at which has been applied improvements and the streaming feature has been replaced with file recording.

The plugin was entered into the KyûHEN Homebrew Contest (Utility, 1st place).

Features

  • Allows to record clips of unlimited duration (given enough free storage is available).
  • Records clips in RAW mjpeg (can be opened on Windows Media Player and other popular video players as well as can be easily converted to more common formats on PC).
  • Allows to downscale on CPU the output to 480x272 allowing for faster transcoding.
  • Performs hw encoding in MJPEG thanks to sceJpegEncoder when possible. When resources are not enough, libjpeg-turbo is used instead, as fallback, for software encoding.
  • Allows to perform both asynchronous and synchronous recording (The first won't affect game performances but you may end up having some artifacts or some missing frames, the latter will lower game performances but will produce frame perfect clips).
  • Allows to apply frameskip on synchronous recording.

Installation

Put VitaRecorder.suprx in your tai folder (ux0 or ur0).

Add the plugin under a section for the game you want to use it for (eg *GTAVCECTY) in your config.txt file. (Alternatively you can place it under *ALL in a section where main is disabled (check down for an example) but some apps may crash with this due to the resources requirements).

If you want to use this plugin on commercial games, you'll need to install ioPlus as well by adding it in your *KERNEL section in your config.txt.

Here's an example of a config.txt with the plugin installed in *ALL section

*KERNEL
ux0:tai/PSVshell.skprx
ux0:tai/AnalogsEnhancer.skprx
ux0:tai/fd_fix.skprx
ux0:tai/kubridge.skprx
#ux0:tai/gxmdbg.skprx
ux0:tai/ioplus.skprx
*ALL
ux0:tai/WDNR.suprx
*main
ux0:tai/pngshot.suprx
ur0:tai/henkaku.suprx
*!main
*ALL
ux0:tai/VitaRecorder.suprx
*NPXS10015
ur0:tai/henkaku.suprx
*NPXS10016
ur0:tai/henkaku.suprx

User guide

The output videos can be found in ux0:data named as vid_TITLEID_DATE_TIME.mjpg.

These files are raw mjpeg data and can be played with several video players such as ffplay or WMP.

You can also use ffmpeg to convert them in more popular MP4 videos with a command like this (Note: This creates videos with fixed 25 fps):

ffmpeg -i vid_GTAVCECTY-17_04_2021-21_02_33.mjpg -pix_fmt yuv420p -b:v 4000k -c:v libx264 vid_GTAVCECTY-17_04_2021-21_02_33.mp4

Controls

L+Select - Open the Config Menu

L+Start - Start/Stop Recording (shortcut)

Triangle - Close Config Menu (when in Config Menu)

Screenshots

vitarecorder3.png

Media

Vita Recorder v.0.1.1 - PCSC00044 - Flowery (kood k)

Known issues

  • Using Best or High video quality may result in empty videos being created (That's cause not enough resources are available for the encoder).
  • Games with variable resolution may acy weirdly since there's no internal fixed rescaling and mjpeg doesn't support variable resolution between frames. (eg: Everybody's Golf).
  • System apps and Livearea are not supported (plan for those is to handle them directly with the future kernel version of the plugin instead of messing with SceSharedFb in user space).

Changelog

v0.1.1

  • Added a check to disable the plugin on system apps.

v0.1

  • First Release.

Credits

Special thanks to the distinguished patroners for their awesome support:

  • @Sarkies_Proxy
  • Badmanwazzy37
  • Colin VanBuren
  • drd7of14
  • Freddy Parra
  • Max
  • Tain Sueiras
  • The Vita3K Project
  • Titi Clash

External links

Advertising: