jmf

JMF. Create new custom streamdatasource

Hi there. I am looking to create a means of building a DataSource object (and hence a Processor) that gets data from a stream instead of a file, RTP, and so on. I am writing a module for a much larger application that is meant to transparently transcode audio data. Going through the JMF docs only specify how to create a source from file...

How to use RTPSocket to send RTP packets

Hi there, 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. I am still abit confused. Am I to develop a datasource and also datasink class...

SDP media field format

Hey, I would like to create a SDP media field with its attributes, and there are a few things I don't understand. I've skimmed and read the relevant RFC and I understand most of what each field means, but what I don't understand is how do I derive from the Audio/Video Format of the JMF, which parameters of the format compose the rtpmap ...

JMF microphone volume controller

How to obtain the Microphone volume controller in JMF? this is what I have: I tried this implementation concept of yours, but I keep getting a null from the first volume processor when I try to get the stream, here is how I do it: // the device is the media device specifically audio Processor processorForVolume = Manager.createProcess...

Any legitimate way to get the JMF source code

Hi, According to link here , it is possible to get the source code under Sun Community Source Licensing (SCSL); however, I can not find any place to pursuit this and this link is obsolete now. Any information? NOTE: To be specific, i need only source code of JMF 1.0 ...

Creating a custom class in the same package defined by a jar file (JMF custom data sources implementation)

I'm trying to extend the JMF implementation for custom data sources in a custom environment. My JMF implementation is packed to a jar file (only class files, all obfuscated). The JMF's package manager uses reflection to instantiate a class. It looks into one of the following packages for the desired class: javax, com.sun, com.ibm. All t...

ServiceRegistry constructor fails with ClassCastException on concrete class

Trying to use javax.imageio.spi.ServiceRegistry to dynamically register request processors for an HttpServlet: private static final Class PROVIDER_CLASS = IRequestProcessor.class; private void loadProviders() throws ClassNotFoundException { _serviceRegistry = new ServiceRegistry(ServiceRegistry.lookupProviders(PROVIDER_CLASS)); ...

Android Video Streaming

I need HTTP/RTSP Video Streaming with Android. Any Ideas ? Is that possible to go with JMF with Android ? Any Working examples ? Already tried with http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/ Its not working with my case. Are there any specific types of videos that A...

How do I create a GUI to existing JMF example?

Hi, my goal is to make a GUI for this little app, that I copied from the JMF guide I downloaded from Oracle website. The code capture 10s of audio from the mic and saves it in a file called foo.wav. But it won't work when I try to make a GUI to it and I don't know what I'm doing wrong. So please, tell me what's wrong. NewClass: packa...

How to pause and show video capture using JMF?

Hi. I need to make an applet using JMF that will capture video from the webcam, show it to the user while it's recording and have a pause option to pause ( not stop ) the video capture. I already know how to capture the video and audio and save it to a local file, but, as I said, I need to give the user the option to pause this captur...

Control panel for Java media player with JMF

Hi there I was wondering about how to get the control panel components (start, stop, etc) from the Java media player with JMF. I have: Player mediaPlayer = Manager.createRealizedPLayer( mediaURL); Component video = mediaPlayer.getVisualComponent(); Component controls = mediaPlayer.getControlPanelComponent(); Then ... mediaPlaye...

QuckTime RTSP/RTP over HTTP and Java

Hello. I have webcam. I can work with it using RTSP/RTP over HTTP tunneling (because only 80 port is opened for me). QuickTime player plays video. I want to catch this video and save it to disc in AVI container using java. Can I use JMF? Does it support "RTSP/RTP over HTTP tunneling" ? I heared about QTJ, but it is windows and mac os ...

how to implement Jmf

how to implement jmf in netbeans?and how to build video streaming using JMF? ...

Fast 24-bit RGB to Grayscale conversion with JMF, Java

I'm developing a simple (or at least thought so) desktop application in Java for real-time image processing. I've chosen to access video frames using the Java Media Framework (JMF). I have a PAL camera and use EasyCAP video converter for digitizing. The device is visible on my Windows machine as a VFW device, allowing for YUV and 24-Bit ...

Java Media Framework: how do I install JMF for mac?

On the sun Website, there have download options for windows, solaris, and linux. http://www.oracle.com/technetwork/java/javase/download-142937.html ...

What is an ideal camera to use with the Java Media Framework?

Is there is a camera that is ideally suited to use with the Java Media Framework? ...

what's the best media solution for java in a chat application?

Hi experts :) I'm about to make a decision about the ideal technology for audio/video chat and I need your expert advice, specifically on the client side. java media framework doesn't seem mature enough, fms seems ok but are there any java clients for flash media server or Red5? any clues, guides appreciated. thanks ...

sending sokect data to JMF player.

hey guys I have written a video player in JMF. I can successfully read a local file on my system and play it in the player. But now I have to use the socket video data which is received in buffer...! and pass this buffered data to the player... I have searched the web for long but I cudnt find how to pass the buffered data to the playe...

Video Streaming in Android

Hi, I have made an Application in Java that transmits video (JMF= "JAVA MEDIA FRAMEWORK"). Now i want an android client for receiving video.What steps do i follow to make such client. I have seen that JMF doesnt work on Android. I want to know best way of doing it in Android platform . Regards, vs ...

Advice on a Java Mu-Law JMF based Voip Server and Client

OK! Im trying to setup a Mu-Law based Voip server and client in Java. Im using Javasound wrapped with DataSource and PushBufferStream for audio capture. I'm using JMF for Transcoding the LINEAR audio to ULAW and a DataSink wrapped around a UDP socket for data transport. I'm trying to save bandwidth so the implementatioon is a Push-To-Tal...