Video Clear

Hi everyone, I'm trying to create a videochat using Flex 3
and Flash Media server and I have some problems with the method
"Clear" of Video object. When a user stop publishing its stream
(from the webcam), I receive an event because a shared object
property (with the id of the publisher) changes to "null". At this
time, I invoke the method "clear" of the video object that contains
the stream, but the screen (videoDisplay containing the video
object) doesn't change. I continue seeing the last frame received.
What can I do? Thanks!!

You could also subclass the VideoDisplay control and add your
own public "clear()" method which calls the
mx_internal::videoPlayer.clear() code.
[ActionScript]
package {
import mx.controls.VideoDisplay;
import mx.core.mx_internal;
public class MyVideoDisplay extends VideoDisplay {
public function MyVideoDisplay() {
//TODO: implement function
super();
public function clear():void {
pause();
mx_internal::videoPlayer.clear();
[/ActionScript]
[MXML]
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:custom="*" layout="vertical">
<custom:MyVideoDisplay id="myVideoDisplay" source="
http://www.helpexamples.com/flash/video/cuepoints.flv"
/>
<mx:Button label="clear" click="myVideoDisplay.clear();"
/>
</mx:Application>
[/MXML]
Peter

Similar Messages

  • To view clear quality video image.....

    Hi Folks,
    Goodmorning...
    I have created an .java file which capture destop and save it as an .avi video file. its like desktop capturing but when i try to play that video file its play but not able to view text in clear. can any one hep me to capture good and clear with constant size image at capturing and any other help to view that video clearly with each and every text also with mouse viewable..
    Thanks in advance !......
    Edited by: Rahul_Varma on Jan 14, 2008 7:32 AM

    crosspost
    http://forum.java.sun.com/thread.jspa?threadID=5253809

  • Satellite P300-1CN - Video Blur and dull

    Hi,
    I just got my new P300-1CN with Vista installed. but I am disappointed with quality of vide with big 17 inch screen.
    When I play live TV from say tvunetworks.com for example, picture is blur and I can see the shadows, and it is not sharp, have difficulty in viewing the video clearly. I checked playing DVD image stored on my external harddrive by installing Divx player and it is same...picture quality is dull. I played same video on my previous laptop (from another manufacture 3.5 years old) and it is crystal clear and bright. And by the way I used to watching livetv from same site on my laptop from another manufacture and it is crystal clear.
    I dont know what is the problem, tried changing colour settings, refresh rate and all. But no use.
    Can anybody help to understand what is the problem and how to fix it.
    Thanks in advance.
    VT

    Hi All,
    Can you please let me know whether this is general problem with LED WXGA+ TFT screens?.....I need to decide whether to buy another laptop of same type or not as I have returned my laptop now.
    basically problem is
    When I play Live Video from any video site...video seems to have shadows and can see gray areas and blur video. Video is not sharp and bright as compared to my old laptop (4 years old). Pictures are fine, I have also seen some HD video clip downloaded from Internet and that seems to be fine...But since I use my laptop mostly for watching live tv and videos online, it is not useful for me with this problem. I have tried all the ATI Control Center settings, with settings changed there seems to have been improvement in color quality but not the problem video blur and shadow. Problem also exists when stored DVD file played from external harddisk. Tried all the video players like real, windows, divx and VLC.
    Thanks
    VT

  • I am recording from my computer screen with an elgato game capture card.  Why is the video blurry when I import it to Premiere elements?

    I am recording my computer screen with an elgato game capture card.  When I play the unedited footage on my own computer, it is clear and crisp.  When I import the footage into premiere elements, it becomes blurry.  It becomes even blurrier when I save the edited video.  How do I keep the video clear?  How do I fix it?

    Betharoo
    Thanks for the reply.
    Please check out John T. Smith's information.
    At this point, if you could tell us the file extension of the file involved, that would give us a start while you are
    gathering the rest of the details.
    You can easily get some information for us from Properties for your imported video that is blurry in the Editor.
    1. Click on Expert to get into the Expert workspace of Premiere Elements 13
    2. If you have not already, import your file into the program using Add Media/Files & Folder/Project Assets.
    3. Open Project Assets to see a thumbnail for the video that you just imported. Right click that thumbnail,
    and select and click on Properties from the menu that opens.
    4. Tell us what is listed there is Properties - it should look something like this one which is specific for one of my wmv files.
    Your information will be specific to the file that you right clicked in your Project Assets.
    From what you have written so far, yours should show
    Image Size 1920 x 1080
    Frame Rate either 59.94 or 60
    Also, please go to Edit Menu/Project Settings/General, and tell us what you see for
    Editing Mode
    Timebase
    Frame Size
    Pixel Aspect Ratio
    even if the fields look grayed out.
    Your project settings may be contributing your Edit area previewing problems.
    All of the above will keep us moving forward in the troubleshooting.
    Thanks.
    ATR

  • Deleting videos?

    just got a new ipod nano with video..tried out the video camera and have no idea how to delete videos ive taken..any ideas on how to do this..thanks in advance!

    Did you look?
    Page 55 of the manual:
    "Deleting Recorded Videos
    Removing unwanted videos clears disk space for new videos. Recorded videos can be
    deleted one at a time, or all at once.
    To delete a recorded video:
    1 Go to Videos > Camera Videos and select a video from the list, or select a video from
    the Camera Roll screen.
    2 Press and hold the Center button until a menu appears.
    3 Choose Delete, or Delete All. "
    http://manuals.info.apple.com/enUS/iPod_nano_5th_genUserGuide.pdf

  • Not allowing burning of videos or TV segments to DVD or VCD.

    I think it is wrong not to be able to burn a disc from a downloaded TV show. I paid $1.99 and should be able to burn my Dragnet episode to VCD or DVD and watch it at work or on my TV set. I'm glad I only downloaded one segment.
    I will not pay Apple another cent for music or anything else until this is allowed.
    Tomtom58
    iMac G5   Mac OS X (10.3.9)   512 Mb. Blue Tooth.

    http://www.apple.com/itunes/videos/ clearly states: Watch as many times as you choose, share between five computers, burn to data CDs or sync to the new iPod.

  • What are some of your best practices for using videos in your marketing campaigns?

    As video becomes more and more popular, what are some best practices you have for effectively using video in your marketing campaigns? Any cool examples?

    Just saw this topic.
    We use video a great deal in our campaigns.  One of our best ones though was for an offering that the written word couldn't convey as quickly, succinctly, or visually even with graphics that a short commercial could do.  We therefore created a simple video with professional VO work and blasted it out via email and social networks.  The video clearly communicated our product and it's value to our prospects.
    In return we got a enormous response of form submits from individuals wanting to download the products overview documentation.  It is still one of our most watched videos.
    We are now looking at adding in more value-add videos to go along with the current 'product information' stable to help generate more soft-sell opptys.
    We are firm believers in using video.  You can't just put anything out there and expect just because it is a video to do well.  You must plan it carefully, think the messaging and value offered through just as much as any outbound offering.  Time is still valuable and your prospects are always asking what's in it for me.  Once they get something that they believe wastes their time, they will be more skeptical in the future regarding your videos or any messaging.
    Keeping trust and relevance is essential to generating value with video.

  • Premiere Elements 8 & MP4 video problem

    A.T. Romano
    Attached is my MP4 video from my Sanyo Xacti. When I perform a "Get Media" in Premiere Elements 8 I only see red cells in the timeline, task panel and playback monitor were red. No video images would display, only sound. Any Ideas?
    Thanks APK

    APK
    SANY0002.MP4
    According the gspot utility
    Video Codec = MPEG-4 Video
    Frame Size: 1280 x 720
    Frame Rate: 29.97 frames per second
    Sar = .1778 (16:9)
    Par = 1:1
    Dar = 1.778 (16:9)
    Audio Codec = MPEG-4 AAC LC
    48000 Hz 128 kb/s tot, stereo (2/0)
    Premiere Elements 8 Import/Playback
    SANY002.MP4 original. Video and Audio imported, but video presented as a bright red matte, but audio was fine.
    SANY002.MP4 with file extension changed to .AVI. Video and Audio imported, but video presented as black video, but audio was fine.
    Conversion Workaround Solution
    Convert file to DV AVI widescreen (720 x 480 with 16:9 flag)
    MPEG Streamclip (free MPEG Streamclip + QuickTime Alternative 1.81 (with free MPEG2 Playback Component) and uninstall regular QuickTime OR free MPEG Streamclip, leave your regular QuickTime installed, and buy the required Apple MPEG2 Playback Component)
    http://www.squared5.com/
    http://www.apple.com/quicktime/mpeg2/
    MPEG Streamclip suggested settings:
    File Menu/Open, to bring in your video
    File Menu/Export to AVI
    Then in AVI/DivX Explorer dialog:
    Compressor: Apple DV/DVCPRO-NTSC
    Sound: Uncompressed
    Put a dot next to 720 x 480 (DV NTSC)
    Field Dominance: Lower Field First
    Up at top right, click on Options, set there for Aspect Ratio = 16:9.
    Only if necessary, put a check mark next to Deinterlace Video.
    Anything that I did not mention, leave as is.
    Finally, click on Make AVI and the job is done quickly and effectively.
    This gave great results with your video, and this DV AVI version worked well video and audio wise in Premiere Elements 8.
    Your could use the free Prism Video Converter, but the free version is limited to 4:3, and some export types are only available in the purchased version.
    http://forums.adobe.com/thread/415317?tstart=0
    Prism suggested settings:
    Output format = .avi
    Encoder Options = DV Encoder NTSC (Direct Show)
    Edit Option = check mark next to Resize Video; uncheck Constrain Proportions; set for 720 x 480.
    You could also get a .wmv version from this software. Look into that if you decide to use this converter instead of MPEG Streamclip which is my favorite.
    There are lots to explore with your original HD MPEG-4 and its problems with Premiere Elements 8. At one point I had this video on a jump drive. When I went to import the video into Premiere Elements 8 from this jump drive, the Media Downloader was triggered. In the intermediate part of this process, a thumbnail of the video being exported is shown in the Media Downloader Advanced dialog. Interestingly, the thumbnail in the Media Downloader showed the video clearly, but once it got into the Premiere Elements 8 media area—bright red matte looking image in Organizer thumbnail and in the Edit Mode Monitor once the video was dragged to the Timeline.
    ATR

  • No picture in YouTube videos

    On March 2, Firefox 3 series downloaded a new version, and I also downloaded a new flash version.
    Since then, I have not been able to see a picture in YouTube videos.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Try to disable the hardware acceleration in the Flash Player.<br />
    See [[Cannot view full screen Flash videos]]
    * http://www.youtube.com/swf_test.html (right-click the player: Settings)
    Flash "Display settings" window:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • When I try to downlead a video (youtube) the dropdown allowing downloading to MP4, FLV, etc. no longer appears below the video. I have no idea why it is no longer there.

    The "Download As" is no longer there below the video.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    You can try to change the protocol in the URL from http:// to https://

  • Live Flash Streams issue on Multiple Macs - video frozen, audio only

    With live Flash streams on some Macs, the video doesn't play and only the audio does (or more accurately, the video plays for a second or so and then shows a frozen frame while the audio keeps going).  We've had this occur on three different Macs so far, but not all Macs we've tested on.  We were able to look up the graphics cards on two of them that had issues and they both have both NVIDIA GeForce 9400M and 9600M GT listed in the System Profiler.
    Having the user manually disable hardware acceleration fixes the issue, as does pausing and then playing the video.  Running Safari in 32 bit mode did NOT fix the issue.
    Flash player release notes list this as a known issue.  When might a patch for be released?  We don't want to disable hardware acceleration for all Mac users because it only affects some of them and thus some / many would be unnecessarily negatively impacted.
    http://kb2.adobe.com/cps/901/cpsid_90194.html#main_known%20issues
    Mac users may run into rendering issues with certain live streams due to  an incompatibility between the stream encoding and the hardware  decoder. We are aware of this issue and are working with Apple to  resolve it.  Users may workaround the issue by pausing and then  unpausing the live stream.  Developers can work around this issue by  forcing the video to be decoded in software - create two Video objects,  attach the stream to the first, then stop it and attach the stream to  the second Video object (2819870, 2818959, 2779420).

    From Brad Outlaw:
    Are you reusing the same Video object for the new NetStreams?  Have you tried doing a Video.attachNetStream(null), Video.clear() and then attaching the new (or re-allocated) NetStream object?  The video pipeline might be playing out some residual data that was sent to it from the prior NetStream.
    Adding those suggestions seems have have done the trick. I had simply been trying to manipulate the NetStream and not the Video. Although I did try attaching a null NetStream to the video at one point, I had not done so with the Video.clear().

  • Compression Porblems, see my video

    Okay, I have tried so many settings to make this video clearer. First, when I export it to the desktop and play it, it is crystal clear. The problem arises when I go to upload it to either MY SPACE or YOU TUBE. Before you say it's there fault, it's not. There are plenty of clear music videos on both You Tube and My Space. Look at my example, it has a slight blurr or haze to it. How do I get better compression export and eliminate the blur or fuzz. I tried H.264 and Sorenson 3. I tried them at a small aspect ratio and a large aspect. I'm wondering if it is the Frame rate or Key Frame rate. I set the Frame rate at 15 and the Key Frame at 24. What am I doing wrong? I interlaced it, rendered it properly, etc... Look at example on my MY SPACE site - the music video that I did. I don't get it becasue my expert is so clear and nice. Thank you for your help!!!
    Go to: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=874304 24

    For YouTube that looks really good. You'll need to up the data rate and frame rate to get better quality. How big is that file? How long's the video? What's it shot on? There's a lot of soft edges and motion backgrounds in the video that consume a ton of compression band width. Look at the the full frames shots of the guy in yellow with the light behind him. The image is really clan, with good edges. You'll not see that when you fill the image with lots of soft edges and motion. There's too much action and the image is too difficult to compress sharply so the whole frame tends to soften. It's not only what you do to compress it, it also what you do to shoot it and edit it and composite it. If you want sharp clean, hard edge images you need to shoot and edit and create a program that lends itself to that kind of compression.

  • Mpg video play in nokia n73

    I want to play mpg,mpeg videos in nokia n73. I don't have pc so i want a software which directly install in my mobile. I will see the videos by internet browsing in my phone & if movies to be converted that can also to be done in phone.

    25-Sep-2008 12:50 PM
    el_loco wrote:
    N73 only plays MPEG-4
    that seems like a rather limited view of the handset... it's an s60 device right? so it's a computer in your hands....
    to the OT: i wouldn't recommend seeking an app to convert the files (transcode the video) on the phone itself: even if you could live with the SLOW performance, the power draw would kill your battery faster than you can say "charger?".
    but you DO have options. i would start by looking at these three products (i wasn't able to immediately find a list of supported codecs, but codec support (like MPEG1, etc) can be different on each application, not a system-wide "only plays MPEG-4").
    1. DivX Mobile
    http://www.s60tips.com/2006/09/29/featured-freeware-divx-player-for-s60/
    2. SmartMovie
    http://my-symbian.com/s60v3/software/applications.php?faq=14&fldAuto=39
    3. TCPMP
    http://www.dotsis.com/mobile_phone/showthread.php?t=43733
    DivX mobile is designed primarily to play divx video, clearly. divx is, technically, one implementation of the MPEG-4 standard, though it's different than h.264 (which the phone natively supports). i would expect it to work with a set of codecs, though i couldn't find a list of which ones.
    SmartMovie has been around forever - it comes bundled with a PC converter program (which you clearly don't want to use) but don't let that scare you off -- the app can likely play a set of video codecs as well.
    TCPMP is, apparently, still in an early stage of development. but the link i provided is to a forum where a user proclaims it to be excelent and capable of playing "mpg" videos - however this means something different to everyone who reads it (and likely means nothing at all to anyone truly familiar with the process of en/de-coding video streams).
    Those are three options to get you started. i might suggest Skyfire as a fourth, though it's not actually a video player, but a web-browser (arguably one could call it just the user interface of a web-browser). with skyfire you can surf to sites like [http://www.hulu.com] and watch streaming TV shows and movies. hulu is a legitimate online video source, in case anyone is wondering. skyfire will play pretty much any streaming video content on the web. the beta release has just been opened up to public consumption (only for users in the USA). try it at http://skyfire.com (i am NOT financially connected to skyfire).
    goodluck,
    -bit
    N95-1 ---> N97-NAM ---> N900 ---> E7-00 + N900 (I use them both)
    (N95 was pretty good, N97 had potential but utterly failed to deliver, N900 is absurdly good. Those of you wondering, "should I try N900/Maemo/MeeGo"? The answer is a resounding YES)

  • Streaming video using a web camera is choppy

    Hello,
    I have an swf program built with flex which displays video from a web camera. The problem is that the the video is being displayed a bit choppy. You can see an example at https://www.completelyonlinetestserver.com/Flex/videobox.html. Try holding a piece of paper with writing in front of the camera and you will see that the writing is very choppy.
    What can I do to make the video clearer?  Any help would be very appreciated.
    Thanks
    Armen  

    Hmmm...I dont have the drivers installed on my computer for my web cam to work, but when I compile that example do get the trace output, "You need a camera.".  So that part works.  Below is the code ported into an MXML file.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="absolute"
                    applicationComplete="CameraExample();">
         <mx:Script>
              <![CDATA[
              private var video:Video;
            public function CameraExample()
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align      = StageAlign.TOP_LEFT;
                var camera:Camera = Camera.getCamera();
                if (camera != null)
                    camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
                    video = new Video(camera.width * 2, camera.height * 2);
                    video.attachCamera(camera);
                    addChild(video);
                else
                    trace("You need a camera.");
            private function activityHandler(event:ActivityEvent):void {
                trace("activityHandler: " + event);
              ]]>
         </mx:Script>
    </mx:Application>

  • Playing youtube h264 (html5 mode), always blurry video

    Html5 player, H264 format.
    In h264, all videos a little blurry.
    If you i use a flash or vp9(html5 player) it's all right, everything is clear.
    Here are two screen to compare:
    http://www.imagebam.com/image/68212d380509320 (h264 (html5)
    http://www.imagebam.com/image/ab4db6380509306 (flash h264)
    Video: http://www.youtube.com/watch?v=BMT42q4zPd4

    ''cor-el [[#answer-675676|said]]''
    <blockquote>
    Did you check that you get the same resolution
    </blockquote>
    Yes, the resolution is the same.
    No matter what resolution in h264 (html5), always blurry video, as provided in the picture.
    But if video in vp9, then there is no blur, video clear and sharp.
    For the test, I checked out the video in chrome and Opera browsers, html5 mode (h264), the picture there is the same as the link "(flash h264)" in first post.
    I hope it then change for the better(future firefox builds), watch this blurring is not particularly pleasant.

Maybe you are looking for