The PMPVLC specific version of VLC that Jocky made is best for most people, but not having a PC *theoretically* shouldn't kill you for basic functionality. The core VLC is already compiled for MAC, check Videolan.org for a recent version, docs, wiki, etc you will need.Gardo wrote:Hello, first of all I've to say:
@jockyw2001 and mojojojo: Great job :)
This app looks great, my problem is I have a Mac so I haven't been able to test it yet, and I was wondering if someone could port (cross-compile) it to Mac...
Thanks
and cheers for this awesome work
The only compatibility issue might be if you need WPA wireless (3.XX kernel) and the VLC version for the MAC doesn't do x264/AVC right. The 3.XX version of PMPVLC for the PSP can only decode AVC I believe.
I know that the linux version of VLC had awful vlc macro support and broke gloriously with my playlist modifications. So try using a pristine Jocky's pspfiles macro first. My mods are only needed for fanciness.
Here's what you try ... I can't try this myself (no MAC) ...
Get the latest and greatest VLC for OSX/Darwin ... make sure it works!
Scroll through the threads and get the latest PMPVLC for your PSP that works for your kernel and wireless combo. There is nothing on the PC/MAC side that is required to get PMPVLC onto your PSP.
I'm assuming you know all about PSP homebrews, kernels, and wireless issues with different PMPVLC versions. And you know how to move around in Darwin. Check the thread and various wikis.
If you don't need WPA wireless ... use PMPVLC version for the 1.5 kernel first. That let's you do both AVC and non-AVC. The 3.xx version is only AVC (last I checked).
First ... try just a manually created stream. Build a simple stream on the MAC in VLC. If you are using WPA wireless, then that version of PMPVLC only works with an x264/AVC stream. Check back through the thread for stream settings to try. Again ... try that stream on another box (or VLC instance) first to make sure the basics work, before trying it on the PSP.
On the PSP ... Install the pmpvlc homebrew onto your PSP. If you are using OE ... make sure you are booted with GAME pointing to the right kernel or put the right pmpvlc version in the right GAMEXXX directory. LE and M33 are all just GAME.
Make sure it boots and can connect to wireless. The instructions for that are the same regardless of desktop OS. Check the thread if you have problems installing on the PSP.
In the ini on the psp ... set it to point to that manually created stream. Make sure your settings for AVC et al are right.
Load up pmpvlc again and try the stream. If that works then you are golden for basic streaming. That could be all you need.
If you want to be able to do basic video/audio file selection ...
Now this is where it gets fun. VLC has a macro language ... the pristine jocky version of PMPVLC comes with a basic macro called "pspfiles" which is in the http directory.
On your MAC, you need to do some digging (read the Videolan pages). Find the application folder for VLC ... there should be an "http" directory folder for it with the included macros that let VLC's web interface work.
"pspfiles" goes in there ... under the same place it would go in a PC.
Put the file in the right place and start (or restart) VLC on your MAC. The UI between VLC versions is annoyingly different but all the settings are (mostly) the same ... just different windows sometimes. Enable http on in you MAC and make sure you can get to VLCs native web UI via your browser.
(It is an excercise for the reader to figure out how to test pspfiles from the browser. Check the thread. There are some early messages on pspfiles hacking for TV use. Around there somewhere are urls for manually polling the pspfiles macro. Also note that the browser won't do LF as you expect. "view source" on the output. I recommend this exercise. It is how I ended up writing my own macro after reading Jocky's.)
On the PSP ... the instructions and pmp.ini settings are the same regardless of OS you have for desktop.
The drive letters "c:" etc are not magic. Something like "/drivename/home/mojojojo/somefiles" *should* work just as well as "c:\something\monkey\somefiles" in the video and audio lines.
Try something simple first! Put a couple files in a directory that's easy to type and put that in the ini.
If all that works ... congratulations!
If you want to get fancy with the playlist ... feel free to try out the http macro scripts I created or create a simple custom one for yourself.
There is good info on VLC macros in the Videolan website docs/wiki
Good luck!