2007-02-04 10:00 pm
NicePlayer 0.95 the Shiny Penguin by Jay
Although NicePlayer is still Mac OS X only and will probably stay that way, it’s now open source and what better animal than a penguin represent open source (even though it suggests linux)...plus NicePlayer’s icon and widgets are shinier (they literally have a sheen now) so that’s why this release is the Shiny Penguin1.
1 Previous releases were the Dark Horse and the Bad Wolf.
Open Source
NicePlayer is tri-licensed under the MPL, LGPL, GPL. They are all copyleft licenses, MPL (Mozilla Public Licenses) is the least restrictive it terms of reuse. MPL is not what “GPL-haters” like to call viral as it only pertains to the licensed code that you are modifying and not the rest of your projects code that is incorporating it.
Shiny Controls
I gave the controls sheen, they extend across the movie bounds continuously when the video is black it’s more obvious that they are controls and not strange floating symbols.
Subtitles
I’ve also added basic external subtitle support, it was something I wrote simple parsers for a year ago, but never added a renderer, I kept on putting it off, so finally decided to put it in this release get some feedback.
It’s already been reported that I don’t allow the encodings to be set for subtitles. When this was reported I figured it’d automatically work with UTF-8, but it actually automatically treats it as a c string unless a Byte Order Mark is at the front of the file. This typically doesn’t get added for UTF-8 because it can mess things up for some kinds of files (though it does not in this case).
So the next version I will change it to the 10.4 api’s, which have been improved for dealing with encodings. We probably will stick to making UTF-8 and UTF-16 the only guaranteed way of your encodings working (with out BOM being necessary for UTF-8), because even if most subtitles out there aren’t Unicode they should be, and it’s not hard to convert (we may include a simple converter next release too), and that is preferable to adding a huge list of encodings in the preferences.
Perian
Perian has helped shape some of the features for this release. I’ve been compiling from source seeing what is in store for version 1.0, such as matroska support. My test file had chapters,subtitles, and alternate audio all show up in QuickTime Player. So I added menus so they can be used with the CoreVideo engine in NicePlayer too. Also the current version of Perian has FLV support, so we added an association for that file type so you can opened by double click.
Virtual DVDs
Another program that inspired a feature was Virtual DVDs. Virtual DVDs allows you to wrap a VIDEO_TS folder in a bundle with the extension .vdvd which makes it double clickable from the finder to open in DVD Player. So I adopted their convention so you that can double click one of those same .vdvd bundles to open in NicePlayer as well.
Scary Transparency
Finally last feature I’d like to note is that we’ve made it possible to make movie windows transparent. I’m not sure there’s a good reason for it (beyond a couple people asking for it), but then again it only can be invoked via applescript (so it doesn’t clutter up the GUI). We have a default script under the heading “Just For Fun”.
Rundown
Here’s the official change list for 0.95:
- 100%25 Open Source (MPL/LGPL/GPL)
- Added support for Chapters, and enabling extra Audio and Video tracks for the Core * Video engine
- Added basic support for external subtitle files
- .ssa substation alpha,
- .srt SubRip,
- .sub MicroDVD
- Added file type extension recognition for
- .divx,
- .vdvd (package around VIDEO_TS ala “VIrtual DVDs”),
- .mkv (Matroska added in anticipation for future Perian support),
- .ogg( for Theora/Ogg support provided by the xiph components),
- .flv (for current perian support)
- New fresh look
- Added AppleScript-able Transparency, with a default script for applying it
- Added preference for volume memory on creation of new windows
- Added AppleScript vocabulary for determining full screen
- Fixed bug that caused niceplayer to hang on quit after watching a DVD on a Core2Duo Macbook
- Fixed bug involving not being able to unmute
- Fixed bug involving changing window level in fullscreen
- Fixed bug in auto dvd launching script
- Fixed bug that sometimes would cause movies to show up black when opened off a removable disk
- Fixed various crashes

