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.
*
*/...
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.
...
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 ...
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...
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...
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 ...
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 ...
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...
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...
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...
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.
...
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.
...
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..
...
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.
...
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 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..
...
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..
...
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.
...
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.
...
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...