change the video source on the fly

something like this:

private function micChanged(event:Event):void
               {
                    
                    audioPub.stop();
                    audioPub.microphoneManager.micIndex = micSelection.selectedIndex;
                    audioPub.publish();
               }

but it doesn't work...

Hello

You may need to wait that the stream has been removed i.e. listen event StreamEvent.STREAM_DELETE in the audio editor and after that set the Manager of the microphone and then you post.

Do you use multiple microphones/cameras?

Thank you

Hironmay Basu

Tags: Adobe LiveCycle

Similar Questions

  • dynamically change the video source flv to flv play back...

    Dear friends,

    IAM trying to load flv files in flash using flvplayerback components. IAM using the following code. Initially, iam loadign video1.flv. So I want to load video2.flv when I press the next button. It loads video2 only when I press the next button after completing the full video1. I want to change the source at any time please tell the right way.

    Import fl.video.VideoProgressEvent;
    Import fl.video.VideoEvent;
    PLR.source = "video1.flv";


    plr.addEventListener (VideoProgressEvent.PROGRESS, showmsg);
    function showmsg(event:ProgressEvent) {}
    If (plr.bytesTotal == plr.bytesLoaded) {}
    trace ("Loaded");
    loaderpic. Visible = false;
    }
    }

    plr.addEventListener (VideoEvent.COMPLETE, complete);
    function comple(event:VideoEvent) {}
    trace ("film completed");
    }

    nxt.addEventListener (MouseEvent.CLICK, nxtclick);
    function nxtclick(event:MouseEvent) {}
    PLR. Stop();
    PLR.source = "video2.flv";
    PLR. Play();
    }

    Thanks in advance,

    Syed Abdul Rahim

    The code that show you works fine for me when I put things up to match.  When the button is clicked the first video is stopped and another replaces it.  Maybe you have another code that interferes.

  • Pe11 - do not change the project settings based on the video source

    I keep the light in various places PE11 should read my video source and change the project settings for the game when I place it in the timeline in Expert mode, but I don't see any indication that this is happening. No matter what kind of video, I add, the editing mode (and other settings) in the settings of the project remains the same.

    I'm working with older clips (smaller than 720 x 480, 25 fps), and none of the presets project apply.

    What if the project setting does not match what I'm getting? Or it is made irrelevant by the publication settings I use (assuming I choose good here)?

    Thank you

    Dave

    As you have seen, WMVs will not change your project settings. In fact, I'd like to discourage you by their use as source files.

    WMVs are a good video source you change in Windows MovieMaker - but they make for a source file bad enough for virtually any other video editing software.

  • Change the video source (even video but better quality)?

    Is it possible to change the video from the source of a project with another video which is exactly the same (same fps, same proportions, same time) video, but with better resolution, where all the changes on the last video source will remain on the new video source?

    My situation is that I found a version 720 p 480 p video, I worked (long) with.

    As Jim said, you can do outdoors.

    Sometimes we run with proxy support and who in the Proxy file with the quality full folder native (or ProRes).  You can either share the folder names, move files or in Premiere Pro, you can take the files offline then back online by right-clicking and choose reconnect media.

    This is the easiest part

    If you've been editing on a timeline of 480 p, then through 720 p images bringing you either have to change the settings for the sequence (you can also create a new sequence with the right settings, then copy/paste) or you need to tell Premiere Pro videos 720 p to 480 p sequence size nationwide.

  • Change the input s-video tv to hdmi

    Anyone know if you can change the input s video cable tv to use the HDMI input to watch TV on the Touchsmart 600-1050? The s-video works fine, but I thought I read somewhere that you should be able to use the HDMI as input source. So how to change the tv tuner to use HDMI instead of the S video cable? Thank you.

    There is a toggle button on the back just above the HDMI port that allows to move forward and backward.

  • Get the video source variable?

    Hello

    I was hoping someone could help me please with the following:

    Currently, I work in a project of edge:

    VID.html (' < the video id = "video1" video width = "970" height = "421" src = "media/video.mp4" type = "video/mp4" < / video > ');

    My next question is how to get the viceo source via a javascript variable?

    Menno

    Hello

    You can select the video with id tag and change of video using the src attribute.

    SYM. $(' #video1' "") .attr ("src") ==> return video source.

    SYM. $(' #video1' "") .attr ("src", "media/newVideo.mp4") ==> it resets the video source.

  • Change the size of video FootageItem in layer

    Hello

    I replace footage in a layer by using the following code (earlier in my code, I said 'sex'):

    var targetVideo = "pathTo/my.mov";

    var myFile = File (targetVideo);

    If {(myFile.exists)

    importOptions var = new ImportOptions (myFile);

    var theImport = app.project.importFile (importOptions);

    layer.replaceSource (theImport, true);

    }

    This replaces the layer source and seems to keep the values of property such as the scale and rotation,

    which is nice. But my video goal is thus more large (higher resolution) to my video source.

    and I would size down so that it looks the same after replacement, while preserving the properties of transformation applied to the source layer.


    I cannot just resize the layer or the layer.source because it gives me an error:

    'Cannot change attribute 'width' to the point 'myVideo.mp4' because the element is neither a model nor solid. "

    I guess I could try to nest the strong layer or within a model, and then change the size of the parent layer.

    Would it be the way to go or there at - it an easier way to deal with this?

    Thank you!

    Jeff.

    I did some digging in the literature ( restrictive - http://download.macromedia.com/pub/developer/aftereffects/scripting/After-Effects-CS6-Scri Guide.pdf ) and there is no way to change the width or the height of an element of footageSource or AVItem if its source is a footageSource. You can change the width/height of a solid/element layer. This is logical - normally, if you select a solid layer and go into «Settings of layer/solid...» ", you can set the dimensions, but you can never do the same thing for a footage item. Think about it - the way you redimensionnerez images in your compositions using simple scale transformations. Therefore, the solution would be to scale x and y of your new images to match the old images. So, something like this:

    1 calculate and record the width and height of your images before, taking into account possible scale.

    2. replace the film.

    3. use transformations to scale on the new layer of film to match the dimensions of old images.

    You're going to need some math to figure out how to do things, but this should be the gist of it.

  • Change the source of entry with the Caps Lock key does not

    It should be possible to change the input source with the Caps Lock key on macOS Sierra.

    and I checked "Toggle ABC of input source with caps lock shift" in system preferences > keyboard > input Source.

    However, it does not lock shift still only works as long as CapsLock

    I tried to reboot, reset the keyboard shortcuts, deactivation of Siri, reset NVRAM and reset the SMC, but still does not.

    I use only the default input source and have not installed and related programs to the keyboard or input source.

    Can anyone help?

    Thanks in advance.

    Greetings slwsbl!

    Thank you for using communities of Apple Support.

    I see that you want to change the input source with the SHIFT key on macOS Sierra. I understand the importance of wanting to use a specific key when changing inputs. I'm happy to help you with this.

    It is possible to do. Please take a look at the User Guide helps Mac, specifically, this section:

    Switch between input sources

    To switch between input sources, do one of the following:

    • Use the menu entry: Click on the menu entry in the menu bar, and then choose the input source. If an input source is dimmed, the current application does not support it.

    • Use the Caps Lock key: Press the caps lock shift key to switch between a non-Latin input (such as the Chinese or Korean) source and an input source Latin (for example, French or English).

      To use this method, you must select the option "use Caps Lock to toggle to and from" in the stream of input methods. Choose the Apple menu > System Preferences, click keyboard, and then click input methods.

    • Use keyboard shortcuts: Press control-Option-space bar to select the source of the following entry in the menu entry, or control-space to select the previous input source.

    Best regards.

  • Change the orientation of the mouse. Click the apple icon, and then select check box on the left. However, this box is covered by a video on the use of the mouse. How to remove the video?

    Change the orientation of the mouse.  Click the apple icon. System Preferences; OK to this point; the area to select 'Left hand' is covered by a video on the use of mouse clicks. How can I remove the video (s) so I can't select 'Left hand' in the box?

    System Preferences > mouse, and then select the tab more moves.

    Then on the left, select: slide between pages

    Click scroll left or right with one finger , and then make your choice.

    You cannot delete the video. This is a demonstration.

  • I am not able to change the video quality for you tube. There are only two options 360 and Auto. Please help me.

    Hi I am experiencing strange problem for 15 to 20 days and I am not able to change the video quality for you tube. There are only two options 360 and Auto. Help me please if you can because I have a slow internet connection and I want to play video at 240, as it was before. Thanks in advance for your help.

    Could check you whether YouTube is to serve its HTML5 player or the player based on Flash? If you right click on the drive, short a context menu should appear. If the full Firefox context menu is displayed, press and release the ALT key to erase that. The last line of the menu short usually indicates which player he is.

    I'll assume HTML5 because...

    On Windows 7, Firefox should show a wide range of formats in the HTML5 player. However, if some of the features of media are disabled, preventing video MP4 decoding, then YouTube offers only 360 p (with WebM coding).

    If you have intentionally disabled Media Foundation and/or DirectShow in topic: config, then perhaps you would prefer to use the YouTube Flash Player? There are a few Add-ons that can force YouTube to serve you a Flash drive. Either of them will do, you don't need both:

  • Quit iMovie, change the size of the video

    Hello

    I'm preparing a review of Appstore App.

    I use the reflector 2 SW to save some example scenarios of the APP and captures the movements in a mp4 file. Then I use iMovie 10.1 to y to add a melody.

    The problem is: iMovie changes the video content with no intention of me either! Yes, it's true!

    The input mp4 file I use is: 1080 (w) x 1920 (h) and in portrait mode.

    The output of the iMovie file is: 1920 (w) x 1080 (h) and my video application is confined within a thickness of blackborders...

    How can I stop this from happening? I looked around for options for some time. There seems to be no cure, or is it?

    Thank you very much

    Tanner

    iMovie works in format 16 x 9. When you add a clip that is the portrait mode and select Insert in the toolbar of harvest that you get the black bars you see. What you can try is to select the crop tool and rotate the clip 90 degrees, then made. Share your video and open it in Quicktime. Here, you can turn it back to portrait and save it. Hope this will solve your problem.

  • Impossible to change the video quality YouTube app when using cellular data?

    Basically, when I'm on my data (AT & T) and decided to watch a video automatically plays it at 1080 but it burns my fast data. I tried to change through the video, these three points there and says unavailable. I go into settings YouTube app and I don't have any options to change the right quality quality upload. But I noticed on Android users that they have options to change the quality. I'm looking forward on Google but I don't get the option in the settings, I get even the left menu. Yes my YouTube app updated.

    http://www.howtoisolve.com/how-to-set-video-quality-for-all-video-in-YouTube-IPH one.

    Yes, the iOS YouTube app don't gives you the option to change the video quality over a cellular network. Try to open YouTube in Safari browser

  • Why change the size of the video player when resizing the window a bit?

    When I use the video player to view mp4 files, the 'player' window changes the size if I change the firefox window. Why and how should I do to get the correct size in direct (640 x 480)

    Hello
    I have change the width of the content in the same size as the player page for example 480.
    Now it's working.
    Thank you

  • I can't change the video resolution on youtube. When I try to change it, he goes to 240 p and the screen is black and does not play the vid.

    Hello, I have this problem.
    Recently, I have noticed that when I try to change the quality of the video by default 360 p to whatever, the quality will increase to 240 p and the video wont run. There will be a black screen.
    I tried to reset the browser and it has not fixed my problem.
    I tried the same video in internet explore and quality change worked normally.

    How would I fix this?

    Thank you

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".
  • Change the video quality of a video affects quality 240 p and cannot continue to play video

    When I'm watching a video, for example that a http://www.youtube.com/watch?v=_jKylhJtPmI try to change quality 720 p (from 480 p), the video stops and the quality is set to 240 p.
    I can't continue the video except for the refresh of the page somehow.
    I use the youtube HTML5 version.

    The problem occurs after the restart with disabled addons.
    Chrome, change the quality works as expected.
    Using Ubuntu 12.10, 64-bit

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/edit > Preferences > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/edit > Preferences > privacy > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.
  • Firefox crashes when it starts. I tried to reset it; I uninstalled and reinstalled no question. The problems started after I changed my video card

    Crash ID: bp-1c18c383-28e4-426c-96a7-ff97e2130906
    OS: Windows 7 SP1 64-bit
    I had to change my video card, immediately after this FF started crashing at the beginning.
    The graphics card is a Nvidia GeForce 210.
    I tried to:
    -Reset FF;
    -uninstall, delete the registry, reinstall it;
    -Windows Update;
    -Update (311.06) video card drivers
    but no way.
    I can start FF mode without failure.
    Any help will be really appreciated.

    I solved it by disabling hardware acceleration in the FF options.
    There seems to be a conflict between FF and some drivers from Nvidia.

Maybe you are looking for