Questions tagged [jmf]

JMF stands for the Java Media Framework.

JMF stands for the Java Media Framework. It was proposed by Sun as a means to handle media content through Java applications in a platform independent manner. It has moved on from just the PC and is now seen in DTV standards like OCAP and even Bluray. A good starting point will be the sun documentation at http://www.oracle.com/technetwork/java/javase/index-142695.html

390 questions
0
votes
1 answer

Unsupported major.minor version 51.0 with JMF and Eclipse when exporting as JAR

I am writing a short program to extract images from a webcam using the Java Media Framework (JMF). It seems like I have run into a problem that many people had before me, but to which there doesn't exist a clearly formulated solution. I am using…
0
votes
2 answers

Using JMF on Mac OSX

I'm trying to use JMF (Java Media Framework) to play a video. I've tried sample code from four different websites now. I'm using a Mac running Lion. Everytime I load an mpg file I have, I get: Unable to handle format: MPEG, 352x240, FrameRate=29.9,…
CodeGuy
  • 28,427
  • 76
  • 200
  • 317
0
votes
1 answer

JMF Unable to handle format

After lot of struggling with installation of JMF and jffmpeg i managed to open and play .avi file in JMStudio. When i try to open the same file in my own test code, video works fine, but audio does not work. What is reason for this behavior? I know…
user1214302
  • 23
  • 1
  • 7
0
votes
1 answer

JMF: How to trigger event when player reaches certain time playing a video?

How to code in Java (with Java Media Framework): When the player reaches a certain time playing a video clip (for example, reaching 3.124 minutes in reproduction time), it generates an event?
0
votes
1 answer

Stream video from a database in Java

I have to stream some videos from a database. I planned to use Java Media Framework, because I get the Blob objects from the result of a query, but apparently JMF cannot play videos from streams, but only from URLs. Does Anyone know how to solve…
Alberto
  • 1,569
  • 1
  • 22
  • 41
0
votes
1 answer

JMF java.util.NoSuchElementException not see my webcam

I want to capture image using my webcam in Java on ubuntu 11.10 Vector deviceList = CaptureDeviceManager.getDeviceList( new RGBFormat()); System.out.println(deviceList.toString()); //gets the first device in deviceList …
user1291468
  • 139
  • 1
  • 3
  • 7
0
votes
1 answer

Taking Snapshots from a Webcam using JMF

I want to take a snapshot from a webcam through java. I followed this question and arrived at the this example. But there is a null pointer exception coming from the below line - Buffer buf = frameGrabber.grabFrame(); Image img = (new…
Chan
  • 2,601
  • 6
  • 28
  • 45
0
votes
1 answer

How to play flv, mp4, avi format video in JAVA?

I can play .mpg format video with the Java media framework. But I can not play all format of video. When I want to play .AVI format video, the video is play but the sound is not come. How to play other format such as FLV, mp4, avi? public class…
Animesh Kumar Paul
  • 2,241
  • 4
  • 26
  • 37
0
votes
1 answer

How to use JMF with Spring MVC 2.5?

CaptureDeviceManager.getDeviceList(null) works fine if I run my application using javac. But It returns null if I run it in tomcat after deploying it using Spring? What is the problem here? How to use JMF with Spring 2.5? Thanks in advance..
padma057
  • 37
  • 4
-1
votes
1 answer

why jmf can't play rtp stream?

I produced an rtp link with ffmpeg and I tried to listen and play this stream. VLC and ffmpeg can play rtp stream, both work well but jmf doesn't. Although there is no any error, jmf doesn't play rtp stream and there is no sound. My rtp stream…
-1
votes
2 answers

JAR file Main class not found and java.io.fileNotFoundException

public class myapp extends Frame { public static void main(String args[]) { myapp mdi = new myapp(); } static void Fatal(String s) { MessageBox mb = new MessageBox("JMF Error", s); } JMFrame jmframe = null; …
-1
votes
1 answer

Video recording in java using java media framework is throwing exception

For capture the live video from web using java and jmf i have written the below code , I plugin the usb webcam and i have installed java mediaframewrok latest and updated version.when i complie the program there is no error but while i run the…
Sarthak Shah
  • 137
  • 1
  • 15
-2
votes
1 answer

JavaPicture cannot be resolved to a type

I'm using JPegImagesToMovie to create a movie from a bunch of jpeg images, but I get an error in the java file. This is the file: /* * @(#)JpegImagesToMovie.java 1.3 01/03/13 * * Copyright (c) 1999-2001 Sun Microsystems, Inc. All Rights…
-3
votes
8 answers

java error: Exception in thread "main" java.lang.NullPointerException

Here is code: import java.awt.*; import java.util.*; import javax.media.*; import javax.media.protocol.*; import javax.media.control.*; import javax.media.format.*; public class jmfcam05v { DataSource dataSource; PushBufferStream…
Ishan
  • 4,008
  • 32
  • 90
  • 153
-8
votes
1 answer

Does JAVA is a correct choice for Online Conference System (Audio/video)?

I am doing a project on a Online Conference System (Stand-alone Desktop application). For this I have choose JAVA as language.When I want to open capture devices using JMF some time it cannot gives exception "Cannot initialize capture device". I…
1 2 3
25
26