• 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

Playing a Video in a frame by using java code.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I want to play a video in frame using Java code in Linux.

Till now I have used JMF and VLCJ framework for playing a video, it works absolutely fine on windows but not on Linux (It gives me fatal error even for the same code).

I have used 32 bit Linux and 1.8 JDK.

But now I am trying to run via any script that will enable me playing a video on a frame not on browser.

It will be great if you give me proper guidance.

Thank you.

 
Saloon Keeper
Posts: 15529
364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've used VLCJ in the past to great success. I've been told by Jesper de Jong that Java FX apparently is the new way to go for this kind of thing.
 
Vipul Dhage
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

JMF -> http://www.deitel.com/articles/java_tutorials/20060422/PlayingVideowithJMF/

VLCJ -> https://harishmanohar.wordpress.com/2014/08/08/playing-video-file-using-vlcj-library-in-java/

I have tried from this sources.

And ran on the Windows it worked nicely for me.

But I the concern is I want to play it on Linux environment. I dont know whether JMF is compatible with linux or not.

So now I have decided to run trough a script somehow.

It will be great if you provide a proper guidance.

Thanks.
 
Stephan van Hulst
Saloon Keeper
Posts: 15529
364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://docs.oracle.com/javafx/2/media/overview.htm
 
reply
    Bookmark Topic Watch Topic
  • New Topic