jmf

Problem in java programming on windows7 (working well in windows xp)

I am capturing video from webcam connected to pc.I am using the following code to do so: import java.util.*; import javax.media.*; import javax.media.protocol.*; import javax.media.control.*; import javax.media.format.*; import java.awt.*; /** * This is the primary class to run. It gathers an image stream and drives the processing. * */...

Problem with video capturing format from webcam in java using jmf.

I am working on the code to capture video using jmf in java.The program given below works fine and stores into raw avi format.I wanted to change the video format(any of .avi container format excluding raw .avi format). My program automatically takes the following format.In the jmf registry this is the maximum resolution for my webcam. ...

JMF installation in Fedora Linux. Anyone could help me on this?

Hi! I am installing JMF in linux fedora. I already installed it. I already put the env variables in my /etc/profile.d/jmf.sh. Here is what i put in my jmf.sh in /etc/profile.d export JMFHOME=/home/ws21/java/JMF-2.1.1e export CLASSPATH=$JMFHOME/lib/jmf.jar:.:${CLASSPATH} export LD_LIBRARY_PATH=$JMFHOME/lib:$LD_LIBRARY_PATH but ...

mp3 downsampling / compression in java

Well, i was looking forward to modify the bit rate of a mp3 file in java. I want to downsample(change its bit rate) the mp3 file from 256/384 kbps to say 64/128 kbps.. (I guess this is the only way one can achieve mp3 compression..or is there any other way.?) I searched for LameOnJ but that website is temperoraly down and so im not a...

Installing Jffmpeg to JMF

Hi! I'm using JMF in my application. I'm trying to install jffmpeg since I'm encountering the format not supported exception. I've tried following this http://jffmpeg.sourceforge.net/download.html but I got lost. I enter JMF registry ok but what should I do to include the new codecs? (Also when I press Add "Could not add item" comes up...

Java Media Framework always generating multicast packets with TTL=1

I need to generate a G711 multicast audio stream, and came across the AVTransmit2 sample as part of the Java Media Framework. Fundementally this works, however the multicast packets all have TTL set to 1. I found some documentation that suggested the SessionAddress could specify a TTL value, so I've tried changing that i.e. destAddr ...

Unable to detect Capture Device (webcam) through JMF

I am using JMF to operate my web cam.My usb webcam works perfectly with JMF, I used it in JMStudio however,when I make this call from my java code deviceListVector = CaptureDeviceManager.getDeviceList( null ); my USB "webcam" is detected however when i am trying to detect webcam on my laptop it is not detecting any device. How can I ...

JMF internal UDP Socket, RTP streaming

I am working on a Videostreaming app which streams videos from Android to a JMF server. My JMF server app is based on this sample code: http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive2.java I've implemented the RTP on the android and I send the rtp packets via UDP to the address where my JMF server r...

JMF: Problem with Controller Realization

I have a problem with the realisation (Player.realize();) of my Player that receives RTP Video Streaming: The realize(); method never ends. I've implemented ReceiveStreamListener and ControllerListener. When a NewReceiveStreamEvent occurs (which does fine) the player gets created: public void update(ReceiveStreamEvent event) { ReceiveS...

local RTP port unreachable when using mjsip/jmf

Hello, I create a sip session with mjsip to an external voip provider. Then I transmit a test wav file over rtp to the provider using RtpManager. The program runs with no errors and I answer the sip call. However, no audio is transmitted. When I diagnose the network traffic with wireshark, I see a bunch of RTP traffic from my localho...

How to capture video from another System in LAN using JMF?

I have finished capturing video on my system using the MediaLocator() class. Then I want to capture the video from the near by systems in LAN by using through the IP address. What is the procedure i've to follow that? Suggest me with procedures. Thanks in Advance. ...

How to recording the video of webcam using the JMF?

I create java Media player and finished Video player, Audio Player, taking snapshot, etc., But i can only capture the video using webcam. I want to record the video in hard disk. What I have to do for that..? Thanks in Advance. ...

How to learn .wav duration in Java media frame work?

Hi all, I am tyring to merge an .mov file with a .wav file using java media framework, thus I need to know their duration. How can I do this? Any ideas would be appreciated.. ...

How to extract audio from a video file and make it as JavaSound AudioInputStream?

I know JMF needs to be used to deal with video, but the JMF api is very confusing and difficult to understand. I saw something like this but what I want to do is the opposite I think. ...

Capture and store the video using java media framework?

I taked the snapshot but I can't record the video and store into hard disk. How to recording the video using JMF? If anyone know, then give the procedure.. ...

When the last version of Java Media Framework was released?

When it was released the latest version of JMF? Is it useful to study about the JMF? Please suggest me.. But there is very small amount of source only there? Why? Suggest me.. ...

Where Can I get the PDF books for Java Media Framework(JMF)?

For JMF, there is very less sources available. That is very basic only. I want featured sources for JMF. where can i get it? If available, send me the link. Thanks in advance.. ...

How to make convert operation from .MOV to 3GP in Java

Hi guys I wanna convert ".MOV" extentioned files to 3GP extentioned Files in java. Currently i m using Java Media Framework for creation opetion of .MOV file. But now my need is converting these videos to 3GP. I googled my issue but i couldnt get any solution. How can i do this? Any help will be appreciated. ...

JMF Output Stream

Does anyone have a simple example of how to take a local file and (unicast) stream it with Java JMF? Examples from others seem scarce. ...

Problems creating an RTP stream with JMF

I'm at the very early stages of a project requiring the broadcasting, using RTP, of a DataStream created from a MediaLocation. I'm following some example code which currently failingin on the rptManager.initalize(localAddress) with the error "Can't open local data port: xxxx", specifically: Exception in thread "main" javax.media.rtp.In...