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

Java JMF mp3 streaming buffer size

I have this problem I've been trying to solve the whole day. I'm streaming a mp3 filestream over internet with JMF player. Everything works (finally) except that I believe there's some kind of buffer size set to 1min by default. It takes exactly…
Pauli
  • 149
  • 4
  • 13
0
votes
0 answers

jmf wav to mp3 conversion issue

I am trying to convert a wav file into mp3 format using the below code. A mp3 file is created but it is blank file without any content. Any ideas what could be causing this. Format[] FORMATS = new Format[] { new AudioFormat( …
kiran
  • 2,280
  • 2
  • 23
  • 30
0
votes
2 answers

JMF and Netbeans

I have installed the JMF for windows (jmf-2_1_1e-windows-i586.exe) from the following link: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#7372-jmf-2.1.1e-oth-JPR but when I double…
user3628362
  • 27
  • 1
  • 6
0
votes
1 answer

JMF CaptureDeviceManager.getDeviceList

I am having trouble with the JMF and getting the CaptureDeviceManager.getDeviceList() to list any capture devices. I am running on Ubuntu 3.11.0-20-generic x86_64 GNU/Linux. I am running this in Netbeans 7.4 where I have added…
DevilCode
  • 1,054
  • 3
  • 35
  • 61
0
votes
0 answers

How make visible EasyCap in Java Media Framework (JMF)

I'm trying to get image frames from an analog cam using EasyCap and Java Media Framework (JMF) on Windows. The problem is that JMFRegistry do not detect EasyCap, it is not visible as a VFW device on my Windows machine, first step to get frames from…
AER
  • 95
  • 2
  • 7
0
votes
1 answer

Stopping music in java, using JMF

So i got this code playing music for an RPG-game. The first method plays battle music, the other a fanfare when you win. My problem is that the music stacks and in the end it´s a thousand different battle music and fanfares playing. How do I stop…
Gaute
  • 107
  • 1
  • 1
  • 12
0
votes
1 answer

Java program to play a song and send serial commands

I am working on a program in Java to play a song and at certain points in the song send a trigger over serial to a microprocessor. I have the microprocessor/serial port working without a problem but I have no idea where to go with playing the song.…
mightymouse3062
  • 109
  • 5
  • 13
0
votes
1 answer

Duplex RTP connection estabilished in JMF when called from one side but comes unreachable port when called from other side

I have used JMF to transmit and receive audio for an application using JAIN-SIP and below is my code: import com.sun.media.rtp.RTPSessionMgr; import java.io.IOException; import java.net.InetAddress; import java.net.URL; import…
Manish
  • 1,999
  • 2
  • 15
  • 26
0
votes
2 answers

javax.media packet not found working with JMF on netbeans

I am currently using netbeans and i have downloaded the JMF plug in using its own plug in finder.I found one of the codes for video streaming using JMF from the net .The 'import javax.media.player' shows an error that package javax.media does not…
Priteesh
  • 50
  • 1
  • 1
  • 6
0
votes
1 answer

Modifying JPEGImagesToMovie File

So after receiving only a few recommendations for a Java package to use to create video files, I decided I would try to modify the JPEGImagesToMovie file that comes as a sample with the JMF. I managed to get everything compiling and seems like it…
WLPhoenix
  • 294
  • 4
  • 17
0
votes
0 answers

Java Osgi Eclipse JMF javax.media.MediaLocator

i have a problem with OSGI JMF. I wrote this media player but not want to work when i run got ERROR. Eclipse not see mediaLocator does anyone have any idea how to solve this problem. I'm a noob in java. I have eclipse kepler and JMF2.1.1e, and…
0
votes
0 answers

write a single image file from any frame of a video file using JMF(java media framework) shows javax.media.NoPlayerException: Cannot find a Player

this is my code to get image from video using JMF(java media framework): public class ImageCaptureFromVideo { private static final String outputFilePrefix = "C:/Pics/"; public static void main(String ar[]) { try { …
0
votes
0 answers

Install JMF in silent mode via C#

Is there any way to install JMF in silent mode using C#? I have jmf.iss and JMF setup.exe and I'm having problems setting the silent parameter: string[] programArray = {"SETUP.exe","Java-jre-7u45-windows-i586"}; foreach (string path…
user3313131
  • 583
  • 2
  • 7
  • 9
0
votes
1 answer

Overloaded method not being used?

I'm attempting to use the JMF to create background music for my project. From what I understand, the method Manager.createPlayer(); can use InputStreams, URLs, and DataSources. However, when I use the following code: InputStream is =…
veryak
  • 3
  • 1
0
votes
1 answer

can't play audio File with JMF

I have a problem with playing an MP3 file with JMF, it displays the following error : Error: Unable to realize com.sun.media.amovie.AMController@80669d Exception in thread "main" javax.media.CannotRealizeException at…
FrankelStein
  • 907
  • 2
  • 13
  • 30