« JavaFX SDK Preview - first impressions | Main | Teppefall Capture 1.0 is released »

Media Player

Testing out the new JMC code. Not a good start. The only codec pack that works well on my Windows XP system is CCCP. What is CCCP ? Exactly ! How can JMC become a success when every single “mainstream” codec doesn't seem to work ?

Maybe my system is all screwed up ? Who knows.

MediaProvider throws “Unsupported media” on everything. MediaProvider.getSupportedContainerTypes() is not living in the real world. JMediaPane doesn't support overlaid graphics. JmediaPlayer is extremely basic.

Beta or 1.0 Preview means feature complete, not "this API is written on stone tablets". And how can you write a video player without knowing where you are in the movie ? getMediaTime() or addNotificationTime ? Maybe I'm overlooking something. I have no JMC documentation, so I'm just working blind.

Maybe this code works better on my Vista system.



TrackBack

TrackBack URL for this entry:
http://www.installer.teppefall.com/movabletype/mt-tb.cgi/196

Comments

hey jan erik, a way i think you could make overlays work is using scenario: wrapping the media pane in a SGComponent, and then adding new shapes or new swing components. I've tried it with decora effects, and gpu accelerated effects do work on video, which is a nice surprise i guess.

I'm really confused by this framework. I loose hardware acceleration when I create a standalone application. So it runs fast in the IDE, but excruciatingly slow on its own.

Just calling JMediaPane.addNotificationTime before JMediaPane.setSource breaks the entire video pipeline. And calling it after throws "the operation is not supported [class com.sun.media.jmc.OperationUnsupportedException]" even when JMediaPane.isNotificationTimeSupported returns true.

Working XP code on a vanilla Vista system.
com.sun.media.jmc.MediaException: DirectShowPeer: can't open specified URI

And yeah.. JMC has crashed several times on Vista.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

This website is all about alpha and beta software

Download non-beta software here