How to play movie file using java tv
hi,
i am trying to play movie file(.mov or mpg or mp3) using java tv in linux plotform and also using jmf jar.
problem is while running appear black screen and getting exception or errors like
Unable to handle format: ima4, 480x320, FrameRate=25.0, Length=460800 0 extra bytes
Thank in adv
Well...
I don't know how to load and play a video with JavaTV. But I've seen some posts telling that .mpg files aren't accepted by the JavaTV.
Some people said that I had to use .avi files and these .avi files, if they were converted from a .mpg file, must had been converted with the Cinepack technology, but I don't know how to do this.
If you find out how to load and play a video, I'd like to know, please send me an email or access my page and post there in the comments, so I can continue doing my application with a video.
[]'s
Cauane B.S.
Computer Science
CNPq Researcher - TVDi
http://cauanebs.blogspot.com
UCPel - Pelotas - RS
Similar Messages
-
How to run .jar on linux & how to create .jar file using java?
hi, may i know how to run .jar on linux & how to create .jar file using java? Can u provide the steps on doing it.
thanks in advance.Look at the manual page for jar:
# man jar
Also you can run them by doing:
# java -jar Prog.jar -
How to print PDF files using java print API
Hi,
I was goign throw lot of discusion and reading lot of forums related to print pdf files using java api. but nothing seems to be working for me. Can any one tell me how to print pdf files using java api.
Thanks in advanceMike,
Can't seem to get hold of the example described in your reply below. If you could let us have the URL to get then it would be great.
My GUI application creates a pdf document which I need to print. I want to achieve this using the standard Java class PrinterJob (no 3rd party APIs I'm afraid, commercial restraints etc ..). I had a stab at it using the following code. When executed I get the pretty printer dialog then when I click ok to print, nothing happens!
boolean showPrintDialog=true;
PrinterJob printJob = PrinterJob.getPrinterJob ();
printJob.setJobName ("Contract.pdf");
try {
if (showPrintDialog) {
if (printJob.printDialog()) {
printJob.print();
else
printJob.print ();
} catch (Exception PrintException) {
PrintException.printStackTrace();
Thank you and a happy new year.
Cheers,
Chris -
How to open/read file using Java in Unix?
Hi Friends,
Can you please help me out how to open/read file using java in unix os? I have create one text file in "/home/test.txt" in unix environment. How to open the same file & read using java code?
- Hiren Modihttp://java.sun.com/docs/books/tutorial/essential/io/index.html
-
How to uncompress zip files using java program
hai,
please give some sample code to decompress the zip file.
how to uncompress zip files using java program
thanking you
arivarasuhttp://developer.java.sun.com/developer/technicalArticles/Programming/PerfTuning/
Scroll down to 'Compression' -
How to load avi files using java ?
Hi, i need to load avi (movie file) using java. I have usually done with java applet, but the applet just can load image (jpeg, gif)
All types of data should be downloaded in same way. What is your problem: exception or something else? Post here.
-
How to play MOV files inside Windows Media Center Edition
I've installed QT Pro, but am not able to play MOV files inside Windows Media Center Edition (MCE). Under "My Videos" from the MCE main interface, I can see the files, but once selected, error message indicates unknown/unplayable file type.
How do I get my MOV files to play inside Windows MCE??
MarcQuote from: cosmosk on 05-April-05, 22:29:47
I don't use MSI's MC application so I can't directly answer your question.
However both Win DVD 6 and PowerDVD6 play them just fine by launching the ts.ifo file.
Yes, I know that, but that means that I should use at least two applications. I need only one front end to launch all my media files, inluding ripped DVD files, not as separate VOBs but as whole movies decribed in IFO files.
Kiero -
How to read pdf files using java.io package classes
Dear All,
I have a certain requirement that i should read and write PDF files at runtime. With normal java file IO reading is not working. Can any one suggest me how to proceed probably with sample code block
Thanks in advance.hi I also have the pbm. to read pdf file using JAVA
can any body help meWhy is it so difficult to read the thread you posted in? They say: java.io is pointless, use iText. So why don't you?
or also I want to read a binary encoded data into
ascii,
can anybody give me a hint how to do it.Depends on what you mean with "binary encoding". ASCII's binary encoding, too, basically. -
Friends,
I want to gzip a file in unix using my java program, can I use Runtime.exec() method and run the gzip command to achieve this ?
Is there any other way to zip/compress a file using java api ?
ThanksUse [url http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/GZIPOutputStream.html]java.util.zip.GZIPOutputStream along with [url http://java.sun.com/j2se/1.5.0/docs/api/java/io/FileOutputStream.html]java.io.FileOutputStream
-
Safari 5.1 won't play .mov files using the embed tag
Since upgrading to Lion (and Safari 5.1), any page that loads a .mov file using the <object><embed> tags gives me a "Plug-in Failure" error. If I take the HTML and load the same file using the <video> tag it works fine.
Did Apple drop support for the embed tag? Is there something going on with my Quicktime plugin?
Here is an example of a page with an embedded .mov:
http://www.mediacollege.com/video/format/mpeg4/streaming/example.html
Does this work for anyone running Safari 5.1 in Lion?please check to verify if you have the remains of plug-in attched to DivX and make sure you have installed quicktime plug-in by going to Safari -- Help -- Installed Plug-ins. If you ever uninstalled Divx without using Divxuninstaller, you'll meet this problem.
Now download Divxinstaller.dmg and run it. Then you'll see the uninstaller in the corresponding application folder.
Click uninstaller to fully uninstall Divx. Relaunch safari and enjoy! -
How to upload a file using java bean?
hi,
i need a code simple how to upload a file from jsp form to a java bean file (not a servlet)
thank,s zikHi,
i need a code sample how to upload a file from jsp
form to a java bean file (not a servlet)You can use jspSmartUpload component which is a free, fully-featured JSP component.
jspSmartUpload provides you with all the upload/download features you could possibly wish for :
* Simple and complete upload
* Total control over the upload process
* �Mixed forms� management
* Total control over files sent
* Download whatever you want
For further information about jspSmartUpload please visit
http://www.jspsmart.com/
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Micro Sysytems
http://www.sun.com/developers/support/ -
How to download video files using java
hi,
i am designing a download manager using java. Although i am able to download html pages and images as of now, i am facing problems while downloading the video files. Can somebody please guide me as to how to do this.
Thanks in advance,
ArunAll types of data should be downloaded in same way. What is your problem: exception or something else? Post here.
-
How to hide hidden files using java FileSystemView
My application has a browser. I use the following method from FileSystemView
public File[] getFiles(File dir,
boolean useFileHiding)
with false as the second argument so that the browser doesn't display hidden files.
It doesn't work completely.
I found out there are two types of hidden files in Mac. the ones that being with "." (unix based) and the ones that have an invisibility attribute for the meta of the file (folders like /usr, /bin, /tmp, /etc).
The getFiles filter works only for hidden files that start with "." but it still shows the second type of hidden files.
For the second type of hidden files in Mac, how can I get the invisibility file attribute information in Java so that I can hide them from the file browser?
thanks,The GetFileInfo tool that ships with the XCode Tools can display the file's information. Additionally, the SetFile tool allows setting those flags. How you use java to implement those, I suggest you ask at the Unix forum under OS X Technologies.
-
How to play flash files in java swings
Hi All ,
I have a requirement in java swings , i want to play advertisements ( flash files in swings )
can any one provide any example for the above requirement .
Thank you all for sharing knowledge in this great forum .
JerryI have a java desktop application which is actually a
kiosk application. I have to run some promotion
videos in my application when no user is using the
kiosk.Will the kiosks all be running the same OS?
The reason I ask is that JMF is available in both
standard and performance pack versions. The PP
provides a wider variety of formats, but runs only
on Win. and *nix.
videos can be any avi or neother which can easily be
played in java applications.That is handy. The JMF standard pack provides
support for a number of flavors of AVI, but not all.
What is the best way for me to play video files in a
java application??I would suggest checking if the 'standard' version
of the JMF can play* the current AVI's. If it can, use
the standard JMF for the project, if not, look to
converting the AVI's to something the JMF can
deal with, this might involve storing the video or
audio of the AVI's in a different format - you
might have to experiment to get the right
combination, but the JMF 'supported formats'
is a good guide.
http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
* To check if JMF can play them, install it and
try loading the AVI's in JMStudio - the default
player. -
JMStudio locks up playing sound file - using java 1.5.0_02 - HELP!
I'm using the jmf 2.1.1e cross platform version on Windows XP SP2. I have java 1.5.0_02 installed.
When I open the sound file using JMStudio it locks up. It plays videos that don't have sound fine, so it's not the video. It's the sound that is killing it.
Does anyone have any suggestions?Hi,
yeah it's possible to play sound on Windows but you have to use the Windows Performance Pack instead of the crossplatform-version of JMF.
This has to do with the JavaSound Architecture of Java 5.0. They made changes and now the JavaSound Renderer didn't work under Windows but the DircetSound Renderer works fine.
So be sure that your application uses the DirectSound Renderer!
This is one of the main problems of JMF but now Sun gets interested in JMF and they would build a new version of JMF. If this is true they have to fix this problem!
Best regards, thomas
Maybe you are looking for
-
Mail Won't Open, But it's NOT "not responding"
This is the strangest thing I have seen. Ok, let me start from the beginning - A few days ago, my hard drive was starting to fail. Time Machine wasn't backing up from before that, even though it was set to run every day. Last backup was done on 30 Ju
-
i tried to install a new os x mountain lion, but the system asked me to provide the apple id and password that was used to buy the os from the apple store online. which i don't have. how do i go ahead to install my new os x on the mC
-
When I try disabling colour management in the printer driver, it keeps turning back on
I'm using Lightroom v2.4 and a Canon Pixma Pro 9500 printer with the latest driver. I've just tried to print from Lightroom for the first time since moving to this latest version of Lightroom and when I go into print setup and turn off colour manage
-
JDBC Sender Adapter - No Namespace found
Hello I am currently using PI 7.1. The scenario is JDBC to ECC ABAP Client Proxy. When the JDBC Sender Adapter sends the data to the Integration Server, the root element does not contain the xmlns attribute. This root element is constructed from the
-
How to do Regression Testing in XI
Hello: We are doing some patch upgrade for XI from SP13 to SP16 and we are planning to do some regression testing in Dev, then in QA and then in Prod. Are there any steps to take or is there any blog or PDF, links on how to do such regression testing