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
3
votes
0 answers

How to use RTPSocket to send RTP packets

am relatively new to JMF but have gone through the documents and have a sufficient understanding of how it works. That been said am having some trouble implementing a the server side for RTPSockets. After looking at their illustrations and example.…
Afro Genius
  • 177
  • 1
  • 2
  • 9
3
votes
0 answers

java awt/swing: how do you play video?

I've been googling how to play video files. Firstly, I came across JMF but then realized it is nowadays obsolete. Then, I found "xuggle" but it seems quite difficult to use that with my knowledge. Could anyone of you tell me how do you usually…
Marie
  • 141
  • 1
  • 2
  • 6
3
votes
4 answers

How to read an audio file? Which method should I use?

I have a panel with 2 buttons. When I click on the button 1, I'd simply like to read an audio file (a .WAV in that case). Then, when I click on the button 2, I'd like to stop the music. I do some research, but I'm a little confused about the…
Tofuw
  • 908
  • 5
  • 16
  • 35
3
votes
1 answer

getting NullPointerException at javax.media.Manager.createPlayer(Manager.java:482)

I'm trying to configure a webcam for a java application code give error getting NullPointerException at javax.media.Manager.createPlayer(Manager.java:482) in line videoDataSource = Manager.createDataSource(videoDevice.getLocator()); Source: import…
3
votes
1 answer

Java Media Framework: extract audio info from mp3 file

I'm analyzing music mp3 files. What I'm doing is extracting the audio data from the file and computing music similarity. I've been using javazoom in order to handle mp3 files. By using audioFormat I'm extracting the raw data from the mp3…
dedalo
  • 2,541
  • 12
  • 32
  • 34
3
votes
1 answer

media.getDuration().toSeconds() returning 0 on some songs

I've written the following piece of code Media hit = new Media(dir); MediaPlayer player = new MediaPlayer(hit); runMedia run = new runMedia(player); Ui.changeGuiTitle("Now playing:…
Kelevra
  • 95
  • 10
3
votes
1 answer

Capture live video from webcam using Java an jmf

For capture the live video from web using java and jmf i have written the below code , I plugin the usb webcam also but it gives java.util.NoSuchElementException anyone please help me import java.util.Vector; import javax.media.*; import…
balaraju
  • 81
  • 1
  • 1
  • 5
3
votes
3 answers

Is there an equivalent to Java Media Framework in C#?

Is there an equivalent to Java Media Framework in C#?
luvieere
  • 37,065
  • 18
  • 127
  • 179
3
votes
2 answers

Webcam access from JavaFx

Does the latest JavaFx version support streaming webcam video? Is it possible to get it through JMF in fx?
iceman
  • 4,211
  • 13
  • 65
  • 92
3
votes
1 answer

Capturing sound from a mic

So, I went over the Java's sound tutorial and I did not find it all so helpful. Anyways, what I understood from the tutorial for recording sound from a mic is this: Although they do show how to get a target data line and so on, they do not tell…
An SO User
  • 24,612
  • 35
  • 133
  • 221
3
votes
0 answers

JMF sync video audio

I am currently recording a video (webcam) and audio (mic) using JMF. I did not encounter any problem with the coding. But I have an issue when it come to the output. The video and audio is totally out of sync. There is a 1s time delay between the…
Danny Ng
  • 31
  • 1
3
votes
3 answers

Make a seek bar for media player.

I am making a media player using JMF, I want to use my own control components Can anyone please help me in making a seek bar for media player so that it can play song according to the slider position. Just suggest me some logic, I can figure out the…
Haxor
  • 2,306
  • 4
  • 16
  • 18
3
votes
2 answers

Java Media Framework x64bit

I've tried using JMF on a 64 bit environment I didnt find anythere 64 bit jmvfw.
zenx
  • 291
  • 1
  • 2
  • 9
3
votes
4 answers

using 64bit and 32 bit JDK

I have a system running 64bit windows 7. I'm doing a project using JMF, which I found works best (or only) with 32 bit jdk. I'm using a 32bit eclipse. I also have a 64bit JDK installed. right now I have set classpath (JAVA_HOME and Path) for the…
md1hunox
  • 3,815
  • 10
  • 45
  • 67
3
votes
0 answers

Java captureDeviceManager.getDevice returns no find any capture device on ubuntu

I want to capture a image from laptop's webcam. The webcam works correctly when runs skype or any webcam application. My workstation is ubuntu 11.10. My webcam locate /dev/v4l and this path include by-id by-path. Vector deviceList =…
user1291468
  • 139
  • 1
  • 3
  • 7