• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing: Playing Video  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been hunting around and can't find anything. Aside from JMF (which hasn't been updated in quite some time) are there any more recent innovations is playing different video formats in a Swing application?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right, it doesn't look good.

There's QT4Java, but that too is no longer being updated.

The FOBS and jffmpeg libraries add a few new formats to JMF.

And there's jVLC (on top of the VLC libraries).

Links to all these are in the http://faq.javaranch.com/java/OtherOpenSourceProjectsFaq
 
David Irwin
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
You're right, it doesn't look good.

There's QT4Java, but that too is no longer being updated.

The FOBS and jffmpeg libraries add a few new formats to JMF.

And there's jVLC (on top of the VLC libraries).

Links to all these are in the http://faq.javaranch.com/java/OtherOpenSourceProjectsFaq


I've actually have quite a bit of experience using VLC and Java and have been quite happy so far. I'm not using jVLC but rather the regular software decoder that you can download from http://www.videolan.org. While the video isn't directly embedded in any type of Swing container, you can control VLC via a remote interface (it supports several). In particular I use the telnet protocol (and the Apache commons-net library) to send commands using Java. Like I said it works pretty well but requires a fair bit of knowledge of VLC to get everything to work correctly.

Thanks,
Dave
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys. Dave, you gave me a search idea and after looking at the jVLC I found http://code.google.com/p/gstreamer-java/ which works extremely well with a minimal amount of code. I couldn't get jVLC to work, but the gstreamer-java works like a champ. Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!