Controlling flvPlayback video/audio

Using my_pbc.stop(); in a button on a given timeline allows
me to halt the particular instance of an flvPlayback before
traveling to a different part of the timeline to play another video
(the sound continues if I do not do this because the previous
flvPlayback is still running as I access a new video).
I need to tell buttons on my main stage how to stop ANY
flvPlayback at ANY location (i.e. nested movie clips), when I leave
that location and direct to where the button is sending me. Since
the video does not reside on this timeline I'm unsure how to go
about this.
I'm pretty new to AC3.0, so some handholding would be much
appreciated.

One way of doing it create a global array and store
references of all the FLVPlayback instances in it [as and when it
gets created] and before playing any other video stop all other
videos.
this is an orthodox way of doing it. If you are using OOP
concept then use Singleton pattern to implement your Video Player.
Which means there will be only one instance of your video player
class available at a time.

Similar Messages

  • Copying your movie back to tape - control but no video/audio

    Canon ZR-40 digital camera. iMovie HD6 firewire connect to OSX 10.4.7 on eMac 1.4 GHz, 512 MB
    I can import clips from camera, manipulate, but when I go to export ... "Share" ... camera in VTR mode, the camera is controlled by iMovie, records "black screen" time and exported movie, at least the time or length, but the end result is a blank video/audio clip. The tape is not write protected, it records video for import and that does import, but after editing, there is no export to tape.
    iMovie will export to Quicktime, etc. ... the ZR-40 I thought was fully compatible with iMovie/OSX ...
    SOmething obvious I don't see or know?
    Cyberluz
    eMac 1.4 Ghz   Mac OS X (10.4.7)   network manager for a middle school

    I don't know if this will apply, since you can import but just not export, but please read what Apple says about you camera here:
    http://docs.info.apple.com/article.html?artnum=61603
    Sue

  • Syncing controls for video and audio, with Closed Caption

    Hello,
    First, I have Closed Caption and audio within my slide (no audio in video, because I couldn't use Closed Caption then) but now the audio can be turned on/off from project control bar while video continues to play. I tried to add a control bar to the video (hoping I would have control over both playing and audio) but now audio is controled by project slide control bar and video is controled by video control bar.
    Is there any way to sync the 2 control bars? Or at least give control to the audio on the video control bar instead of the project control bar?
    Thanks,
    ROV Tech

    Your theory is proven false.
    On the contrary, the variable framerate is the cause of sync issues and you just confirmed it.
    Similarly, would you say that FCP is completely useless for all practical purposes, because it can't create Blu Ray disks?

  • Need help in controlling a video (play/pause) with the main play bar in Cp7.

    In a presentation, I'm doing an online ordering demo - my slide(s) have a video object, audio clip and may have various text and/or shapes that will transition from time to time. The problem being, if Pause is clicked in the main/TOC play bar, the presentation pauses but the video continues to play, until the end of that video. My video is an .f4v (I've also tried it as an .flv).
    What can i do to allow the main play bar to control the video?

    Insert as Slide video, not as Event video.  Then the playbar will also control the video.

  • Volume control for video playback through Apple TV2

    I am trying to configure the volume settings used on airplay through apple TV2 and a macbook pro and Iphone4 all with most recent updates.
    I am using the apple remote app on my iphone to control the apple tv.
    Whats working:
    Using the pandora app on my iphone through aiplay to the apple tv, I can control the volume using the plus and minus buttons on the side of the iphone for volume control. Very cool and easy.
    Using the apple remote app on my iphone I can control the itunes volume of different speakers by clicking on the airplay icon and using a slider.  Not as cool as using the hard +/- buttons but still works.
    Whats not working:
    Controling volume on appleTV2 through the iphone remote app for video playbacks like netflix, and youtube.
    Why I want this: RIght now I can control most of the multimedia right from my iphone including cranking the music up:) But when I switch over to video(Netlfix, Youtube) I have to get out another remote (stereo reciever) to control the volume. It seems we are so close to being able to control everything off the iphone, the only thing missing is volume control for video playback.
    Is there a setting that can be changed or a solution I havent found?
    Thanks

    Same problem with TV3. HDMI volume output is not adjustable, neither with the original Apple remote nor with any universal. Why ? Every simple settop-box is able to be volume adjusted. And a Mac Mini too ?!!!
    I use a flatscreen TV. it has 3 HDMI inputs and one optical out for the audio going to an amp standing behind it. The sound of the TV is switched to go to the optical out.
    HDMI 1 is connected to the satellite settop box with its  own remote control ( channel +/-, volume +/- etc. ) it work s fine.
    HDMI 2 is connected to the MacMini HDMI out with its own remote control ( channel/music +/-, volume +/- ) it works fine too.
    HDMI 3 was connected to Apple TV3 with its own remote control ( channel/music +/- but no volume ). I sent the TV3 back to Apple.
    What's going wrong in the mind of Apple ? Why is the HDMI volume output of the MacMini adjustable with the Apple remote, and the TV3 not ?
    I want not to discuss, wether a 4th remote control is useful or not. I don't want it. I want to adjust the volume with the originl remote control of the specific unit I use, because I need it anyway. It worked since years, but not with Apple TV3.
    How can we help Apple to open the volume +/- function on their own remote control ?

  • Record a 3 hour live webcast video & audio

    Can QT record a webcast? If yes, how? I don't see the controls for recording. If no, then what is "the program" to use? I have been searching several discussions and programs but nothing seems to be a for sure solution unless I am recording from a camera or DVD or only want audio. I have Final Cut Express HD that I bought February 2007 and never opened but don't see that it has recording capability. I need to record video & audio of a webcast coming over the net and I only have a couple hours left to get this working.
    ThankU for any help

    How much hard drive space do you have???
    Depending on the dimensions (xy), acquisition codec and final codec for the video your looking at some major hard drive space.
    I believe Snapz Pro X uses acquisition codec and then transcodes that video to a final codec/format. IShowU is another screen capture program. It transcodes on the fly, major CPU usage. (I have both of these programs.)
    This is something to should have been setup and tested a few days ago. All you need is a small hiccup during recoding and you'll end up with nothing but garbage at the end of the recording. If you recoded to your system hard drive and fill it up during recoding you could run into some problems with you system hard drive. I wouldn't advise recording to your system hard. Recoding to a USB external hard drive won't cut the mustard, to slow. You'll need something like a external 800 firewire hard drive.
    Three hours of recoding won't be a easy task.

  • Embedded Video Audio Sync Problem

    I have been exporting Flash Video from Adobe Premiere
    Elements 3.0. I import the .FLV into Flash 8 as embedded video. The
    published .SWF works fine, audio and video start in sync and stay
    in sync, but about 3/4 through the video, audio stops.
    This occurs no matter how short or long the exported clip.
    I did my best searching through these forums, looking for an
    answer to this issue, but have had no success.

    Do you need to embed the FLV file in the SWF file? I would
    recommend playing the FLV as an external file. If you need to use
    embedded video, make sure the frame rates are identical (SWF and
    FLV). I can't remember if Premiere Elements enables you to output
    with Raw audio for FLV files, but Flash 8 (or CS3) will recompress
    an embedded video's audio track on publish/export--so, try to use
    Raw if you can to avoid recompression. This might have something to
    do with your problem too, the recompression of the MP3 audio track
    in your original FLV when re-exporting as embedded video in the
    SWF. (Your audio stream setttings in the Publish Settings control
    the quality/recompression of your FLV output when embedded in the
    SWF.)
    HTH.

  • Can't programmatically control FLVPlayback with ActionScript

    Hello,
    I'm trying to control the video playback of a live video stream using ActionScript 3 code in Flash Professional.
    There's a FLVPlayback component on my stage titled "flvPlayer", and in Frame one of my "Actions" layer, I have the following code:
    import fl.video.FLVPlayback;
    import flash.display.Sprite;
    var vidURL:String = new String("rtmp://www.mycompanyserver.com/test/live/livestream");
    var flvPlayer:FLVPlayback = new FLVPlayback();
    addChild(flvPlayer);
    flvPlayer.source = vidURL;
    flvPlayer.isLive = true;
    flvPlayer.autoPlay = true;
    However, the video doesn't play.
    I can get it to work by adding the source to the Compenent Parameters window, but I need to be able to access those parameters in code.
    Thanks in advance.

    To add to this, this comes up in my Output when I test the app:

  • Video audio continues to play in the background

    I have created a close button that should stop the video from playing, thus closing out of the video and returning to the main menu. But the video audio continues to play in the background.
    Does anyone know how I can get the video to pause/stop playing at the same time as it returns to the main menu and after clicking on the close button?
    This is what I have to play the video:
    var videoStage = sym.$("videoPlayStage");
    videoStage.html('<video id="myvideo" width= "640" height= "360" src = "composition2/myvideo.mp4" poster="images/poster" type= "video/mp4" controls = "controls"></video>');
    sym.$("videoPlayStage").show();
    close button
    I have a trigger:
    "off"
    sym.$("#D39").pause();
    It is not working.

    Here is the code that I put on my close button to make the video pause when closed ("Nat_League_Back" is the place on the timeline that I want to direct the user to when the video is closed):
    sym.play("Nat_League_Back");
    // Pause a video track
    sym.$("BaseballVideo")[0].pause();

  • Losing control in Video App

    I've been having an issue with my iPad and it's driving me crazy.  Most of the time when I watch a movie across the network after some time I lose the ability to control my video from in the app.  In other words, I can't pause, ff, rewind, etc...  I can go back to the home screen and I can still hear the audio.  If I force close the app I can still hear the video playing.  The only way to stop it from happening is to hold the power button down and fully shut down the iPad.
    I'm running iOS version 6.1.3 and the lastest version of iTunes as well as the preinstalled video app.  Has anyone else expierenced this??  Thanks.

    Go to Settings>ITunes and App Store>Show All>Music>Off and also Videos>Off.

  • Not able get record control while video capturing ..(urgent)

    here is my code..
    try {
    // Create a Player that captures live audio.
    Player p = Manager.createPlayer("capture://audio");
    p.realize();
    RecordControl rc = (RecordControl)p.getControl("RecordControl");
    If (rc==null)
    System.out.println("Record control has problem pls check");
    else
    ByteArrayOutputStream output = new ByteArrayOutputStream();
    rc.setRecordStream(output);
    rc.startRecord();
    p.start();
    Thread.currentThread().sleep(5000);
    rc.commit();
    p.close();
    } catch (IOException ioe) {
    } catch (MediaException me) {
    } catch (InterruptedException ie) { }
    when i execute the same code in Wtk23, iam geting an exception " Record control has problem pls check" . iam not able to get the record control for video ,here are my queries;
    1. do wtk2.3 suports recordcontrol for video .
    2. if yes, how to implement?
    3. provide me the good samples for only video capturing ..not for image capturing.
    thaks to all,
    Vishnu.k

    Solved by myself.

  • Controlling Streaming Video

    Hi, I'm streaming a .flv from a local folder. I need to add
    REV and FF to control the video. Any help is appreciated. Thanks
    //this the code to play the videos
    var nc3:NetConnection = new NetConnection();
    nc3.connect(null);
    var ns3:NetStream = new NetStream(nc2);
    theVideo3.attachNetStream(ns3);
    ns3.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
    asyncErrorHandler);
    function asyncErrorHandler1(event:AsyncErrorEvent):void
    // ignore error
    ns3.play("MyMovie.flv");

    If your project is an ActionScript3 project, you can open the
    components window and drag a FLVPlayback component into your scene.
    By picking the right skin, you get all the controls you want
    without having to write any code. Of course you give up some of
    your control but I find it adequate for almost all my FLV playback
    purposes.
    Bob

  • Unable to see video & audio tracks as shown in "Create a sequence or timeline and add audio"

    hi,
    I'm on the https://helpx.adobe.com/creative-cloud/learn/start/premiere.html page trying to work through the Create a sequence or timeline and add audio tutorial
    And cannot see the Video & Audio, as shown in the bottom right sub-window
    I'm using a trial version of Premier pro CC downloaded yesterday. On my mac mini running 10.9.2
    does anyone know how to fix this problem?
    thanks
    david
    I am able to hear the audio.
    Message was edited by: spottedsilvertabby

    Hi,
    Error 7 is when a router or the connection to the router is broken in some way.
    Some devices have features such as Denial Of Service protection (DoS) that cut a particular Internet Port when it thinks too much data is coming (Presuming it is an attack.)
    iChat 5 in Leopard is not capped by the System Preferences > Quicktime Streaming speed (which we used to suggest was set at 1.5Mbps)
    It now sees your whole Connection speed and your Upload may be much faster than this.
    Your Download is likely to be much faster. However iChat will tend to operate at the lower figure of your Upload.
    DoS features are threshold based.
    You may now be bumping in to this Threshold where you were not before.
    SPI (Stateful packet Inspection) does a different job but has the same effect when it is overloaded by the speed of the data.
    If you have either of these features, turn them Off (Disable them)
    7:25 PM Friday; October 2, 2009

  • Video audio doesn't work

    video audio doesn't work
    video runs but no sound
    please help

    ITunes uses Quick Time to convert. Quick Time cannot convert MPEg (Muxed) Files. Read this:
    Quick Time: Using MPEG 1 and MPEG 2 Files:
    http://docs.info.apple.com/article.html?artnum=61608
    Again:
    It is not possible to export the audio portion of a muxed MPEG-1 or MPEG-2 audio/video stream using QuickTime.

  • Hi all, I'm trying to connect my macbook pro to Sony Bravia tv using Kanex Mini DisplayPort to HDMI Cable with Audio Support , when connected to the HDMI on tv I get a picture of the mac screen saver ( the starburst ) no video/audio,thanks, Derek

    Hi all, I'm trying to connect my macbook pro to Sony Bravia tv using Kanex Mini DisplayPort to HDMI Cable with Audio Support , when connected to the HDMI on tv I get a picture of the mac screen saver ( the starburst ) no video/audio,any ideas? thanks, Derek

    Dave I'm glad to say that it works perfectly but I'm embarrassed to say that my 12 year old nephew hooked it up in about 10 minutes.
    If you have the Kanex Mini DisplayPort cable it will work, what confused me was changing the display settings in System Preferences,
    and dragging the mac screen from the mac onto the tv. Sorry I cant be more helpful but you have the right cable now you need a 12 year old nephew.
    Good luck Derek

Maybe you are looking for

  • Scheduling a BI Publisher report and save the results in an external folder

    Hi , I have a requirement like...i need to schedule a BI Publisher report and the saved results(downloaded file of the BI Publisher report) should save in an external folder automatically. My development instance is Windows and my Prod instance in Li

  • Is there any way I can see which of many "reduce noise" is on a clip?

    Hi Guys Is there any way I can see which of many "Reduce Noise" actions is on a particular 'shot' from a video clip in my timeline? I understand that the entire list of Reduce Noise actions I see are all applied to the entire video clip, except in di

  • Usb-stick [FXx]

    Hi, I'm having trouble mounting my usb-stick. I've tried some from this post http://bbs.archlinux.org/viewtopic.php? - t=usbstick but no succes. Do i need to install mosules in my kernel, and if so, how do i do that? Greets, Rudi

  • Iam not able to update any app from app store

    iam not able to update any app from app store

  • Do I have the wrong drive?

    Hi Everyone, I am trying to install my older internal HD from my QS 933 into my new Mac Pro. The old HD is a Seagate Barracuda 7200.8 300 GB Ultra ATA When I install it, it doesn't mount up. Do I have the wrong kind of ATA HD? Thanks for the help, Pa