This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Swing: Playing Video

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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?
 
Rancher
Posts: 43011
76
  • 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
 
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
Mac OS X IntelliJ IDE Chrome
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!