• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Swing: Playing Video

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic