Advertising (This ad goes away for registered users. You can Login or Register)

[RELEASE] MediaImporter- import videos into vitas Videos app

HENkaku is a native Homebrew Enabler for the PS Vita and PS TV. It lets you run homebrews on the PS Vita
cnsldv
Posts: 7
Joined: Thu May 04, 2017 6:37 am

[RELEASE] MediaImporter- import videos into vitas Videos app

Post by cnsldv »

The Vita video player isn't the best, but it's all we have right now. This simple homebrew removes the need to import your videos into CMA/QCMA on your computer, one of the biggest issues with the standard app IMO.

I tested on my collection, but they come from personal DVDs so it's not tested with a wide variety of formats.

I don't personally use the music or photo app, but if there is interest I might add importing those into their apps.

What it does
* adds mp4 files found in ux0:/video and subdirectories to the video player database
* removes from database videos whose files cannot be found
* sets icons if found with same filename & extension .THM, .thm, .JPG or .jpg

What it doesn't do
* add files under uma0: for some reason the video player says "file type not supported" (uma0: mapped as ux0: works)
* check whether the media is actually playable
* create thumbnail (this is done by video app when you start it)
* set video size metadata (maybe later)
* import photos & videos into the camera app (maybe later)
* import music into the music app (maybe later)

Instructions
Download and install the vpk. Place .mp4 files in ux0:/video and run it whenever you have added or removed media. When mounting USB as ux0: on VitaTV you might need to run every time you remount, nevermind it only takes a minute. Press cross to update the database or triangle to delete all media from the database (not the files). Now go to the video player to play your videos.

Links
Download: https://github.com/cnsldv/MediaImporter/releases
Source: https://github.com/cnsldv/MediaImporter
Advertising
Last edited by cnsldv on Mon May 15, 2017 6:26 am, edited 1 time in total.
DiKeJ
Posts: 3
Joined: Thu May 01, 2014 11:21 am

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by DiKeJ »

Amazing job! Could you possibly think about those media-import option for music and pictures? Will appreciate, thanks a lot once again :D :roll:
Advertising
reprep
Posts: 1074
Joined: Tue Dec 17, 2013 4:38 pm

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by reprep »

seconded, please music and photos. i couldnt make vitashell music importer work.
cnsldv
Posts: 7
Joined: Thu May 04, 2017 6:37 am

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by cnsldv »

Updated to version 0.9 - now imports MP3s to Music app

Changes
* adds import of music from ux0:/music
* performance boost
* live update of "Added x videos" string
* fix for leaking file handles

Instructions
* download and install the vpk
* place .mp4 files in ux0:/video
* place .mp3 files in ux0:/music
* run MediaImporter and press cross to add them to the databases
* press triangle to remove all items from the databases (leaving files intact)
* go to Video Player to play your videos
* go to Music Player to play your mp3s

Known Limitations
* music doesn't play at all from USB even when mounted as ux0:
* even mounting USB as ux0: and unmounting breaks the Music player (not really MediaImporter's fault)
* sometimes (especially on first import) you will get an error trying to play in Music player, reboot to fix and it should then be OK to import more without rebooting
* when mounting USB as ux0: you will need to rerun MediaImporter to add your videos

The Music player seems to have a background process that causes issues when mounting USB as ux0: I will continue to look into the music issues but this is at least usable on the Vita.

VitaShell can play mp3s from USB, maybe that's a better option for playing from USB.

Links:
Download: https://github.com/cnsldv/MediaImporter/releases
Source: https://github.com/cnsldv/MediaImporter
cnsldv
Posts: 7
Joined: Thu May 04, 2017 6:37 am

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by cnsldv »

Made a minor update release 0.91 with the inclusion of video folders as requested on Reddit.

Place your videos in ux0:video/A ux0:video/B... to get folders A,B... The video player only seems to support one level so I used the top level under video, which seemed to be the same as QCMA.

Links etc same as previous posts.
bosshunter
Posts: 9
Joined: Fri Sep 02, 2011 8:04 am

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by bosshunter »

Omg, love your app! Can't wait to have import photo support. Keep up the great work.
Image
Gordon`
Posts: 3
Joined: Thu May 25, 2017 12:09 am
Location: Vienna
Contact:

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by Gordon` »

Good job. Importing music works fine,

Would be nice to also import music from ur0:
That is where I have my music stored (using VitaShell to play music from there)

Is it enough to add the path here and recompile this?

Edit: nope does not work. it detects and imports the mp3's but can't play it from ur0 :|
cnsldv
Posts: 7
Joined: Thu May 04, 2017 6:37 am

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by cnsldv »

Yeah, the music player has some background process that can only see ux0:music and even that breaks when you mount USB as ux0: :(
dmaskell92
Moderator
Posts: 1221
Joined: Tue Mar 12, 2013 5:07 pm
Location: New York

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by dmaskell92 »

I've been using this and it's great. I hope you get photos figured out.
Does it quit? If not, then it's legit... Too legit.

Nvidia Shield Portable 48gb
Dreamcast: SEGA Sports - 80gb IDE HDD
4k PS3 Super Slim OFW 4.82
1k PSP: 6.60 ME-2.3
1K PSVita: Ensō 32GB - 64GB SD2VITA - 128GB PSVSD
Image
GregoryRasputin
Posts: 58
Joined: Wed Feb 22, 2012 1:32 am
Contact:

Re: [RELEASE] MediaImporter- import videos into vitas Videos

Post by GregoryRasputin »

A Twitter user of this app has reported problems, which led him to accidentally update his PS Vita, i suggested he create a post here, here are his tweets:
https://twitter.com/ZNDelta4/status/867966663261511681
https://twitter.com/ZNDelta4/status/868287169630261249

EDIT
He also made a thread on my forum:
https://playstationhax.xyz/forums/topic ... -for-vita/
Locked

Return to “HENkaku”