Video is not clear

Dear

I have

Cam C40CODEC-CTS-K9 and cisco cisco cts-phd-1080p12xs. My problem is that when I use the cam the picture on the video is not clear. Please help me, it is an agent. I also need to inform the camera zoom and motion detection to work well. What should I do?

Please advise, I will apperciate this

Hey Islam,

Assalamu Alaikum. According to your description, the problem seems to be on the local site where even your auto view does not work well. Here are the possible reasons for this behavior:

-Faulty camera

-Defective Codec configuration

-Defective camera cables

-Environment room

In order to isolate, please connect the camera directly to a screen using an HDMI cable. You can always connect the camera via the codec using the Visca cable which is used for control and power.

If you still don't see a fuzzy picture on the screen, this means that the device is defective or the problem is with the lighting in the room. In order to get a clear picture, you must have sufficient lighting in the room in order to use the camera for a video in HD quality.

Please review and let us know.

Thank you

Saint André
Telepresence solutions group

Tags: Cisco Support

Similar Questions

  • Why all the videos are scrambled. not clear

    When you view the videos or ads they are all scrambled, & is not clear. My os is linux zorin are the correct settings? Many thanks allan

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot.

    You can have zoomed pages by accident.
    Reset the zoom of page on pages that are causing problems.

    • View > Zoom > reset (Ctrl / command + 0 (zero))

    You can try the following steps in case of problems with web pages:

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

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

    "Clear the Cache":

    • Edit > Preferences > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Edit > Preferences > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

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

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Videos stopped playing on all websites, just get black screen. Fixed not clearing cache and cookies and restart in safe mode.

    Fixed not clearing cache and cookies and restart in safe mode.

    Your system details list shows two plugins Flash, a Flash 10.0 very old version you must uninstall (remove).

    1. Shockwave Flash 11.7 r700
    2. Shockwave Flash 10.0 r32

    Manually, see "uninstall a plugin:

    See also:

  • Why then download a clip is not clear, some of the writing, it is not clear how can a solution this? Thank you very much for your time and your help on this issue.

    Video playback that I just downloaded in my VLC it don't watch not clear enough to read Instructions, how can I make it clear to be able to read the Instructions? I thank very you much for your time and your help.

    It could be that the music is bad. It could be your software.

    Download the latest VLC Player.
    Post a public link to the clip.

    • see if there are updates for your graphics card disk drivers

    https://support.Mozilla.org/KB/upgrade-graphics-drivers-use-hardware-acceleration

    • Disable protected mode in the plugin Flash (Flash 11.3 + on Windows Vista and later versions)

    https://forums.Adobe.com/message/4468493#TemporaryWorkaround

    • turn off hardware acceleration in the Flash plugin

    https://forums.Adobe.com/thread/891337
    See also:

  • My hp pavilion elite hpe-204f video does not work

    My hp pavilion elite hpe-204f video does not work so I replaced it with another video card that worked. After installing the card and start the system I saw the video on my monitor. Great! I need to replace my video card. No problem.

    Afer by purchasing and installing a new video card, I have no video. I put a new one in another computer. This works. I put the video card which worked yesterday... that did not work.

    Then, I put the original video card that I thought that did not work on another computer and Yes... it worked.

    Should I assume that I have a bad graphical location on the motherboard? If so, short of buying the same motherboard is there anything else I can do?

    Thank you very much for the research.

    Hello

    The integrated video processor still works when the video card is removed?  If Yes, then try this memory bootable Diagnostics CD. Download memtest86 iso file and burn the disk using Imgburn.

    If the above is successful, then re - install the map graphic and clear the CMOS.

    Another thing to try:

    A good cable video know.

    A known good monitor.

  • Structure of the event does not clear the queue after his release from the Subvi

    OK I'm not sure if this is a stupid question or not...

    I was trying just a few tips and stumbeled on this problem...

    So I created a sample (not exactly)

    In qqq_Main.vi just press PressMe

    (it opens a Subvi qqq.vi)

    There are two buttons to stop "Alt1" and "pylone2".

    To close the Sub - VI press either on "pylone2".

    or press "Alt1", then "pylone2".

    with the latter method of the value of closing change pylone2 is registered outside the while loop and after the closure of the Subvi should not it be erased? (Or should manually clear us it?)

    For this reason not clear, the second time I press 'PressMe' change the value of pylone2 even goes off before you press anything

    I can't look at your code at the moment, but according to your description, it seems that the system works as expected. I guess you do a completely static record of events (open the event configuration dialog box and select the controls and event).

    The first thing to clarify is your use of the term "registered". In this case, it's a problem, because the registration in the context of the protests means asking to receive the event when it happens.

    Now that you know it's important to understand where the recording is happening, because that's what determines which events are stored in the queue. When you use this type of static record, registration happens from the VI the event structure is in run mode (Note: this does not mean that the VI is actually running, but just that it's the of running or reserved for the race) and the cancellation of registration only happens when the VI mode of execution. Who is right for which you get the events in the queue of the previous run of the VI - the VI is still in run mode, then the event is added to the queue and still waiting in the queue until the structure of the event to run again.

    You can work around something like that by switching to dynamic registration of events, where you can unsubscribe to empty the queue at the end of the VI, but requires more code. Also, in 2013 LV there are a few features added to events that could allow to do this statically (I don't study all the additions, so I don't know if this is possible for static recording).

    There is a good presentation on the events of NIWeek 2013 by Jack Dunaway. You can find details of how to download the video here - http://lavag.org/topic/16091-ni-week-2012-videos/

  • Hello. Does anyone know why a dot on my videos but not my photos? Thank you.

    Hello

    I'm pretty new to DSLRs and I have a strange problem, I hope you pros can help with

    I recently had a canon t3i and use it mainly for video. A small dot (see below, in the yellow circle) has appeared in videos. It is always in the same place and it did not exist before. At first I thought there was something on the lens, but no, and the strange thing is, the point does not appear when I take still pictures, only videos.

    Nobody knows what this could be and how can I get rid of him?

    Very appreciated

    Vlaminck

    This likely dust on the sensor – don't be not alarmed, it is ordinary and easy to clean.

    There are actually two filters in front of the sensor - then 'dust on the sensor' is really the dust on the filter (nothing can really touch the sensor.)

    Most of the models of rebels have a self-cleaning - mode but it uses a piezoelectric effect vibrates the filter and I hope only to shake loose dust.  He used to always work.

    If this does not work, you have two options... it take a photo shop to clean (some stores may practice you a little money... even if I've heard of places that charge customers $50 - I think that's quite excessive.)  The other option is to clean it yourself.   If you do a lot of photographry, you can learn to do it yourself as well because it is something you will probably need to do from time to time.

    I have levels of aggressiveness that I use to clean a sensor... start by simply using the puffs of air (not very aggressive) and working my way up to the point where if nothing works otherwise, I could have possibly used the wet cleaning (but is almost never necessary.)

    Remove the lens, point the camera down so that the aperture of the lens is facing the ground (or resting on a table).  Turn on the camera, use the menus and select the self-cleaning option.

    See page 184 of your manual.  Basically you press menu, navigate to the #2 yellow key and navigate to "sensor cleaning".  Call the "Clean now" option (you may need to do more than once... but if it is not clear after 2-3 attempts, then the time to move to the next step.)

    By the way, to check if it is clear, put the lens on.  Set the camera to Av mode, compose a value large aperture (f-stop) - say f/16 or f/22.  Now, find a simple white wall (or ceiling) and take a picture.

    It is the sensor dust easy to spot VERY when you have a white non-contraste surface like a white wall or a ceiling AND use a high value of f-stop.

    It is clear, very well.  You are finished.

    If this isn't... next step is to get a hand blower - squeeze - like a Giottos "Rocket Blower.  I do NOT recommend you cans of compressed air.  These boxes will spray a residue (fuel) on the filter if you do not pay attention and then the filter should be cleaned at the wet.

    Access the menu cleaning sensor itself, but instead of "clean now", choose "Manually clean".  This causes the camera to raise the mirror and open the shutter to expose the sensor (really the filter).  Keep the camera pointed down and apply several puffs of air into the camera.  DO NOT let the tip of the fan touched anything inside the camera (otherwise you can mark or scratch the filter and make things worse.)

    If that is not ALWAYS clean, I use a magnifying glass to inspect the sensor to see what I'm working with.  You can buy these brands such as "Sensor scope" and they are inexpensive.

    My next step is to try a VERY soft brush to see if he brushing.  Use without pressure... just a few features very soft and very light should do.

    If none of this works, then it's time for the wet cleaning.

    Buy brand Eclipse cleaning solution (made by "Photographic Solutions, Inc." and transported in more real camera stores (not department stores that sell cameras).  You can also order online.

    You will also need the right size, cleaning swab.  This same company (Photographic Solutions) makes "Sensor swabs" but they come in sizes to fit your sensor.  For cameras with sensors APS - C size (which is what you have), you want a buffer of size of Type 2 sensor.

    OK... the purpose of this next step is do NOT damage your camera buy waste of money (not... "I'm not kidding actually.)

    You will place about 2 drops of Eclipse solution on the end of the cleaning swab.  You use the swab to sweep from one side to another sensor using almost no pressure.  Eclipse is almost pure methanol, evaporates quickly and leaves no residue.

    You will now be IMMEDIATELY discard this swab.  (this is what I mean about the bit 'wasting money').   There are 12 buffers in a box.  You can use a couple of them to clean the sensor.  They are cheap.  Your camera is not.  Do NOT try to save money on cheap disposable pads and risk damaging your camera - because if this swab picked up a little sand, would you scrape little sand on the sensor by reusing the it.  That's why I suggest using almost no pressure AND why I suggest to use the scope of the sensor to inspect the sensor and see what I'm working with.

    A sensor cleaning is not difficult, and if done right, it is not even dangerous.  But if you take anything to him as you have been cleaning a window, then you could make things worse (and potentially expensive to correct.)  Just go slowly.  Inspect everything.  I ran with the assumption that all which is on the sensor will scratch if I do not pay attention (even if most of the time this isn't true) and very light pressure allows to "tease" the offending bit of dust on the sensor.

    When you are finished, simply turn your unit on and put the lens on.  It automatically closes the shutter when you press the power switch.

  • Text on the screen is not clear

    I have a new Dell Vista pc runiing. I have a LCD Ultrsharp DEll monitor. ATI @MB graphics card, the resolution is set to 1280 x 1024, everything seems OK, but any text on the screen is not clear. HE's a little fuzzy. How can I fix it?

    Hi Amber321,
     
    How long have you been faced with his problem?
     
    You make changes to the computer until this problem occurred?

    I recommend you set the screen resolution and other settings. To do this follow the link below:
     
    http://windowshelp.Microsoft.com/Windows/en-us/help/617624ee-08f3-4AFF-9713-5e84a9674a261033.mspx
      
    You can also check out the links below:
     
    Ways to improve display quality
     
    http://windowshelp.Microsoft.com/Windows/en-us/help/132c1dab-6da1-47cf-96af-8f00eceaf6f51033.mspx
     
    If the links above do not work, you can check out the link below which will be useful:
     
    Troubleshoot monitor and video card
     
    http://windowshelp.Microsoft.com/Windows/en-us/help/2582c444-448C-4fb5-ba0c-d753f88d64791033.mspx
     
    I hope this information is useful.
     
    Please let us know if you need further assistance.
     
    Concerning
    Rehman - Microsoft Support

  • Z5 video recording not working anymore

    I have a Sony Xperia Z5 for a few months and it worked fine. Yesterday, I discovered that the video no longer works. If I open standard camera app, by scanning the video and press the red button, the application crashes and reports "camera has stopped." Taking the photo very well and a few weeks ago works, video recording has also worked. I can still play the old video.

    Help, please.

    Try this

    go to settings > app > can find video > erase data, clear cache and force stop > then reboot the phone and try its work or not

    Do not forget to give congratulationsand select the correct answer

  • Download the video does not

    Try to download a video. When I click on license, no download occurs. So far I've been charged twice for the same video but not download.

    Hi Adam,.

    I gave you a replacement for one license of that made you pay twice. Could you please clear your browser history/cache and restart the browser? After you connect to Adobe Stock and try again. You should not be required to buy the video again. Please be aware that if you buy or license for an article that you have a license and we do know. Looks like you may have found a bug.

    EBQ

  • I am getting color blocks when my video is not playing and the export will go out with the same blocks

    Hi all

    First Pro CC worked fine on my Macbook Pro the week and last week, he has a problem. I get an image blurred when the video does not play, but when he plays he is clearly going. I can work with that, but the problem is that when I export, I get the same image blurred. I uninstalled the program including the settings and get installed yet and still the same problems.

    Any ideas would be a great help.

    The image below is a screenshot of the video pause/stop

    Screen Shot 2015-10-12 at 11.30.45.png

    The image below is a screenshot of the video playback

    Screen Shot 2015-10-12 at 11.35.43.png

    Hi Tony,.

    Go to the file/project settings/general and change the rendering on "Mercury Playback Engine software only" engine.

    Kind regards

    Navdeep Pandey

  • Audio/video will not synchronize even after Audio

    Hey guys,.

    My audio and video won't sync properly, even after I try to align the audio video.  After a few seconds, the audio is back.  It's almost like the A / V play at different rates.

    I got this video a recently recorded livestream that my job done.  They sent me a link to download the mp4.  He played fine in Quicktime format.  So I opened an empty project from the first, drag the video, the audio is disabled.  Then I pass the audio to sync and it matches later upward to the bottom of the timeline.  I tried to make A / V, playing with frame rates, and I'm not having any luck.  For some reason any in FCP, I can match and synchronize the audio and video very well.  But when I try to export it, FCP can't finish the job.  The video is about an hour long.  The they gave me the files are corrupt?  They want this to me as soon as POSSIBLE, and I don't know what to tell them.

    Thank you!

    Jeremy

    Convert video using Wondershare cleared up my problems.  My problem is solved.

    Thank you Jim and Kevin.

  • Custom using netStream video player not working not

    I have problems playing movies using the flash in a way that is not sinking tons of memory (http://forums.adobe.com/thread/851908). So, I tried to build my own, but I can't allow him to play anything... What don't I get on the netStream working with the VideoDisplay?

    customComponents package < code >
    {
    import flash.events.Event;
    import flash.events.NetStatusEvent;
    import flash.events.TimerEvent;
    import flash.media.SoundTransform;
    import flash.media.Video;
    import flash.net.NetConnection;
    to import flash.net.NetStream;
    import flash.utils.Timer;

    Import mx.core.UIComponent;
    Import mx.events.FlexEvent;

    / * Explanation of the component: VideoDislplayCustom is a replacement for s:VideoDisplay, because our load method in video memory leaks in the order of several hundred megabytes every time a new video has been loaded. It provides a video object that attaches to a netStream, which allows us to broadcast the video files on the hard drive to play rather than load them into the player. By preventing the caching of all kinds, overcome us the leaks memory of this magnitude and are a tool that can last throughout the day switching between videos often. */

    SerializableAttribute public class VideoDisplayCustom extends UIComponent
    {
    / * Constructor * /.
    public void VideoDisplayCustom()
    {
    Super();



    videoPlayer = new VideoDisplay();
    this.addChild (videoPlayer);
    this.addEventListener (FlexEvent.CREATION_COMPLETE, init)


    netConnection = new NetConnection();
    netConnection.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);
    NetConnection.connect() (null);

    netStream = new NetStream (netConnection);
    netStream.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);
    netStream.client = this;
    netStream.bufferTime = BUFFER_TIME;

    setVolume (defaultVolume);
    }

    / * Necessary, because we need allow all this time to initialize before you start trying to create certain things or parts of some components addressing.
    * Called from: this. Creation_Complete event that is raised after this component is all assembled. */
    private void init(event:Event):void
    {
    this.removeEventListener (FlexEvent.CREATION_COMPLETE, init);
    videoPlayer.visible = true;
    videoPlayer.source = "";
    videoPlayer.videoObject.attachNetStream (netStream);
    }

    / * Global variables * /.
    Define our constants.

    Time to buffer, in seconds. Subsequently assigned to the netstream object
    protected const BUFFER_TIME:Number = 8;

    Public variables.

    We must be able to define a source for our video player.
    public var source: String = "";
    Maintains the boot volume when the player starts, defined in terms of percentage of the total volume of the system.
    public var defaultVolume:Number =. 60;
    Because when we turn it off to save the previous volume. This wil enable us to check with our drop-down list component or other components to make sure that
    We have the right to 'lastVolume '.
    public var lastVolume:Number = defaultVolume;
    When we turn off our video, we know that she is mute. Checking to see if the volume 0 is accurate, not enough, so we have a variable for it. In addition,
    the s:VideoDisplay uses a variable 'muted', if we want to keep the same looking for outside like this component.
    public var muted: Boolean = false;
    When we want the video loop, you have to know that, so here is our Boolean loop. In fact, when we reached the end of playback, either deliver us
    a "complete" event, or we start playing again from the beginning. This value determines what.
    public var loop: Boolean = false;
    We need to know if we can soften the video or not (to improve the quality of reading).
    public var smoothing: Boolean = true;

    Private and protected variables.

    We need a video object to attach the netStream to. So, here it is.
    protected var videoPlayer:VideoDisplay;
    We must be able to access netConnection and NetStream objects from outside this component (to set the source and check on things), so here is our
    objects.
    protected var netConnection:NetConnection;
    protected var netStream:NetStream;
    We need to know if the stream is loaded or not before we can read.
    protected var loaded: Boolean = false;
    We need store metadata for the video that load us up, so here's our storage object metadata.
    protected var vidInfo:Object;

    / * Meathods of this component (aka public functions), visible to the whole program. */
    public void play (): void
    {
    Words of the var: String = «»
    If (!) Loaded)
    {
    netStream.play (source);
    load = true;
    } else {}
    netStream.resume ();
    }
    }

    public void pause (): void
    {
    netStream.pause ();
    }

    public void stop (): void
    {
    netStream.pause ();
    netStream.seek (0);
    }

    public void seek(timeToSeekTo:Number):void
    {

    }

    public void setVolume(volumeToSet:Number):void
    {
    var soundTransform:SoundTransform = new SoundTransform (volumeToSet);
    netStream.soundTransform = soundTransform;
    }

    public function mute (): void
    {
    if(!muted)
    {
    lastVolume = videoPlayer.volume;
    setVolume (0);
    Mute = true;
    } else {}
    setVolume (lastVolume);
    Mute = false;
    }
    }

    / * We store the metadata collected by the NetStream object, information so that we can him later in this program. This isn't really a meathod, but it
    * should be made public so that the NetStream could find it.
    * Called from: NetStream object, as soon as he gets the metadata and information loaded file. */
    public void onMetaData(info:Object):void
    {
    vidInfo = info;
    }

    / * Functions private and protected this component, closed to the rest of the program. */
    protected function netStatusHandler(event:NetStatusEvent):void
    {
    Switch (event.info.code)
    {
    case "NetStream.Play.StreamNotFound":
    trace ("Error. Stream not found: "+ source);
    break;
    case "NetStream.Play.Stop":
    Stop();
    break;
    }
    }

    < code >

    Any help?

    Here is the code for the component. I hope there is nothing odd about that. I have included my contact information at the top. Please send me an email me or Adobe PM if you have questions or comments about this code. Hope this helps someone. It took me a good while to tinker until I found this.

    You can also find this useful if you do not need to completely rebuild the component. http://bryanheisey.com/blog/?p=21

    [CODE]

    /* Contact info: Jordan: [email protected] between 2010 and 2015. */
    
    /* The built-in video display object would not work for our purposes, because it would leak enormous amounts of memory (in the order of 200-300MB) every time a new
     * video was loaded in and played. It was almost as though it retained all previous videos played in memory, rather than replacing the video it had loaded.
     * After farther investigation, I believe it had to do with the fact that s:VideoDisplay discards the source and videoGateway, and creates a new one, meaning that
     * garbage collection has to get in there and fix it. However it doesn't unless RAM is also being lost in enough little chunks, so...it never cleaned up.
     * This is the first attempt to fix that, by directly manipulating the netStream, and streaming the video, rather than loading it in as was happening in s:VideoDisplay.
     * I have, however, followed the structure that was presented in s:VideoDisplay provided by Adobe in the Flex 4.0.1 framework as far as where events and public functions
     * and so forth are declared. This video player uses a lot of code and ideas from s:VideoDisplay and the player described at
     * http://www.flashwebdesigns.com.au/index.php/2010/07/custom-flex-4-spark-videodisplay. More details of what this actually is found right above the constructor. */
    
    /* TODO: Looping pauses for a moment before restarting.
              */
    package customComponents
    {
         /* Imports:
          * NetStatusEvent is used to react to specific events in the video stream. For example, when it starts to play, when it stops, and so forth.
          * SoundTransform is a class used to control the volume in the NetStream, and so when the volume is changed, we need to use this to create a new sound handler for the
               stream.
          * Video is used as the gateway through which the NetStream is visible. That is actually it's only purpose, because we wind up directly manipulating the NetStream when
               we need to do anything with the video.
          * NetConnection is used to initiate our NetStream. NetConnection is looking for a server connection. When we pass through null as the server, it knows we're after
               local content.
          * NetStream is what actually plays the videos off the computer. This is the central piece of this component. Using this class as our primary piece of this component
               is what allows us to circumvent memory leaks and other issues.
          * UIComponent is what this component extends, so it's needed for the basis of our component.
          * FlexEvent is required to allow us to listen for creation complete, allowing us to call an init() function here like we do with almost every other component we have.
          * TimeEvent was the original type of event used in s:VideoDisplay, so working on changing as little as possible, we kept that as our event types, and by the time we
               finished, there was no point to changing it. */
    
         import flash.events.Event;
         import flash.events.NetStatusEvent;
         import flash.media.SoundTransform;
         import flash.media.Video;
         import flash.net.NetConnection;
         import flash.net.NetStream;
    
         import mx.core.UIComponent;
         import mx.events.FlexEvent;
    
         import org.osmf.events.TimeEvent;
    
         /* Events */
    
         /* complete is dispatched when the playhead reaches the duration for playable media.
          * original eventType: org.osmf.events.TimeEvent.COMPLETE */
         [Event(name="complete", type="org.osmf.events.TimeEvent")]
         /* durationChange is dispatched when the duration property of the media has changed.
          * This event may not be dispatched when the source is set to null or a playback error occurs.
          * original eventType: org.osmf.events.TimeEvent.DURATION_CHANGE */
         [Event(name="durationChange", type="org.osmf.events.TimeEvent")]
         /* needToSeek is dispatched whenever play() is called. play() loads in the new video. If the video is the same one that was already playing, therefore not changing the
          * duration, we need to catch that, and the easiest way to do that is just to dispatch an event commanding that we seek. */
         [Event(name="needToSeek", type="flash.events.Event")]
    
         /* Explanation of component: VideoDislplayCustom is a replacement for s:VideoDisplay, since our method of loading in videos caused memory leaks in the order of hundreds
          * of megabytes each time a new video was loaded in. This one provides a simple video playing object that attaches to a netStream, which we use
          * to stream the video files off the hard driver rather than loading them into the player. By disallowing caching of any kind, we overcome memory leaks of
          * that magnitute, and provide a tool that can last all day switching between videos often. */
    
         public class VideoDisplayCustom extends UIComponent
         {
              /* Constructor */
              public function VideoDisplayCustom()
              {
                   super();
                   // We want to have an init() function, so we listen for it's dispatch.
                   this.addEventListener(FlexEvent.CREATION_COMPLETE, init);
                   // We build the actual stuff that plays our videos.
                   createUnderlyingVideoPlayer();
                   // The next three lines ensures that code farther down will work. We compare durations in vidInfo, which is just an array, so we first need to give it a duration
                   // value to compare (it's bad if we compare null to a number)
                   var tempArray:Array = new Array();
                   tempArray["duration"] = 0;
                   vidInfo = tempArray;
              }
    
              /* We need to allow everything time to initialize before we start trying create some things or addressing parts of some components. Looking towards expandability,
               * also, this only makes sense to have.
               * Called from: this.Creation_Complete, which event is fired after this component is all put together. */
              private function init(event:FlexEvent):void
              {
                   // since we added the event listener, we need to pull it off.
                   this.removeEventListener(FlexEvent.CREATION_COMPLETE, init);
                   videoPlayer.visible = true;
              }
    
              /* Global variables */
    
              // Define our constants \\
    
              // Time to buffer, in seconds, before it begins playback. Later assigned to the NetStream object. Since all our files loaded are on the local host, we
              // don't need to set this very high. And if we use a black screen, we can specify a minimum buffer size.
              protected const BUFFER_TIME:Number = 8;
    
              // Public variables \\
    
              // Holds the start volume when the player starts, defined in terms of percentage of total system volume.
              public var defaultVolume:Number = .50;
              // For when we mute, we need to save the previous volume. This wil let us double-check with our dropDown component or other components to make sure that
              // we have the right "lastVolume".
              public var lastVolume:Number = defaultVolume;
              // When we mute our video, we need to know it's muted. Checking to see if it the volume is 0 is not accurate enough, so we have a variable for it. Also,
              // the s:VideoDisplay uses a "muted" variable, and since we want to keep it looking the same from the outside as this component, we keep that variable.
              public var muted:Boolean = false;
              // When we want to loop the video, we need to know that, so here's our loop boolean. Basically, when we hit the end of the video playing, either we issue
              // a "complete" event, or we start playing it again from the beginning. This boolean determines which.
              public var loop:Boolean = false;
              // We need to know if we can smooth the video or not (to improve playback quality). Also something from s:VideoDisplay
              public var smoothing:Boolean = true;
              // We needed a way to carry through the height and width, and for some reason, this.width and this.height were both cleared and reset to 0 before the component is
              // created, or sometime during creation, so we needed to create these variables instead to carry it through. Breaks our "looking the same from outside" attempt.
              public var playerWidth:Number = 1024;
              public var playerHeight:Number = 768;
    
              // Private and protected variables \\
    
              // We need to be able to define a source for our video player. This would be a public variable, but that wasn't allowing for both playing the first video and the
              // subsiquant subclips, so we had to write getter and setter functions for the source, so we can maintain the previous source to know how to act. Thus, we have
              // our newSource and our oldSource.
              protected var newSource:String = "";
              // We also need to know if we have a new source loaded in, so this variable holds the old source.
              protected var oldSource:String = "";
              // We need a video object to attach the NetStream to. So, here that is.
              protected var videoPlayer:Video;
              // We need to have a NetStream to be able to use it, and to create one, we need to have a NetConnection. So, here they are.
              protected var netConnection:NetConnection;
              protected var netStream:NetStream;
              // We need to store the metadata for the video that we load up, so here's our metadata storing object.
              protected var vidInfo:Object;
    
              /* Meathods of this component (aka public functions), visible to the whole program. */
    
              /* This function checks our sources, and if they haven't actually changed, we don't want to reload the stream, so we just tell the hosing component (which for
               * us is the VideoScreenCustom component) that we need to seek. If we load in the new video (netStream.play(newSource), then we can't seek until the video is
               * actually loaded, and we can't always seek from the onMetaData functions below, so this seemed the best way to do it.
               * Called from: play() and playScreenSaver() in VideoScreenCustom.mxml. */
              public function play():void
              {
                   if(newSource == oldSource)
                   {
                        dispatchNeedToSeek();
                   } else {
                        netStream.play(newSource);
                   }
              }
    
              /* Pretty straightforward--we pause the video by pausing the netStream.
               * Called from: pause() in VideoScreenCustom.mxml. */
              public function pause():void
              {
                   netStream.pause();
              }
    
              /* Pretty straightforward--we need to unpause the video where we left off, so we call resume() on the netStream to unpause.
               * Called from: resume() in VideoScreenCustom.mxml. */
              public function resume():void
              {
                   netStream.resume();
              }
    
              /* We don't currently use this, because closing the netStream makes it hard to restart videos and seek, since it's still opening the stream when the seek command
               * is sent, and it stops the screen saver from working properly. It's just best to avoid closing our stream unless we are unloading it or something.
               * Called from: nowhere. This is a place holder / view into other uses. */
              public function stop():void
              {
                   netStream.pause();
                   netStream.close();
              }
    
              /* We need to be able to move around a video and to enter at different entryPoints, so seeking is vital. Here, we make it accessable from outside this component.
               * Called from: loopVideo() in this component, play(), rewindVideo() and fastForwardVideo(), and seekToPoint() from VideoScreenCustom.mxml */
              public function seek(timeToSeekTo:Number):void
              {
                   netStream.seek(timeToSeekTo);
              }
    
              /* Function that mutes the video. When it is called again, it restores the previous volume.
               * Called from: set volume() below, and currently nowhere else. This is a place holder until that feature is requested. */
              public function mute():void
              {
                   if(!muted)
                   {
                        lastVolume = netStream.soundTransform.volume;
                        setVolume(0);
                        muted = true;
                   } else {
                        setVolume(lastVolume);
                        muted = false;
                   }
              }
    
              /* Getter and setter functions */
    
              /* Used by VideoScreenCustom to know what the current time in the video is so that it can rewind, fastforward (by passing through a new time to seek to), and so
               * we can watch for stop points in the video clips. */
              public function get currentTime():Number
              {
                   return netStream.time;
              }
    
              /* Used by the videoScreenCustom to know if it is even possible to fast forward any (if within the skip interval from the end, then FFing is not possible). Also
               * here if ever needed for any other reason. */
              public function get duration():Number
              {
                   return vidInfo.duration;
              }
    
              /* Since we're remembering both the previous and the current source, we need to specify that we are returning the newSource through this getter function.
               * Externally, this looks just like a public variable. */
              public function get source():String
              {
                   return newSource;
              }
    
              /* Since we remember both the old and the current source, when the source is changed (.source = "somePath"), we need to copy the current source, then set the new
               * one so that we can use it in this to know whether to load the video or not (we don't want to load it if it is already loaded in and playing). Externally, this
               * looks just like a public variable.*/
              public function set source(sourceToSet:String):void
              {
                   oldSource = newSource;
                   newSource = sourceToSet;
              }
    
              /* From videoScreenCustom, we set the volume only through videoDisplay.volume=NUM. So, we handle all volume stuff here. It is possible to have the videoScreen
               * call mute() seperately in the future, so we add a little logic here to unmute if muted. Otherwise, we se the volume. */
              public function set volume(volumeToSet:Number):void
              {
                   if(muted)
                   {
                        mute();
                   } else {
                        setVolume(volumeToSet);
                   }
              }
    
              /* We store the metadata information gathered by the NetStream object, so that we can get to it later in this program. This isn't truly a meathod (meaning available
               * to the component hosting this one), but it had to be made public so that the NetStream object could find it. You'll note that we have too onSomeDate() functions.
               * The reason for that is that some video conatiners return one type of data (MetaData), and another returns a different set of metadata (XMPData).
               * Called from: NetStream object, as soon as it gets the metadata and information from the loaded file. */
              public function onMetaData(info:Object):void
              {
                   var oldVidInfo:Number = vidInfo.duration;
                   vidInfo = info;
                   if(oldVidInfo != vidInfo.duration)
                   {
                        dispatchDurationChange();
                   }
                   resizeVideo();
              }
    
              /*See above on onMetaData() for info about this. It does the same thing, but for different file formats (mostly flash-based containers). */
              public function onXMPData(info:Object):void
              {
                   var oldVidInfo:Number = vidInfo.duration;
                   vidInfo = info;
                   if(oldVidInfo != vidInfo.duration)
                   {
                        dispatchDurationChange();
                   }
                   resizeVideo();
              }
    
              /* Private and protected functions of this component, closed off to the rest of the program. */
    
              /* We need to build the essential pieces of the player and leave them in all the time. The basic concept for this player is that we have a Video object to
               * serve as a gateway for the NetStream object, which is what actually connects to the video file and passes it through. The Video object is just the reciever--
               * that means that all calls and commands that we want to deliver to the playing video we instead direct towards to NetStream.
               * Called from: the constructor function. */
              protected function createUnderlyingVideoPlayer():void
              {
                   // create our Video object, attach it to the stage, and resize it (critical--since otherwise, both height and width would be 0).
                   videoPlayer = new Video();
                   addChild(videoPlayer);
                   videoPlayer.width = playerWidth;
                   videoPlayer.height = playerWidth;
    
                   // NetConnection is needed to open the NetStream. When anything changes in this stream, we can handle those changes in netStatusHandler(). When we connect and
                   // pass through null, it means that we have no server and the files will be hosted on the local box.
                   netConnection = new NetConnection();
                   netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                   netConnection.connect(null);
    
                   // The main piece. Through this netStream, we control video playback, volume, and so forth.
                   netStream = new NetStream(netConnection);
                   netStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                   // the client is who the NetStream turns to to find functions for it's events. There is one event that requires handling--the one that calls onMetaData
                   // (or MXPData). It finds those functions in the client object.
                   netStream.client = this;
                   // How long it will buffer before it starts to play the video. Since we're on the local box, our buffer can pretty much be as low as we want.
                   netStream.bufferTime = BUFFER_TIME;
    
                   setVolume(defaultVolume);
                   // Final step: attach the NetStream object to the Video so that the Video knows to pay attention and do something.
                   videoPlayer.attachNetStream(netStream);
              }
    
              /* We need to change the size of the video to fit on the screen. However, it must be noted that sometimes, if it must be stretched too far, then video quality
               * becomes horrible, and so far, no workaround has been discovered.
               * Called from: onMetaData (of all kinds, including XMP and other types of metadata), called whenever a new video is loaded in. */
              protected function resizeVideo():void
              {
                   videoPlayer.width = playerWidth;
                   videoPlayer.height = ((playerWidth * vidInfo.height) / vidInfo.width);
                   videoPlayer.x = 0;
                   videoPlayer.y = ((playerHeight - videoPlayer.height) / 2);
              }
    
              /* In order to change the volume, we have to apply a new soundTransform object. So, here we create it and do that.
               * Called from: mute(), createUnderlyingVideoPlayer(), and the setter function set volume(). */
              protected function setVolume(volumeToSet:Number):void
              {
                   var soundTransform:SoundTransform = new SoundTransform(volumeToSet);
                   netStream.soundTransform = soundTransform;
              }
    
              /* For our screensaver, we needed to allow the video to loop. This function will handle that. The only problem is, since we wait for it to .Stop (see Called from:),
               * there is a pause between the end of the video, and when it starts over.
               * Called from: netStatusHandler for NetStream.Play.Stop */
              protected function loopVideo():void
              {
                   netStream.seek(0);
              }
    
              /* We need to pay attention to what the NetStream is saying and react accordingly. Especially when the video ends. All NetStream andNetConnection events on
               * documentation at Adobe are listed as a comment at the end of the class (very end of this file).
               * Called from: the NetStream and NetConnection event when they spit out an event. */
              protected function netStatusHandler(event:NetStatusEvent):void
              {
                   switch (event.info.code)
                   {
                        case "NetStream.Play.StreamNotFound":
                             trace("Error. Stream not found: " + source);
                             break;
                        case "NetStream.Play.Stop":
                             if(loop)
                             {
                                  loopVideo();
                             } else {
                                  var playedTime:Number = int(netStream.time);
                                  var totalTime:Number = int(vidInfo.duration);
                                  // if we're within 2 seconds of the end, assume we're at the end.
                                  if(Math.abs(totalTime - playedTime) <= 1)
                                  {
                                       dispatchComplete();
                                  }
                             }
                             break;
                   }
              }
    
              /* Event Dispatching Functions */
    
              /* Sent out to let the hosting component (VideoScreenCustom) know that the end of the video clip has been reached.
               * Called from: NetStream's NetStream.Play.Stop event code, sent out whenever the end of the video playing through the stream is reached. */
              protected function dispatchComplete():void
              {
                   var eventObj:TimeEvent = new TimeEvent("complete");
                   dispatchEvent(eventObj);
              }
    
              /* When the new and old sources have different durations (meaning a new video has been loaded), this is called to let the hosing component know we have a new vid.
               * Called from: onMetaData (onXMPData), which is called whenever a video is loaded. */
              protected function dispatchDurationChange():void
              {
                   var eventObj:TimeEvent = new TimeEvent("durationChange");
                   dispatchEvent(eventObj);
              }
    
              /* When we don't have a new video, we still need to call seek() after the NetStream is aware that the video is the same. Or something. I'm not sure why, but we need
               * to seek after things have been set and run for a few microseconds. This is used for FFing, RRing, but mostly for seeking to a new "chapter" in a continuous
               * video during playback.
               * Called from: play() above. */
              protected function dispatchNeedToSeek():void
              {
                   var eventObj:Event = new Event("needToSeek");
                   dispatchEvent(eventObj);
              }
    
         }
    }
    
    /*
    The following table describes the possible string values of the code and level properties.
    Code property Level property Meaning
    "NetStream.Play.Start" "status" Playback has started.
    "NetStream.Play.Stop" "status" Playback has stopped.
    "NetStream.Play.Failed" "error" An error has occurred in playback for a reason other than those listed elsewhere in this table, such as the subscriber not having read access.
    "NetStream.Play.StreamNotFound" "error" The FLV passed to the play() method can't be found.
    "NetStream.Play.Reset" "status" Caused by a play list reset.
    "NetStream.Play.PublishNotify" "status" The initial publish to a stream is sent to all subscribers.
    "NetStream.Play.UnpublishNotify" "status" An unpublish from a stream is sent to all subscribers.
    "NetStream.Play.InsufficientBW"  "warning" Flash Media Server only. The client does not have sufficient bandwidth to play the data at normal speed.
    "NetStream.Play.FileStructureInvalid" "error" The application detects an invalid file structure and will not try to play this type of file. For AIR and for Flash Player 9.0.115.0 and later.
    "NetStream.Play.NoSupportedTrackFound" "error" The application does not detect any supported tracks (video, audio or data) and will not try to play the file. For AIR and for Flash Player 9.0.115.0 and later.
    "NetStream.Play.Transition" "status" Flash Media Server only. The stream transitions to another as a result of bitrate stream switching. This code indicates a success status event for the NetStream.play2() call to initiate a stream switch. If the switch does not succeed, the server sends a NetStream.Play.Failed event instead. For Flash Player 10 and later.
    "NetStream.Play.Transition" "status" Flash Media Server 3.5 and later only. The server received the command to transition to another stream as a result of bitrate stream switching. This code indicates a success status event for the NetStream.play2() call to initiate a stream switch. If the switch does not succeed, the server sends a NetStream.Play.Failed event instead. When the stream switch occurs, an onPlayStatus event with a code of "NetStream.Play.TransitionComplete" is dispatched. For Flash Player 10 and later.
    "NetStream.Pause.Notify" "status" The stream is paused.
    "NetStream.Unpause.Notify" "status" The stream is resumed.
    "NetStream.Record.Start" "status" Recording has started.
    "NetStream.Record.NoAccess" "error" Attempt to record a stream that is still playing or the client has no access right.
    "NetStream.Record.Stop" "status" Recording stopped.
    "NetStream.Record.Failed" "error" An attempt to record a stream failed.
    "NetStream.Seek.Failed" "error" The seek fails, which happens if the stream is not seekable.
    "NetStream.Seek.InvalidTime" "error" For video downloaded with progressive download, the user has tried to seek or play past the end of the video data that has downloaded thus far, or past the end of the video once the entire file has downloaded. The message.details property contains a time code that indicates the last valid position to which the user can seek.
    "NetStream.Seek.Notify" "status" The seek operation is complete.
    "NetConnection.Call.BadVersion" "error" Packet encoded in an unidentified format.
    "NetConnection.Call.Failed" "error" The NetConnection.call method was not able to invoke the server-side method or command.
    "NetConnection.Call.Prohibited" "error" An Action Message Format (AMF) operation is prevented for security reasons. Either the AMF URL is not in the same domain as the file containing the code calling the NetConnection.call() method, or the AMF server does not have a policy file that trusts the domain of the the file containing the code calling the NetConnection.call() method.
    "NetConnection.Connect.Closed" "status" The connection was closed successfully.
    "NetConnection.Connect.Failed" "error" The connection attempt failed.
    "NetConnection.Connect.Success" "status" The connection attempt succeeded.
    "NetConnection.Connect.Rejected" "error" The connection attempt did not have permission to access the application.
    "NetStream.Connect.Closed" "status" The P2P connection was closed successfully. The info.stream property indicates which stream has closed.
    "NetStream.Connect.Failed" "error" The P2P connection attempt failed. The info.stream property indicates which stream has failed.
    "NetStream.Connect.Success" "status" The P2P connection attempt succeeded. The info.stream property indicates which stream has succeeded.
    "NetStream.Connect.Rejected" "error" The P2P connection attempt did not have permission to access the other peer. The info.stream property indicates which stream was rejected.
    "NetConnection.Connect.AppShutdown" "error" The specified application is shutting down.
    "NetConnection.Connect.InvalidApp" "error" The application name specified during connect is invalid.
    "SharedObject.Flush.Success" "status" The "pending" status is resolved and the SharedObject.flush() call succeeded.
    "SharedObject.Flush.Failed" "error" The "pending" status is resolved, but the SharedObject.flush() failed.
    "SharedObject.BadPersistence" "error" A request was made for a shared object with persistence flags, but the request cannot be granted because the object has already been created with different flags.
    "SharedObject.UriMismatch" "error" An attempt was made to connect to a NetConnection object that has a different URI (URL) than the shared object. 
    
    If you consistently see errors regarding the buffer, try changing the buffer using the NetStream.bufferTime property.
    
    */
    

    [/ CODE]

  • The reading is not clear - HELP - the program monitor

    The video looks fine until I hit the game - video becomes a little Blur/Blur... not much but is certainly not clear (Normal). any thoughts?

    Set your high playback quality.

  • My photos and videos are not in chronological order, when I export the Photos app

    Hello. When I export my photos and videos from the Photos app on my iMac all the photos and videos are not in order. I need all the photos in good standing - I need to export about 5 000 pictures of the application in order for a meeting next week! Help, please!

    Ethan.

    This is not photo - it is a function of the viewing program (probably the finder) - once the photos are exprted form pictures you can see then in different ways which you control, Photos does not - by the finder you can view by name of son, byt several dates, by file size, etc.

    Usually, the best way to accomplish what you want is to export using the names of batch file numbeing and then sort by file name in the program viewing

    LN

Maybe you are looking for

  • Re: Tecra M2 has no video

    Hello world I have a Tecra M2, with 512 MB of Ram.When I turned it on, light food and cd rom a lights on the stay.I try eject the Cdrom and hard drive, but is yet not any video.

  • I can't find new app after upgrading to ios 9.3?

    I have got all the other features of IOS 9.3 but can't able to find the news application?

  • Satellite C650 stops when I close the lid

    I recently got my laptop for Christmas, and a few weeks ago, I noticed that whenever I opened the cover, I had to turn it back on. He woul say the computer stops unexpectedly. Then you choose the security mode or regular. You hit one and we would sen

  • error-200077 when you deploy the SysDef file

    I added PXI-6704 as a data acquisition device in my system definition file. When I try to deploy it, I get: "error-200077 the requested value is not supported for this property value. The module has 16 channels voltage (+/-10 v) and 16 current channe

  • Question of Shunt of LabVIEW

    Greetings, I'm working on a pump shrimp. I have problems of measurement of voltage across a shunt when tension, it reaches a certain point (~ 13 Volts or more). Reading, as seen in the excel worksheet, takes a dive until the voltage on another channe