6

Play a video in a Java Desktop application

 2 years ago
source link: https://www.codesd.com/item/play-a-video-in-a-java-desktop-application.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Play a video in a Java Desktop application

advertisements

I'm trying Java Media Framework and I'm noticing that it doesn't support many video formats and it seems not to be updated enough. Is there an alternative for JMF for Windows Java Desktop Applications?


Yes, I'd definitely recommend staying away from JMF. I've felt your frustrations! Personally I recommend VLCJ, especially if you need support for a wide range of formats - I'm using it in my application and it works very well.

The following questions may also be relevant:

Dealing with video (DVDs, .avi .mkv) in Java

Adding other video codecs / DVD support to JavaFX 2.2

Related Articles

Communication between two separate Java desktop applications

I'm looking to develop two separate (but related) Java desktop applications. I want the ability for one application to trigger the other, passing in data that can then be edited and passed back, i.e. the communication will be two way. If the other ap

Images do not paint / load immediately in Swing Java Desktop application

When I run my Java Desktop Application created with Netbean's Swing, the JLabel icon images load right away but the background images on my JPanel don't paint to the screen until I wake-up (re-size) the window. Here is the custom code on my JPanel: I

How to have menus in the java desktop application

I am using Netbeans and i want to develop a java desktop application. The application should be like a website somehow, i mean i want to have some menus in my java desktop application which by clicking on each one of those menus i should be able to a

Why does not my Java desktop application work?

I have a Java Desktop Application with JavaFX 2 which I built and then I tried to run the JAR. The run failed so I ran it through the Command Line to get the errors. Here is what I got: Edit: I updated the stack trace as some lines of code have been

How to convert java desktop application to web application

I have made a Java desktop application which simply stores information about the customers. Now I'm asked to make the necessary changes to make it a web application. I'm completely new to Java web development. What I understand is that I will be give

How and where to store the primary password for a Java desktop application

I am working on a small java desktop application that stores users passwords on a .db file. When the user creates a new database, the user must create a master password for that database, in order to access any facebook or twitter passwords that they

Java desktop application calling Web service on Android app

I'm developing java desktop application that communicates with MySQL database via JDBC. I want to develop an android application that will use Web services to access data in the same database. Is there a way to tell android app from my desktop app wh

Comparison of java memory heap discharges: memory profiles for a Java desktop application

This is a more specific question to follow up on another question that I have asked recently. A correct answer for this question will earn a correct answer for that previous question too (since that is still in limbo)! Basically I have a Java desktop

How to run Netbeans IDE Java Desktop Application from the command line

I have created a Java desktop application and I want to run it from the command line. How should I do that ?In the same way as you would run any other Java application from the command line. Depending on how it's packaged, java -cp <classpath> fully

Why does the Java desktop application require special deployment when JavaFX is used?

I have small Java desktop application without any GUI. I use Ant to dev, run, build and release it. I didn't create a jar file for it. I use a .sh file to launch/run it with the attached JRE in the release. Now I added a simple JavaFX 2 GUI on top of

Java - How to detect that the Internet connection has been disconnected via a java desktop application?

I am developing a Java Desktop Application that access internet. It is a multi-threaded application, each thread do the same work (means each thread is an instance of same Thread class). Now, as all the threads need internet connection to be active,

How do I create a & ldquo; modern look & rdquo; Java desktop application?

Similar questions to this are asked periodically, but many of these answers are outdated. I need to build a cross-platform desktop application in Java with a GUI of comparable quality to contemporary desktop apps. Swing is the default choice, but I h

where to put log4j.properties - for use in java desktop application

I am trying to use log4j logging framework in a java desktop application. When I run the code I am getting a message log4j: log4j:WARN No appenders could be found for logger I googled for the above error and found that it occurs when the log4j.proper

Java Web application or java desktop application

Is it a stable solution to connect Java desktop Application with a mysql database on a remote server.... ? ASP.NET and php are out of options....OR Is it wise to use JAVA web application instead of desktop application to connect to remote mysql serve

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK