2008-01-20, 07:22 AM
I got a bit frustrated with programming for the PCH so I decided to put a few hours into something I know better. These include some nice (I think) updates:
1. Real FLAC Support in GB-PVR
Now instead of transcoding all non-mp3 files to mp3 for playing on the mvp, emulation mode can accept FLAC format as input. This means that FLAC files on the host will stay FLAC (although they still will be de-compressed and re-compressed until sub makes a change, but for me it is now low priority). This is enabled with this command line --em-flac option and with this additional change in config.xml
It does mean all your vorbis, wma and other non-mp3 files will also be sent in FLAC format but you should expect better quality since you aren't converting using two lossy formats.
2. Access Control (sort of)
Emulation mode will open a file called control.txt in your mvpmc share and if the line in the file matches the short name of the real file or directory the Video file won't play unless you opened it with Go Play. I might add a PIN but this might be enough to keep some away. Kids don't read this forum do they?
For example to block access to all files in C:\Recordings\Sex & The City you would add a line something like
C:\RECORD~1\SEX&TH~1\
The format is case sensitive (for folder names 8 characters and less) and you can find the short names from the command line via the DIR /X option. Again you can filter files, folders or both.
I say "sort of" because there will be oddities on files if you have resume mode on, because the file starts streaming with the pop up before emulation mode tells it too.
3. PCH Server Access
Access to the PCH Server demo is now turned off by default, but it can be re-enabled with the --em-pch option (it's not really emulation mode but why be picky?).
4. Go Red for jksmurf.
5. A few tweaks.
Martin
1. Real FLAC Support in GB-PVR
Now instead of transcoding all non-mp3 files to mp3 for playing on the mvp, emulation mode can accept FLAC format as input. This means that FLAC files on the host will stay FLAC (although they still will be de-compressed and re-compressed until sub makes a change, but for me it is now low priority). This is enabled with this command line --em-flac option and with this additional change in config.xml
Code:
<MVPFFmpegTranscodeToMP3>-y -i "{SOURCE_FILE}" -f flac "{DEST_FILE}"</MVPFFmpegTranscodeToMP3>
It does mean all your vorbis, wma and other non-mp3 files will also be sent in FLAC format but you should expect better quality since you aren't converting using two lossy formats.
2. Access Control (sort of)
Emulation mode will open a file called control.txt in your mvpmc share and if the line in the file matches the short name of the real file or directory the Video file won't play unless you opened it with Go Play. I might add a PIN but this might be enough to keep some away. Kids don't read this forum do they?
For example to block access to all files in C:\Recordings\Sex & The City you would add a line something like
C:\RECORD~1\SEX&TH~1\
The format is case sensitive (for folder names 8 characters and less) and you can find the short names from the command line via the DIR /X option. Again you can filter files, folders or both.
I say "sort of" because there will be oddities on files if you have resume mode on, because the file starts streaming with the pop up before emulation mode tells it too.
3. PCH Server Access
Access to the PCH Server demo is now turned off by default, but it can be re-enabled with the --em-pch option (it's not really emulation mode but why be picky?).
4. Go Red for jksmurf.
5. A few tweaks.
Martin