Audio file not recorded through network

Hi All,
I am trying to capture audio (wave) file from audio recording device and recording that.
I am able do that successfully in single computer, but when i am trying through network audio file is not created at server.
I am using file protocol for file location. and my JMF version JMF2.1.1e
Is RTP is required to solve above issue?
i used RTP also am able to transit audio, but its not recording....
Is there any other way to solve this problem?
Please provide me any code samples or reference documentation regarding this.
Thanks in advance
jbreddy

below mentioned code used in an applet to create audio file
===================================
import javax.media.protocol.DataSource;
import javax.media.protocol.FileTypeDescriptor;
import javax.media.protocol.ContentDescriptor;
import javax.media.control.TrackControl;
import javax.media.control.FormatControl;
import javax.media.rtp.event.*;
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
public class Media {
public Media(String fileName, int timeInterval) {
System.out.println(" Media fileName="+fileName);
CaptureDeviceInfo di = null;
Processor p = null;
StateHelper sh = null;
Vector deviceList = CaptureDeviceManager.getDeviceList(new AudioFormat(
"linear", 8000, 8, 1));
if (deviceList.size() > 0) {
di = (CaptureDeviceInfo) deviceList.elementAt(0);
else {
// Exit if we can't find a device that does linear,
// 44100Hz, 16 bit,
// stereo audio.
System.exit( -1);
try {
p = Manager.createProcessor(di.getLocator());
sh = new StateHelper(p);
catch (IOException e) {
e.printStackTrace();
System.exit( -1);
catch (NoProcessorException e) {
e.printStackTrace();
System.exit( -1);
// Configure the processor
if (!sh.configure(10000)) {
System.exit( -1);
// Set the output content type and realize the processor
p.setContentDescriptor(
new ContentDescriptor( ContentDescriptor.RAW_RTP));
TrackControl track[] = p.getTrackControls();
boolean encodingOk = false;
// Go through the tracks and try to program one of them to
// output gsm data.
/*for (int i = 0; i < track.length; i++) {
if (!encodingOk && track[i] instanceof FormatControl) {
if (((FormatControl)track).
setFormat( new AudioFormat(AudioFormat.GSM_RTP,
8000,
8,
1)) == null) {
track[i].setEnabled(false);
else {
encodingOk = true;
} else {
// we could not set this track to gsm, so disable it
track[i].setEnabled(false);
if (!sh.realize(10000)) {
System.exit( -1);
// get the output of the processor
DataSource source = p.getDataOutput();
// create a File protocol MediaLocator with the location of the
// file to which the data is to be written
String rtpPath="rtp://192.168.101.29:49150/audio";
MediaLocator dest = new MediaLocator( rtpPath +fileName);
// create a datasink to do the file writing & open the sink to
// make sure we can write to it.
DataSink filewriter = null;
try {
filewriter = Manager.createDataSink(source, dest);
filewriter.open();
catch (NoDataSinkException e) {
e.printStackTrace();
System.exit( -1);
catch (IOException e) {
e.printStackTrace();
System.exit( -1);
catch (SecurityException e) {
e.printStackTrace();
System.exit( -1);
// if the Processor implements StreamWriterControl, we can
// call setStreamSizeLimit
// to set a limit on the size of the file that is written.
StreamWriterControl swc = (StreamWriterControl)
p.getControl("javax.media.control.StreamWriterControl");
//set limit to 5MB
if (swc != null) {
swc.setStreamSizeLimit(5000000);
// now start the filewriter and processor
try {
System.out.println("filewriter="+filewriter);
filewriter.start();
catch (IOException e) {
e.printStackTrace();
System.exit( -1);
// Capture for 5 seconds
double time = timeInterval * 0.7 * 1000;
System.out.println("TIME INTERVAL ="+time+":INT ="+(int)time);
sh.playToEndOfMedia((int)time);
//sh.configure((int)time);
sh.close();
// Wait for an EndOfStream from the DataSink and close it...
filewriter.close();
public static void main(String args[]) {
     System.out.println("in side main method");
String fileName = "QQ";
for (int count = 0; count <= 10; count++) {
Media m = new Media(fileName+count+".wav", 2);

Similar Messages

  • Logic Pro X: Audio file not found?

    I have Logic Pro X, and this problem has never occurred before but...
    I was mixing one of my songs and everything was perfect, then I made sure to save it.
    As I reopened literally 10 seconds later (not sure why I even closed it) it was showing me a message that said "Audio file not found"
    At least 12 audio files went missing out of nowhere. It's only the files recorded from Logic that are not found.
    I tried to locate them through my Finder but I don't know where my audio files are stored onto my macbook, and it doesn't seem to be in an easily accessible place.
    It's just weird because they were all fine just before I closed Logic, then they disappeared.
    I checked the audio bin in Logic and they seem to be there but they seem corrupted.
    If anyone can help, or at least show me where audio files are stored on your mac from recording through Logic, that may help.
    Thank you.

    To clarify:
    Logic Pro X
    I have also experienced this issue as a result of having recording delay set other than zero, and rectified it by returning to 0.
    Otherwise,
    [Command 8] or
    Window > Open Project Audio, select audio files that appear flatline, click 'Audio File' menu at top left, click 'Refresh Overview(s)'.
    No way I know of to auto-enable this.

  • Isight audio does not record with video

    isight audio does not record with video

    Welcome to the forum.
    Can you provide us with a bit more information, please?
    What OS version are you using?
    What are the full specs. of the AV file, that is not Importing with Audio?
    What Project did you set up, at New Project?
    Exactly what steps were used to Import that AV file?
    Did you allow adequate time for PrE 12 to Conform the Audio portion of your file?
    Good luck,
    Hunt

  • Audio file not support

    Hi,
    I am using a folio overlays for a digital publication and insert audio files. While inserting the audio file not supported. The following error was occurred. Please advice.

    I've moved your question to the DPS forum.

  • When i try to open my projekt in logic pro x it say audio files not found?

    when i try to open up a projekt in logic pro x it say audio files not found why is this heppends? 

    This error typically means the audio files you used in this project are no longer found in their original location.. (did you move or delete them?) or you have renamed the audio files..... or they were located on an external HD etcand that drive or disk is no longer available.... because its not plugged in.

  • Logic X EXS24 - audio file not found

    I know this question crops up often and is usually a Garageband/missing downloadable contents issue but that's not the case here.
    I'm a long time Logic user (pre Apple)  and can usually work my way around issue or find answers online, but I'm completely stuck with this one.
    I've been running my current setup for about eight months now (new Mac Pro, latest versions of Logic Pro and OS) with no problem at all.
    I have an extensive sound library stored on external drives (Pegasus2) via Firewire and everything has been zipping along, then yesterday for no know reason EXS24 suddenly gives me the "audio file not found" message when trying to create a new instrument.
    All previously created EXS24 instruments load just fine as the audio files were copied onto the project drive, but Logic no longer sees the library on my external drive.
    The external drive is working just fine (troubleshooting shows no errors or issues) and I can access it just fine, load sounds into other applications etc), I can also manually drag individual samples into my EXS24 instrument so that it "sees" them, but very impractical to do this with so many audio files, and obviously that's not how it's supposed to work.
    I thought I had found a workaround yesterday by making an alias of the folder containing the sound library and copying the alias to User/Music/Audio Music Apps and that worked while I was working yesterday, but on loading Logic today the problem is back.
    I've reindexed the drive in question with Spotlight..
    As mentioned, this setup has worked for months (and for years on my previous hardware) but suddenly Logic can no longer see those files via EXS24.
    Any suggestions as to why this suddenly happened, and more importantly, on a permanent fix?
    B.

    It doesn't really matter where you put the samples, as the EXS will search for them when you try to load an instrument that references them.
    The reason why the "davidfelton" bit is in there, is that the location of the samples is stored inside EXS files. At load time, if the samples are not at that location, the EXS will search for them, and once found, will write the new location back to the EXS file so it doesn't have to search next time.
    If the EXS cannot find your samples, then open the EXS preferences and make sure your default search locations will find the files (ie you don't have it set to look on one drive, when the samples are on a different one).
    Or you can use the project managers "resolve" function to update the sample locations to all the EXS files in one go.
    Any probs, post back...

  • "Error Result code = -43" AND "Audio file not found"

    In Garageband I was trying to  click Join, but kept getting "Error Result code = -43"
    What does this mean?
    Also, I thought saving the file and restarting Garageband would help, but upon re-opening the program BIG problem: the file (just this one, others are opening fine) has this error message upon opening "Audio file “07 I See the Light.aif” not found!"

    mcgregorsgal wrote:
    so do I have to basically start over?
    for that one recording, it looks like it.
    the error -43 is a system level error, so i HIGHLY doubt this will help, however you can ctrl-click the project file, choose Show Package Contents, open the media folder and preview any audio files in there to see if the missing file is there, but in all likelihood, you will need to re-record it

  • WMA Audio files not compatible with Aperture 3?

    Hi,
    I just bought a Olympus WS-400S Digital Voice Recorder, to record audio for my audio slideshows that I will be using Aperture 3 to make, I cant seem to import these files into iTunes either.
    Is Aperture 3 compatible with WMA audio files?

    Thomas Photo wrote:
    Hi,
    I just bought a Olympus WS-400S Digital Voice Recorder, to record audio for my audio slideshows that I will be using Aperture 3 to make, I cant seem to import these files into iTunes either.
    Is Aperture 3 compatible with WMA audio files?
    Hi Thomas,
    Does not look like it....list of compatible formats is here...
    http://support.apple.com/kb/HT4025
    Sincerely,
    K.J. Doyle

  • Audio file not found. Please help restore??

    Arrgh! Hopefully someone can help me! A section of recording has gone missing from my podcast made in Garageband 3 and I have no idea how to get it back!
    The podcast was intact when I saved and closed down for the night, then in the morning when I opened the file, a message box popped up saying 'Audio file "Recording#586.aif" not found! It gave me the option to search for it, which I did, but nothing came up.
    I've tried searching my computer and servers, but nothing again.
    I have no idea how this could have happened! The strand of lost recording is in the middle of the podcast and the rest of the file is unaffected. Unfortunately, the strand was recorded separate to the preceding and following strands, so I can't recover the missing file by extending out the other strands. ****.
    If anyone has any suggestions or can offer any help, I'd be super grateful!
    Thanks

    Ah okay, that's handy to know, thanks. But that shouldn't affect the original files that I'm salvaging, right?
    I'm able to retrieve the unedited GB project files using FileSalvage, but that end bit of the recording is always missing. Even though these are the original files and nothing's been edited or chopped away.
    The only thing that I can think might have caused this mysterious disappearance is that the segment that's gone missing is the very end bit of the project, and the recording only stopped because GB automatically stopped it. Due to lack of space or recording capacity or something. Maybe there wasn't enough memory or something to conserve that final segment. I don't really know...

  • Audio file not found - deleted

    (I've read some of the old threads about this, however none of them seem to have a solution as far as I can see.)
    So the problem is that I'm regularly receiving error messages when I open a project, which say "Audio file x not found", and this repeats for all the audio clips previously recorded. The "search" function is pointless because the lost audio clips are nowhere to be found, not even in the recycle bin.
    To say that this is annoying is an understatement - when you've spent a day working on a song only to find that everything has been deleted it is very very annoying. And this is simply NOT acceptable behaviour for a program - I mean, it's not a bug ... a bug would be that it changes an audio effect every now and again, or changes the timing ... deleting all the audio tracks recorded is a SERIOUS problem, and I don't want to use Garageband again until I feel safe that it's fixed.
    I should add that I recently did a clean install of OS X and that didn't seem to help. Yes, I've repaired disk permissions, that didn't help either. Interestingly I hadn't experienced this problem while I was using M-Audio's fast-track for the mic. It's hard to say that it's connected but I've been using a Samson USB mic for the past 9 months, however the problem only really started in January/February. I'm using GB 09 (v5.1, 398), on a mid-2009 Macbook Pro, OS X 10.6.7.
    If you have a solution, I promise I'll give you a credit in the album notes of my next EP. Thanks!

    The same thing just happened to me. I spent a whole day working on a song rough draft and opened it up to work on it again and it had resorted back to a saved file from days before. I know I had saved it because I had opened it up this morning and it was fine. I restarted my macbook pro and it was all gone. Now I have to rearrange the drums and record guitar and vocals again. Big problem apple....not cool.

  • .wav audio file not syncing up to project

    I have a project of a concert that i have recorded in DV/NTSC 29.97fps and 48kHz rate for audio and wanted to sync a master audio .wav file, replacing the original audio from the recording but at the end of the set, the audio goes out of sync. I tried to export the audio file from a sequence w/ 29.97 fps and used the exported audio file on the concert and it is still doing the same thing. Its there something i am not doing right?

    I believe that there's your problem - because 30fps is not exactly the same as 29.97fps. It is 0.1% slower and that may be causing your drift. Try doing a speed change on your audio file (command-J) and just make it 101% of its original speed. See if that works?

  • Audio File Not Playing

    Morning All,
    A few weeks ago I took a load of video and audio footage for a video I need to make for work.
    I did exactly what I have done in the past - set 2 cameras up for visual and use an external clip on mic, plugged in to a Dictaphone for audio.
    I then drop all the files into PP and edit away. Everything has worked fine in the past.
    Anyway, a couple of weeks ago, having done the same thing, I noticed that the Audio from the Dictaphone would not play back in PP. It works fine in everything else (Window Media Player, iMac Media Player, After Effects etc). The audio from the cameras play back, it's the audio only file from the Dictaphone that wont. Everything on the PC is up to date, in fact, I have since had a new PC.
    I'm honestly struggling to figure out why the audio file will not play!

    Another tiny update. I have found a .WAV file at 176kbps which plays (I think this came from a different source). The .WAV files I'm having problems with are 384kbps.
    The dictaphone has the option of recording at the following:
    32kbps
    64kbps
    128kbps
    192kbps
    384kbps
    But as highlighted before, I have used the 384kbps files before without any issues.

  • Signals going to DVCAM deck but Audio/Visuals not going through

    Hello,
    I'm puzzled with a situation I'm going through right now. I'm trying to copy a footage to a DVCAM tape using the DVCAM deck (DSR-25) but it isn't working.
    1)Signal from FCP is going to the deck but visuals and audio aren't getting to the deck player/recorder. I say this because RECORD/STOP etc options from FCP gets sent to the deck properly (commands).
    2)I am recording through Print to Video... under FILE
    3)I have used GConverter (newest version) to convert a NTSC to PAL
    4)Other project have worked fine going through the same method and procedures, including the NTSC to PAL conversion.
    Currently, I can't come to any solutions except for perhaps re-recording and re-rendering, but if possible I would like to avoid that since that kills about 14 hours of time (although I'm starting it on another computer right now, just in case). I've tried everything I can think of including simple things like SHUTDOWN both the computer and deck, use different firewire cables, and so on.
    Anyone got suggestions I may be able to try or maybe an option I am over looking?
    Thank you in advance
    Message was edited by: djricekcn

    I can see the video on time lines including other things like the Viewer.
    I have changed cables just in case, but it's only it for this one project. Other projects doing/going through the same manner are working properly.
    Only thing I can really think of is something of the options isn't the same as others, but from what I can tell they are (like making sure that the Sequence is PAL and etc...even if it wasn't I should still get signal though) the same.
    I'm still fidiling around with it as I type this

  • Audio files not embedding with .avi files in CS4

    I am working on a project in Premiere Pro CS4. I successfully captured with firewire a number of clips and the audio embedded with the clip ( one .avi file shows up in explorer under the project. When I went back into the project, first, there was no audio captured at all and I did'nt notice until I had captured half of the clips (45 minutes). I don't know what happened there. Now, the audio is attached to the .avi file, but is not embedded like the previous captured files.   Example First capture: File Name : Harlem 01.avi  audio is embedded   2nd Capture  Guilford 01.avi  and Guilford 01. Stereo 1.wav
    Why aren't the .avi files and the audio files embedded and combined as one file anymore?
    Thanks for any help.
    Jimi

    >Matrox card
    The comment I have often seen is to the effect that "a Matrox card makes a good door stop"
    For a Firewire transfer you don't need any "card" at all, only a Firewire port... usually on the motherboard
    That said... and you mentioning switching back and forth between different Matrox modes... I would guess that, yes, you selected a wrong option
    But, since I don't use Matrox, I have no idea what setting could be wrong (I do use a Pinnacle Dv500 via dual boot with WinXP to digitize some old VHS tapes before they stop playing... but once I had settings that worked to create AVI files that ARE Audio Video Interleave with everything in one file, I have never changed any of the Dv500 settings)

  • Page document with audio file not sent by email

    Hello and blessed Christmas to everybody.
    Here is my problem.
    I created a pages documents with images and an audio file from iTunes inside.
    Sharing it by Mail, (and converting it in PDF so that anybody without pages be able to open it) I see that the audio file is not present or not playing inside my mail.
    Is this because of the conversion in PDF?
    But I'm afraid of PC user not being able to see it if I let it in Pages.
    Thanks for your tips.
    Cathy

    Of course! I must have been inattentive.      AsI don't have Adobe acrobat pro I sent everything in word and pages.
    Thanks

Maybe you are looking for

  • Reader 9.5.1 Crashes after a few seconds for non-Admin users

    I have Adobe Reader 9.5.1 installed on some Citrix XenApp 5.0 servers that are Windows 2003.  Any time a non-admin user launches Reader it is open for a matter of seconds and then crashes.  It shows a Dr Watson crash in the error logs each time. If I

  • Network call causes app to crash in WP8

    I have created hybrid app using cordova. We have 1 post service which gives list of cities. When app hits the service, app gets crashed. This network call working fine in android and iOS. Message is :  An unknown error has occurred. Error: 80020101.

  • Convert PDF to Excel

    Hi, We have Acrobat XI installed. We are not able to convert PDF files properly in EXCEL. Please help with proper process for the same. Regards Prathamesh

  • Learning to use Levels

    I shoot a lot of underwater video and often the raw footage looks "murky" and has a greenish tinge that is corrected via Auto Levels.  Is there some easy way to use the Levels effect, rather than auto levels so that you can easily match what Auto Lev

  • Release worklist

    hi experts, I've generated my list for mass retirement of assets.  However when I try to release the list I encounter the following message "No administrator found for the task" message # 5W141.  How would I setup the administrator for the task.  Is