Audio capture filter reference count causing leak

I have a purplexing problem.
I have written my own audio and video capture filters and they work fine. I have tested with FMLE, graphedit and various other tools which i wrote myself. When i click "Stop" on the stream or close FMLE, the reference count on the audio capture filter is not release to 0, thus causing a memory leak. The leak is not a big problem, but my filters have to do some important processing in their destructors, which dont get called because its not being released.
To purplex the problem further, my video capture filter is not having this problem, only my audio.
I have written several more capture filters that literally do nothing other than register themselves to explore this problem and only the audio filters seem to be leaking. Anyone else seen such a bizare problem ?
I am using FMLE 3.1.0.8703

Thank you for your quick reply!
However I cant manage to find the panic logs in the library/logs/ or any of its directorys. Ive looked for this logs before and my guess is that they dont get created if the panic occurs during boot.

Similar Messages

  • Audio Capture only happens if its more than 5 seconds

    Hello,
    I'm writing a midlet that does audio capture on the LG CU500 phone. When I capture for 5 seconds or more, audio capture works as intended, however if I only record for under 5 seconds, it doesn't work. There is no timer. Would could be causing the problem?
    Thanks
    aztec30

    Here is a snippet of the code that i'm using. When playing back, if I record say 10 seconds, I only hear about 7 seconds of the recording. About 3 seconds are cut off at the end. If I record for say less than 4 seconds, nothing seems to be recorded, nothing plays back.
    To record I do the following
    try {
    if(player != null)
    player.stop();
    if(ctrl != null)
    ctrl.commit();
    player.deallocate();
    player.close();
    ThreadSleep(500);
    if (player==null) {
    player = Manager.createPlayer("capture://audio?encoding=audio/amr");
    player.realize();
    player.prefetch();
    player.addPlayerListener(playerListener);
    is = new ByteArrayOutputStream();
    ctrl = (RecordControl)player.getControl("RecordControl");
    ctrl.setRecordStream(is);
    ctrl.startRecord();
    player.start();
    } catch (Throwable e) {
    Once recording is stopped I do this
    try {
    player.stop();
    ctrl.commit();
    player.deallocate();
    player.close();
    Thread.sleep(500);
    if (is !=null) {
    playback= Manager.createPlayer(new ByteArrayInputStream(is.toByteArray()),
    "audio/amr");
    playback.addPlayerListener(playerListener);
    playback.start();
    } catch (Throwable e) {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • String reference count

    Hi,
    is copy a string to another string a real copy or is it just an increment of the reference count to it. For example if used like this:
    private void foo()
         String data = getFooData();
         lastData = data;
         if (someThingTodo) {
              // do something
              lastData = null;
    }If it is a question of reference count, then this code only increment, and eventually decrement it, right ?

    Assigning to a reference type--String, Object, List, MyClas, etc.--never copies the object. It always just causes the reference on the left side to point at the same object that the reference on the right side points to.
    Java doesn't use reference counting for its memory management. But if your question about decrementing is in the vein, "Will the VM automatically detect when an object can no longer be reached and make its memory available for use by other objects?" then then answer is yes, that's taken care of for you.

  • Audio Capture from DV Tape

    I've reviewed many posts here about audio capture but, I am unable to figure out what the "trick" is to capturing audio alone with the video using the new iMovie. I'm connected via Firewire and I'm able to view the video in capture mode but, I hear no sound. I've checked iMovie Preferences and System Preferences and everything seems to be OK there.
    Is this the way this new version of this program functions? I wish I didn't have to post a msg here because, I'm trying to read the previous post and trying anything that seems to pertain to my issue without the desired results.
    Can someone please shed some light on what's going on with this function of this program?

    I assume you are wanting to hear the audio as you are importing and not that you have no audio once it is imported.
    imovie 08 doesn't play audio while importing. While you are using tape (that imports in real time) imovie now imports from a variety of different types of camera such as AVCHD (which isn't imported at real time. Therefore it is no longer logical to playback audio on import.

  • System Settings-Audio Capture

    In FCE, trying to capture VHS via DV converter box. The sound is not coming over. In system settings/scratch disk (internal hard drive) the audio capture is grayed out. Analog RCA composite video & stereo audio connectors in place. How do I get my sound?

    You can't get audio during capture as firewire has control.
    Use the audio from the play device if you need to hear what's happening. You will notice latency on the FCE capture window, that's normal as well.
    Al

  • Media Encoder not finding "audio capture device"

    Hi,
    Im using Adobe Flash Media Encoder with Dxtory for Twitch streaming, and at first it worked fine. Recorded both my mic and game audio perfectly. Then seemingly suddenly, I fired it up  and it wouldn't stream the game audio. It would my Mic, but thats it. I then unplugged the mic and it started saying I had no Audio Capture Device. I checked in Dxtory and its set up the same as it was when it was working. It picks up both the mic and speakers like it should. I have uninstalled this program multiple times, both 3.1 and 3.2 versions, and each time when I re-download it, it loads up the same profile I had before. So when I am uninstalling it, its not uninstalling everything for some reason. Even though the program is no where to be found after its uninstalled. I have downloaded xsplit, and it picks up the game audio and my mic. So its just this program. Anyone have any ideas? I cant seem to find anything online about this issue.
    Thanks!

    From where?  PP sequence?  PP bin?  PP Source Monitor?  Watch folder?

  • Audio Capture problem

    When Capturing from a DV device on to final cut express HD, only audio is "caught". When I checked the scratch bin the audio selection was disabled (like, the check-bow was dimmed and unable to be changed). I'd like to be able to capture audio without using the voiceover feature and having to completely match audio with video. Ya dig?
    Thank you (for at least reading this)!

    then why is FCE capturing video but not audio. all the settings are correct, the only thing i fan find wrong is the "audio capture" check box in sratch disk settings under system settings is nulled to where you can't do anything to it. So, unless it's normally like that, I'd say it has something to do with the way it captures audio.
    so, please tell me that has nothing to do with it so I can find another reason why it won't capture audio.
    Macbook Pro   Mac OS X (10.4.8)  

  • Audio capture

    I want to whether the cross-platform supports the audio capture?
    If not ,are there any methods to finish audio capture on handheld

    Hey DaddyPaycheck, the tape deck is actually one of those boombox/shelf stereo with cd carousel, and dual tape deck (5.1 speaker system). Audio was working just before I disconnected the speakers. I tried using the speaker output jacks, as well as another audio out, but neither one of them was putting out audio through my computer's speakers. The sound preference recognizes the iMic, but not the Pyro. But the apps I mentioned recognizes both. Selecting the iMic for output in the system preference doesn't work either. I see the bars moving, but I believe that's just random noise the iMic is picking up.
    So, by all intent and purpose, the set up I have should technically work?

  • Audio capture lost after installing snow leopard

    Has anyone else had problems loosing their audio capture in Premiere cs4 after installing Snow Leopard?

    Just wondering, is that a plug-in for Premiere?
    Similar problem with After Effects maybe?...
    http://blogs.adobe.com/keyframes/2009/08/after_effects_and_snow_leopard.html

  • Audio capture support won"t install in CD spin doctoris there something I need to know?

    How do I install audio capture support? I/m getting an error message: The Installation Failed. Does anyone know of a solutioon?

    AFAIK, CD Spin Doctor requires Toast Titanium 9. The latest CE Spin Doctor that works with it is 5.0.4. Once you launch it, the first window that pops up is this.

  • Audio capture recording .mov - .m4a

    I accidentally saved an audio capture recording with QT without switching it to save as audio. It's now a .mov (saved as movie) instead of .m4a. How do I convert from the .mov to .m4a? Also, is there any way to make it save as audio (.m4a) by default?

    Ah, yes, that works! Thank you.
    A follow-up question: When audio capture is stopped, how can the client program find out when all the audio data has been written to a file on the server. The client needs to know this to perform subsequent operations on the audio file.

  • Audio capture scratch for iTunes import/48kHz convert

    Working in first FCE HD project. I want to import an additional music track from iTunes. Following the manual's instructions for converting iTunes files to 48 kHz for import, it says to "navigate to the project's audio media folder". In the external hard drive's doc folder it shows all the necessary folders there except Audio Capture Scratch ( which was default checked and unselectable in Settings prior to the initial video/audio capture of existing commercials, etc. from a deck).
    Apparently setting up this Audio Capture Scratch as a destination that shows in the FCE docs window must be done after the initial set-up. (?) If so, I can't find how to do it. According to what I've been reading, though, the Audio Capture Scratch should already be among the 7 folders (Capture scratch, Render files, Audio render files, etc.) but it's the only one missing. Is this even related? Can audio be imported directly to the project as opposed to the ext. drive?
    Question is... Should that in fact be the destination folder? Or do I need to create an "audio media folder" for this project? If so, how? I've not found anything in FCE Help or the Brenneis manual.
    Thanks for any help on what must be a basic conceptual hole in my limited mental model.

    You can import audio files into FCE from any location
    on any HD. The audio file itself could be in your
    iTunes music folder but if so, I suggest making a
    duplicate copy of the song file in some other folder
    (your choice, your location, your folder name) to
    minimize the risk of accidently messing up something
    in your iTunes music folder.
    You could even drag a copy of the file from the
    Finder into the FCE Browser. Once it's in the FCE
    Browser, you can drag the music file onto one of your
    audio tracks.
    The ideal format is AIFF, 16-bit, stereo, 48Khz.
    Truly thanks for that. But... In order to convert the iTunes file to the above, I have to go to the iTunes Pref. window and the folder location field, click the Change button and navigate to the "project's audio media folder"... But I don't have, can't find or don't know how to make that folder. So I can't specify the destination. I'd love to drag/drop, but the format won't be AIFF, 16 bit 48kHz.
    When I read the manuals instruction for importing directly from a CD, it also says to drag the files into my "project's audio media folder", so I'm back to the same problem. I guess I could try dragging from the CD directly to my browser, and I will, but even if that works for now, I need to understand what/where/how to create the audio media folder, as I fear I'm missing a basic understanding here.
    And why is there no Audio Capture Scratch folder showing in the FCE doc folder? Even if this unrelated and irrelevant, I'm still puzzled about that. I'd appreciate any clues here. Thanks again.

  • "Audio Capture Device not selected" message?  Help please!

    Howdy folks,
    I just got a new PC, Windows 7 OS, I've installed ManyCam and version 3.2 of FME and am looking to broadcast again.  I don't recall this issue with my old PC (XP OS, Broadcaster StudioPro virtual cam and FME 2.5).  I updated to 3.2 as suggested/recommended in previous posts, but I am getting a message telling me to "please select audio capture devise connected to your system."  What am I doing wrong or might there be something that I need to download that I missed?
    Any help you can give is greatly appreciated.  I truly loved using FME 2.5 but am doing like you suggest here.
    Peace,

    Hello -
    My problem was fixed by setting a recording devise in my "sound" menu.
    What I did was -
    1.  Open the sound menu from the control panel.
    2.  clicked on the recording tab.
    3.  Chose "Stereo Mix - Realtek High Definition Audio" as my default device.
    That solved it.  It was almost too simple.    Hope this helps you!

  • Audio Capture not available / grayed out

    I have a Samsung SC-D263 connected and when I try to capture video in FCE there is no audio. When looking in the settings, the check box for audio capture is grayed out... any ideas?
    I managed to find drivers for the camera, but i don't know how to install them...

    What audio checkbox are you talking about?
    Do you see the video in the capture window? Do the meters move?
    http://www.fcpbook.com/Audio3.html

  • Audio captured disabled

    Okay, I'm new to this so take it easy on me.
    I am working with FCE-HD 3.5, and I have an older camcorder Panasonic PV-DV4000 and I'm using the DV-NTSC easy setup. The capture features were working fine, but (and I don't know what changed) now I cannot capture audio from my camcorder. When I look in the System Settings - Scratch Disks - the audio capture click box is checked but it is disabled. Can anyone help me with this? Thanks in advance.

    Hi Patty. I was researching this forum to find postings on exactly this same issue. I found a related post under the topic "Audio Only Capture problem". (http://discussions.apple.com/thread.jspa?threadID=616689&tstart=165)
    In that topic, Ian gives a link to a solution doc that seemed to fix the issue by Trashing a few FCE preference files:
    http://docs.info.apple.com/article.html?artnum=93690
    The solution above is catered to FCE 2.0. Though I'm using FCE 3.5, I was able to extract what I needed, it fixed the issue I was having.
    macbook pro   Mac OS X (10.4.7)   2.16 GHz, 1.0 GB RAN, 100 GB HD

Maybe you are looking for

  • STO- committed quantity

    Hi All, While we are creating the PO in STO process from 1000 plant to 2000 plant with reference pruchase requisition in sales order, the committed quantity is not coming. These both plants are under the same company code. But plant 1000 is procuring

  • Using Formatting Objects Processor ....

    Нi All! I have a data stored in my DB in UTIF-8. I' m using Formatting Objects Processor to transform Oracle APEX 2.2.report output into PDF document. It's a dust on the screen after loading my report in Adobe Photoshop. The text on the screen in CP1

  • Attempt to download non-file element

    When I click on certain link buttons at amazon.com a small window opens. The window is titled Opening ref=nb_sb_noss. In the window is the text "You have chosen to open ref=nb_sb_noss which is a: application/octet-stream from http://amazon.com" and i

  • XI and IDOC numbers

    Hi, we have the following scenario: SAP(IDOC)->XI(IDOC)->Third Party(IDOC) XI receives the SAP-IDOCs and creates automatically a new XI-IDOC number and sends the XI-IDOC to the third party system. If a problem is coming up, SAP user and Third Party u

  • Making a DVD

    Hi All I think I am in the right palce for this question. I have a bunch of .AVI files and I want to burn them all onto one DVD with chapters and a menu. What would be the best and quickest way to do this? Washac