Video coming first frame only

Hi i create a broadcaster in as3.
Broadcast video is OK.
NetConnection.Connect.Success is OK
NetStream.Publish.Start is OK.
But video coming first frame only in Player, not playing total video in player
var server = "rtmp://xxxxxx.rtmphost.com/foldername";
var streamName:String = "testname";
var nc:NetConnection;
var ns:NetStream;
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
nc.addEventListener(AsyncErrorEvent.ASYNC_ERROR, ayncErrorHandler);
nc.client = this;
nc.connect(server);
function netStatusHandler(event:NetStatusEvent):void
          switch (event.info.code)
                    case "NetConnection.Connect.Success" :
                              connectStream();
                    case "NetConnection.Connect.Closed" :
                    default :
function connectStream():void
          ns = new NetStream(nConnection);
          ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
          ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, ayncErrorHandler);
          ns.client = this;
          ns.attachCamera(webcamera);
function securityErrorHandler(event:SecurityErrorEvent):void
          trace("securityErrorHandler: " + event);
function ayncErrorHandler(event: AsyncErrorEvent):void
          trace("AsyncErrorEvent: " + event);
var webCamera:Camera = Camera.getCamera();
var video:Video = new Video();
video.attachCamera(webCamera);
addChild(video);
Startbtn.addEventListener(MouseEvent.CLICK, startClick);
function startClick(event:MouseEvent):void
          if (Startbtn.label == "Start Broadcast")
               Startbtn.label = "Stop Broadcast";
               ns.publish(streamName, "test");
          else
               Startbtn.label = "Start Broadcast";
               ns.close();

i got the problem

Similar Messages

  • Capturing only audio, no video beyond first frame

    When I log and capture it looks okay until I move clips to timeline. Then I only have audio and the first frame. I've cleared the settings and preferences each time. Still happens. What is going on? (The capture audio only is NOT on).

    Is it only a single frame of video in the viewer window ie if you double click the clip in the bin is it the same frame through the entire clip, or is it that only 1 frame displays when you drop the clip in the timeline? if it's the latter check your view>external video settings to make sure they conform to your sequence settings.

  • Exporting movies in iPhoto using 'Current' Setting, exports the first frame only

    Hi,
    When I export my iPhoto library into separate events using the 'Current' Setting, it exports all video / movie files as the original file type with a single frame in it. 
    I don't want to go through each event and drag and drop each video to the exported folder as that would be an enormous pain.  Does anyone have ideas to fix this?  I have edited some photos, so I don't want to export as 'original' if possible
    Thanks!
    iPhoto has the latest updates installed and the original videos play perfectly in iPhoto.

    Yeah, I have upgraded from previous iPhoto versions, some videos are a few years old (.MOV iPhone format) and some are only a few months old (Canon EOS .MOV format), both export only first frame.  I might have to recreate my iPhoto library and start fresh!  Currently I am exporting as 'Original' and 'Current' to two different folders, and just grabbing the videos from the original and replacing the videos in the 'Current' folder.
    LarryHN's solution works well, but when I add a second condition to select a specific event, I can't choose from a list of specific events (unlike albums).  Entering in the event title (in the Event condition) sometimes adds videos from silmilar titled events.

  • Cover Flow: Can I Change Video Clips' First Frame?

    Hi,
    I've got a bunch of video files that I'm viewing in cover flow. However, seeing their first frames doesn't help much in giving me a clue about their contents.
    Is it possible to select an middle frame in the video clip and have that be the image that pops up in cover flow? How?
    Thanks,
    Duck

    Whenever I get a movie I always play it in QT Pro 7, select a typical frame, copy it and then paste it as the icon for the movie using GetInfo. Cover Flow respects these added icons, and that is what it displays.
    If you only have QT X the process is a bit more problematic, since I have not discovered a way to select and copy an individual frame. You can't even do a decent screen shot, since if you pause the movie to take a picture of the movie, the idiotic control bar is inside the movie frame. However, if you pause it, then move the mouse off the control bar and click once inside the frame, the control bar will disappear and you can then do a clean screenshot. Open the screenshot in Preview, select all and copy, then select the movie file in Finder, GetInfo, select the wee little icon at the top and paste. Your movie will now have your custom icon displayed in Cover Flow, Icon view, and so on.
    Francine
    Francine
    Schwieder

  • Video - show first frame without autoStart

    hey guys,
    how can I show the first frame of a video, if autoStart is disabled?
    thanks

    There's no easy way to do this, but essentially what you want to do is 3 methods: play(), pause(), seek(0).
    The exact pattern should be something like:
    step 0:
    set the source
    set autoPlay = false
    // add listener for step1
    step 1 (in mediaPlayerStateChangeHandler in the READY state):
    videoPlayer.muted = true;
    videoPlayer.view.visible = false;
    // call play(), here, then wait to call pause() and seek(0) in the
    // dimensionChangeHandler
    // add listener for step 2
    videoPlayer.play();
    step 2 (in dimensionChangeHandler):
    // the seek(0) is asynchronous so let's add an event listener to see when it's finsished:
    videoPlayer.addEventListener(SeekEvent.SEEK_END, videoPlayer_seekEndHandler);
    // called play(), now call pause() and seek(0);
    videoPlayer.pause();
    // add listener for step 3
    videoPlayer.seek(0);
    step 3 (in seekEndHandler):
    videoPlayer.muted = beforeLoadMuted;
    videoPlayer.view.visible = true;
    Hope that helps,
    Ryan

  • Rotoscoping - it only roto's the first frame

    What I have done:
    Created a video clip with my Canon GL2 featuring a person against a bright background.
    I then used Adobe Premier CS5 to create an AVI of the sequence. (called it ROTO4.avi)
    I then opened CS5 After Effects, imported the clip into the composition timeline.
    I then changed the framerate of the composition to 59.94 (cause a previous attempt told me to do so).
    I then went under LAYER and Open New Layer.
    I then clicked the TOP rotobrush icon (can't find another one anywhere) and began outlining my subject and de-outlining the background. I have a perfect pink line around my subject (on frame1).
    I then drag the timeline bar and it creates the (mask?) on the first frame only and no subsequent frames.
    I switch to composition view and sure enough the first frame is beautiful (subject complete, background now a black screen), but no other frames are generated rotoscooped.
    Arghhh, I've been at this for about an hour and only first frame is ROTO'd.
    Help?
    Montie

    Montie - this is the line that I have the most suspicion about:
    I then drag the timeline bar.
    What exactly are you dragging?
    The recommended way to engage Rotobrush at this point is to press Page Down to move forward a frame, or press the spacebar to begin preview, not to jump to the end of your footage. Rotobrush only analyzes frames under the playhead, and only frames that are inside a span of time near the base frame you drew the strokes on. So if you move the playhead beyond the span it won't have any frames to analyze.
    This is what a Rotobrush span looks like. The span is the gray area with < and > arrows, the base frame is the yellow mark, and the analyzed frames are the green marks extending from the base frame mark.
    Read here about base frames and spans.
    To me it sounds like you are expecting Rotobrush to do all the work magically when you go to the end of your footage, and that's not the case. It needs to analyze each frame, and you need to keep an eye on the analysis because Rotobrush isn't actually magic, it's just some very cool math.
    Note the part in that document about the default span length: 20 frames forward and 20 frames backward. The reason for the short length is because the farther you get from a base frame the larger the probability for inaccuracies. As you move forward through each frame, check for inaccuracies and draw new strokes as necessary. Each time you draw a stroke, a new base frame is created and the span is extended. If you happen to have a sequence of 20 frames that don't need corrections, you can extend the length of the span and continue. (You could extend the span to the entire length of your clip, but you still need to pay attention to the analysis and make corrections.)
    I hope that helps.
    -=TimK

  • Import from Contour+2 only show first frame of video?!?!?

    Hi All,
    I just got a new Contour+2, and make sure to update the firmware, or FCPX will only show the first frame from the video and no audio.

    Hi Barry,
    You don't need any conversion!
    Simply import the media. If you do multicam, you might wanna transcode to Proxy for faster access..
    But correct with the old videos, they might need a transcode..

  • IPhoto imports ONLY first frame of iPhone 5 videos?

    Hello,
    My videos import as a single still image that represents the first frame of the video.
    Is iPhoto 7 compatible with iPhone 5 videos?  If so, what am I doing wrong? 
    Thanks in advance,
    MTeter

    You need OS X 10.6.8 or later & iPhoto 9 or later, to use your phone with your computer.

  • I used a code i got with my moive to download the itunes version and i was watching the itunes extras, but now when i click on "play itunes extras" it plays the audio but the only thing it displays is the first frame (the movie is catching fire)

    i used a code i got with my moive to download the itunes version and i was watching the itunes extras, but now when i click on "play itunes extras" it plays the audio but the only thing it displays is the first frame (the movie is catching fire) i deleted the movie and reinstalled from my icloud backup and it still does the same thing. The actual movie works fine, its just the itunes extras

    Hi there MickeyDresaj,
    You may find the troubleshooting steps in the article below helpful.
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    -Griff W. 

  • Erase Imperfection in First Frame -  Carry through Rest of Video ???

    I just imported into Photoshop a 4 minute video clip of me talking before a group of people. the video was shot from the back of the room and my hair is sticking up in the back, which is noticeable and distracting every time I lean my head forward as I am talking. Is there a tool in After Effects where I can erase this clump of hair sticking up in the first frame of the video and then have this deletion/correction carry over the rest of the video clip without having to erase it each time it happens in the rest of the video? This will be the first time I have used Photoshop and After Effects. Thanks!

    If the distraction is moving then you'll have to track it and either mask it or use the clone tool to remove it. You should not be doing this kind of video modification in Photoshop, you should use After Effects to clean up the shot then edit it in Premiere Pro or if you just have the one shot, render in AE. There are only a few instances when Photoshop would be the right tool to use to modify a video. A very few.

  • HOW TO DISPLAY VIDEO PODCAST ARTWORK NOT VIDEO FIRST FRAME

    How do I get the photo for my video podcast to display? Feed: http://drcraigjohnson.net/podcasts/video/podcast.xml I only see the first frame of the video in cover flow. Code validates. The image is 600 x 600 per iTune specs, but testing with 300 x 300 didn't help. Thank you!

    The coverflow art equals the album coverart. That art MUST be embedded to show. It doesn't matter if you are actually listed in the iTunes store or not. Now the picture that shows in the store along with website info, customer reviews, etc. is pulled from the iTunes image tags (<itunes:image href="http://yourpictureURL.jpg" /> within your podcast xml file.
    I found the following link within the podcast maker forum with more info from a forum moderator: http://homepage.mac.com/rfwilmut/notes/faq.html#coverart
    BTW when a picture is embedded (whether using iTunes to embed or something else), the actual image, NOT a link to the image is "built into" the file whether mp3 audio or m4v video. I did extensive tests embedding a 50k picture and saw the file's size increase substantially, though not exactly matching the photo size.
    Embedding solved my video coverflow picture issue too. Changing/uploading a new image to your server will NOT change the picture shown in album coverart. Thus your "channel" can have a changeable image (the one in the iTunes tag) but each episode can have its own logo/album art.

  • Apply Photoshop filter effect to first frame of video

    Version: CS4 Master Suite
    OS: Windows XP
    In editing a video sequence, I would like to apply one of the Photoshop filters to the first frame of the video, have that filtered image play back for about four or five seconds, then have it transition to the actual first frame image over about another four or five seconds, and then have the rest of the video play as normal.
    Possible? How?

    Yes, I remember "WWW" well, and recall the stylized still image - it was a very neat effect. Hope that you get what you are looking for. PS is a great creative tool and PrPro will let one do all sorts of animation with still images. I also use Painter (Corel now) for some similar effects. PS makes it easier with Layer Comps, so you can generate incremental versions of effects and get them ready for Import into PrPro. Painter is still a bit "old-school" in that respect, but it only means a few more stylus-clicks. Also, with the newer versions, Painter handles Layered PSD files more like PS does. I think of it as PS Filters on heavy steroids.
    In my case, a "wine snob," is a bit tongue-in-cheek. I'm basically a wino, though I do aspire to sampling all of the great wines on Earth during my lifetime. In reality, I am almost anything but "snobbish" about my wines, because if it's well-made, I can enjoy anything from Affentaler to Zinfandel. Not really all THAT snobbish...
    Hunt

  • FCP X / Motion 5 Drop Zone Video Freeze Frames Only!

    Hmmm, well, I've followed the other discussions here regarding what appears to be an on-going issue with videos not playing (freeze frame only - usually the first frame of the clip) in a Drop Zone.  I'm using the latest versions of both FCP X (10.1.1) and Motion 5 (5.1).  I created a video generator in Motion with 15 drop zones for use in an open for a project I just started on.  These drop zones are sliding left and right in three bands across the canvas.  I can't get any of them to display moving video.  I've used drop zones before and had some success with getting video clips to play in them, but in this case I'm batting zero.
    Has anyone found a way around this problem?  I may just import the videos into Motion and render them there since this open more than likely won't ever be used for any other project; nevertheless, I'd like to be able to use the Motion 5 template as it was designed to be used.
    Thanks.

    The good news, Russ, is that I've made some progress!  To say that using Drop Zones can be a bit quirky is an understatement!  Nevertheless, your Pro Res hint seems to have fixed my issue.  I've been recutting the clips from the master archived files and saving them as Pro Res 422.  The file size is considerably larger that the H.264 files, but since it works I guess I won't argue that point!  :-)
    I need to do a bit more investigation of this next point, but it also seems as if I need to move a frame or three into the clip before inserting it into the drop zone.  I had just been taking the clip and dumping it in as is.  When doing that I noticed that in some cases the clip either didn't play (freeze frame) or it started at some random (or at least what seemed to be random) location within the clip.  However, since I moved the start point in 2 or 3 frames (end point doesn't seem to matter) so far, at least, the clip plays every time and starts from the proper point.
    I don't know if this mattered or not, but I completely deleted the library with the project and event that I was originally trying to edit to.  Since it wasn't working anyway there is nothing lost and I felt it was worth starting the project "fresh", so to speak.
    So far I've only re-clipped and inserted 5 of the 15 drop zone videos but for now, at least, they are all working!
    Thanks again for your help and suggestions.
    John

  • I am having the problem when trying to take a panorama picture.   It may only take the first frame or doesn't even start at all when I press the shutter button. even though when i  hold the phone straight up and down, so that camera is at the top

    I am having the problem when trying to take a panorama picture. 
    It may only take the first frame or doesn't even start at all when I press the shutter button.
    even though when i  hold the phone straight up and down, so that camera is at the top on the back and the home button is on the bottom on the front.
    This problem is irritating me....?

    To take panorama
    - ensure that the panorama option is on
    - press the shutter button once
    - you will see a line with an arrow
    - move around in a circle  ( I keep the camera steady and turn myself around in a circle)
    - as you do this you will see the arrow moving across the screen as it captures pictures
    - at the end of the capture, you will be able to see your panorama picture
    I hope that this helps, do report back.

  • I have a video that I created for my daughter's first birthday.  The hard drive on my computer crashed and I lost the video file.  The only place I have it is on my iPod Classic.  How can I transfer the video from my iPod to my new hard drive?

    I have a video that I created for my daughter's first birthday.  The hard drive on my computer crashed and I lost the video file.  The only place I have it is on my iPod Classic.  How can I transfer the video from my iPod to my new hard drive?

    You are in luck, Refer to this recent post by tt2, on recovering media using 3rd Party Software.
    He has made a comprehensive list, browse through them and decide which  suits your requirements.
    Have a nice day!

Maybe you are looking for

  • External HDD via eSATA or internal HDD - which is fastest?

    I am thinking of putting a fifth HDD in the optical bay of my mac pro. It looks a little bit fiddly to install (brackets, routing cables etc). I also have a Sonnet Tempo E4P SATA card. Is aan external HDD connected vis eSATA as fast as an internal dr

  • How to internationalize Poll question

    Hello I am using Jdeveloper Studio Edition Version 11.1.1.4.0. Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923 WebCenter Portal application. Currently I want to use poll services in my pages. and everything is ok when using one language, but my pol

  • Error executing application after create installer

    Hi, When I execute my main vi, launcher.vi I receive an error when from it I call another vi called main.vi. I attach here the error. Could anyone help me please? Thanks in advance, ToNi. Attachments: error2.JPG ‏30 KB

  • Bean advantage!

    Hi! What is the advantage of using a javabean?Am new to JSP and I feel that I can use an include file in a JSP page rather than using a bean.May I know the advantage pl!Can anybody help?Thanks.

  • Problems with SSI on OS X 10.5 desktop version

    I just upgraded (format and install) to 10.5.4 and I went to enable server side includes. I uncommented the two lines AddType text/html .shtml AddOutputFilter INCLUDES .shtml and I added index.shtml to the DirectoryIndex line as well as adding Includ