• Post Reply Bookmark Topic Watch Topic
  • New Topic

Playing a Video in a frame by using java code.  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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: 7993
143
  • Mark post as helpful
  • send pies
  • 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
  • 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: 7993
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
https://docs.oracle.com/javafx/2/media/overview.htm
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!