Is the capture of a terminal session supported?

Hello,
I'm going to evaluate this product.
My major doubt is: where is the best place to install
Captivate? It is possible to capture an RDP session (Microsoft
Remote Desktop)? and if yes what happens to the sound?
The question arise because I use Virtual Machines to build my
labs and I'd like to install Captivate on my real computer and not
in a virtual lab.
If the RDP capturing is not working well the idea couldbe
install a demo of captivate in the VMs and do the post-processing
on the pc with the licensed/activated copy. [but seems a bit too
unpratctical]
Kind regards,
Marco.

Hello, Davide_ita.
Also tried to use RDSM to "Remote Control" user's sessions, but in this thread
Remote Control
with Remote Desktop Services Manager - error Access is denied (Windows Server 2012 R2)
I get the recommendation to use RDP or Remote Assistance.
The quote of
TP []:
Hi,
You cannot remote control a session on a 2012 R2 RDSH server using Remote Desktop Services Manager.  You need to use the RDP 8.1 mstsc.exe or the RDS gui in Server Manager on 2012 R2.  The command you would use with the RDP 8.1 client would be
this:
mstsc /shadow:<sessionid> /control
-TP

Similar Messages

  • WHAT'S THE CAPTURE FIX IN TERMINAL?

    Hey again,
    About a year ago I wiped my system and did some house cleaning but after everything was back up and running the capture tool in FCP wasn't working. Someone posted a fix in terminal that was awesome and it fixed everything perfect. What is that programming fix? How do I do it again? Thanks

    do you mean the SUDO SHUFFLE?
    Try the sudu prebinding shuffle.
    It goes like this:
    From Apple Knowledge base Article ID: 93984
    Warning: This document describes how to enter commands in the Terminal application. Users unfamiliar with Terminal and UNIX-style environments should proceed with caution. The entry of incorrect commands may result in data loss and/or unusable system software.
    1. Save any files or work you may have open, because you'll need to restart the computer after these steps.
    2. Open Terminal (found at /Applications/Utilities/).
    3a. In 10.3.x or earlier Type: sudo update_prebinding -root / -force
    3b. In 10.4.0 and later sudo update_prebinding -root / -force -debug
    4. Press Return.
    5. Enter your password when prompted.
    6. The prebinding operation may take a few minutes. When it is complete, a new command-line prompt will appear. When this happens, please quit Terminal and restart your computer.
    (Don't forget to Restart.)
    another option would be to trash the prefs for FCP using FCP rescue
    DAVE
    www.proapptips.com

  • Terminal Session Not Supported

    Hi ,
    I have bought a new macbook pro and  use Juniper VPN to connect to my work machine (Windows). Below are the steps I perform to connect to my terminal session
    1) Login to the VPN url.  for example -  https://secure.mycompany.com/
    2) Enter the UserID and Password
    3) Connect to the Terminal sessions configured.
    Now, When I try to launch the terminal session, I recieve an error message saying "This terminal session is not supported on your computer".
    Any help on resolving this issue is highly appreciated.
    Thanks,
    Trish

    Hey,
    I am in the same boat.
    Did you manage to find any solution? My Work IT team has got no clue about this.
    Regards,
    Akash

  • Terminal session not supported by your computer

    I can login to my work environment but when I try and initiate a remote session link to my work computer, I get an error message that says "This terminal session is not supported by your computer."
    I need to be able to log in and remotely access my PC at work. Any suggestions are appreciated.....

    what OS on your work computer? What is already installed on it to allow remote control? Is that software enabled?
    If remote os is MacOs - Apple Remote Desktop is actually server component, I mean it is not included in desktop MacOs of your home mac. But search can help.
    If remote os is Win - you need this: http://www.microsoft.com/mac/remote-desktop-client on home mac
    and in both cases - proper configuration.
    anyway you need properly configured tunneling thru workplace firewall, so some assistance from admin.

  • Application crashes when calling run_report_object , FRM-93652: The runtime process has terminated abnormally

    I got this error when calling report from my form:
    FRM-93652: The runtime process has terminated abnormally
    Forms Session ID is WLS FORMS.formsapp.101
    Here is the trace dump info :
    Last Trigger  FORM/BLOCK/FIELD: FRM_ACTIVITY_QUEUE.BLK_ACTIVITY_QUEUE.BTN_PRINT
    Last Trigger: WHEN-BUTTON-PRESSED - (In Progress)
    Last Builtin: RUN_REPORT_OBJECT - (In Progress)
    ----- Call Stack Trace -----
    calling              call     entry                argument values in hex
    location             type     point                (? means dubious value)
    siehDumpStackTrace(  call     kgdsdst()            000000000 ? 000000000 ?
    )+104                                              7FFFBF18D110 ? 7FFFBF18D1D8 ?
                                                       7FFFBF1AD130 ? 000000000 ?
    siehjmpterm()+650    call     siehDumpStackTrace(  000000000 ? 2B1668E4EB00 ?
                                  )                    7FFFBF18D110 ? 7FFFBF18D1D8 ?
                                                       7FFFBF1AD130 ? 000000000 ?
    __restore_rt()       call     siehjmpterm()        00000000B ? 2B1668E4EB00 ?
                                                       7FFFBF18D110 ? 7FFFBF18D1D8 ?
                                                       7FFFBF1AD130 ? 000000000 ?
    00002B1660459EB0     signal   __restore_rt()       2B16603F2929 ? 7FFFBF1ADBD8 ?
                                                       000000000 ? 000000002 ?
                                                       000000001 ? 0EBC57ED8 ?
    Anybody knows what might be the cause ?
    Thanks

    Refer to : Oracle Support :  Forms Runtime Crash (FRM-93652) When calling RUN_REPORT_OBJECT in 11g (Doc ID 1306368.1)

  • Mouse not captured in remote desktop session

    I have one (but only one)  Hyper-V VM which has the "mouse not captured in remote desktop session" issue. I have researched this problem extensively and so far none of the suggested fixes I have found are working.
    The VM is running Windows Server 2012. It is completely up-to-date.
    The Hyper-V server its running on is running Windows Server 2012 R2. Also up-to-date.
    All integration services are offered in the VM according to the Hyper-V management tool. I have tried removing all integration services from the VM and putting them back with the Hyper-V management tool. This had no effect.
    I have also set the VM to "Detect HAL" using BCDEdit... this had no effect.
    The only suggestion I could not try is the suggestion to use the "Insert Integration Services Setup Disk..." command from the "Action" menu. I can not do this because a message to "Tap to choose what happens with this device"
    message pops up when I try it... and, guess what? I can't "tap" it because like everyone else we don't use touch screens in the server room. I can't click it either because my mouse doesn't work. Trying to click it just brings up the same "mouse
    not captured in remote desktop session" message I am trying to get rid of.
    Any suggestions?

    Hi,
    During your description, it seems you are using the touch screen to operate the server, personal experience is in general we don’t choose the touch screen to do this, please
    try to use the general mouse try again, it seems your device not compatible with the Server 2012R2. You can search your device in Windows Server Catalog to identify the hardware compatibility.
    The Windows Server Catalog.
    http://www.windowsservercatalog.com/results.aspx?bCatId=1283&avc=10
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Using the iPad as a terminal

    I have a a large number of systems that require access thru a physical USB connection. The reason is security, there is NO Ethernet connectivity. We currently use laptops. The connection uses SSH to establish a terminal session with the host.
    I would like to issue iPads to the tecnicians to do the job.Laptops are cumbersome, expensive, and technically offer no benefit over a simple terminal.
    Two questions;
    1.     is there an app that will run a terminal session on a iPad thru the supplied cable that has a USB connector on one end? the cable that connects the iPad to the Windows machine and communicatres with itunes?
    2.     if not is it possible to write an app to do so? Will IOS support this kind of activity and is the development environment capable for supporting that kind of development?
    Thanks in advance for your help.
    Mike

    I don't know any terminal app on iOS that can talk to a computer through the USB channel.
         So there's no internet connection to the systems that you want to connect to? If there is a connection and you can use secure ssh then why not do that? I mean I ssh all the time into my server via my iPhone, iPad or Mac. I use VNC Viewer for my iOS devices and terminal via my MacBook Air.

  • Is there a way of testing the logic board via Terminal?

    About 5 days ago, my mac book pro experienced the gray screen flashing folder scenario, telling me that it can't find the OS.
    I opened in Internet Recovery mode, and when opening disk utility to check my hard drive, the hard drive didn't show.
    After a breif call to apple support, it looked like my hard drive was kapput, so I bought another hard drive (something I've wanted to upgrade for a while anyway).
    The new hard drive is a seagate momentus xt 750GB, and fairly sure it's compatible as I watched a youtube vid showing me how to replace the hard drive with the very same drive.
    The disk utility cannot find this hard drive either, which means it could be a number of things, the worst being an issue with the logic board..
    I cannot open in apple diagnostic mode, but I can access terminal without an OS, can I check the logic board, or anything else that could be causing the problem from there?
    I'm trying to find out as much as I can about the problem before I have to pay to get it diagnosed.. hopefully it just needs a replacement SATA cable!
    Thanks all,
    Joe

    Did you format the new drive?  This can be done with the Internet Recovery Mode. Try booting holding the command option R keys to get to Disk Utility.
    JRod37  wrote:
    I cannot open in apple diagnostic mode
    You can run the Apple Hardware Test / Apple Diagnostics:
    may not be aware is that Apple dumped AHT this past June. New Macs, introduced in June 2013 or later, no longer include the software. Instead, they have an entirely new diagnostic application called, appropriately enough, Apple Diagnostics. You access Diagnostics exactly the same way as you do AHT: Hold down the D key at startup.
    http://support.apple.com/kb/HT5781
    New MacBooks can access HardWareTest by rebooting holding the D key, no disk required.
    http://support.apple.com/kb/ht1509
    or older machines Boot off your Install Disk while holding down the D key, (not c key), then run the extended Apple Hardware Test. Some disks require you to use the Option key at bootup to select AHT. Some models have a separate AHT CD.
    If any error codes are generated, post that code back here for interpretation.

  • How to stop the capture source of AudioVideoCaptureDevice

    Hi. I capture video with the AudioVideoCaptureDevice API and I'm not sure if I followed the right steps to implement it. If I record a video for the first time everything works in the emulator but when I tap the record button for the second
    time the app crash. I think it's because I have to disconnect the file stream from the capture source but I can't because passed an instance of  AudioVideoCaptureDevice as the source of the video recorder brush. Here's my code + - in the order of
    execution:
    private async Task InitializeVideoRecorder()
    try
    if (vcDevice != null)
    vcDevice = null;
    CameraSensorLocation location = CameraSensorLocation.Back;
    captureResolutions =
    AudioVideoCaptureDevice.GetAvailableCaptureResolutions(location);
    vcDevice = await AudioVideoCaptureDevice.OpenAsync(location, captureResolutions[0]);
    vcDevice.RecordingFailed += OnCaptureFailed;
    vcDevice.VideoEncodingFormat = CameraCaptureVideoFormat.H264;
    vcDevice.AudioEncodingFormat = CameraCaptureAudioFormat.Aac;
    // Initialize the camera if it exists on the phone.
    if (vcDevice != null)
    //initialize fileSink
    await InitializeFileSink();
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    //_cs.Start();
    // Set the button state and the message.
    UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
    else
    // Disable buttons when the camera is not supported by the phone.
    UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
    catch(Exception ex)
    MessageBox.Show("InitializeVideoRecorder Error:\n" + ex.Message);
    private void OnCaptureFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
    MessageBox.Show(args.ToString());
    //setup iClips video file creation
    private async Task InitializeFileSink()
    StorageFolder isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
    sfVideoFile = await isoStore.CreateFileAsync(
    isoVideoFileName+".mp4",
    CreationCollisionOption.ReplaceExisting);
    // Set the recording state: display the video on the viewfinder.
    private void StartVideoPreview()
    try
    // Display the video on the viewfinder.
    if (vcDevice != null)
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    // Set the button states and the message.
    UpdateUI(ButtonState.Ready, "Ready to record.");
    txtRecTime.Visibility = Visibility.Collapsed;
    // If preview fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Preview Exception:\n " + e.Message.ToString());
    // Set recording state: start recording.
    private async void StartVideoRecording()
    try
    if (vcDevice != null)
    MessageBox.Show("1");
    s = await sfVideoFile.OpenAsync(FileAccessMode.ReadWrite);
    MessageBox.Show("2");
    await vcDevice.StartRecordingToStreamAsync(s);
    MessageBox.Show("3");
    rState = 1;
    logo.Opacity = 1.0; //brighten logo to indicate that the recording started
    StartTimer(); //show time ellapsed on UI
    // Set the button states and the message.
    UpdateUI(ButtonState.Recording, "Recording...");
    // If recording fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Recording Error:\n" + e.Message.ToString());
    // Set the recording state: stop recording.
    private async void StopVideoRecording()
    try
    await vcDevice.StopRecordingAsync();
    sfVideoFile = null;
    rState = 0;
    logo.Opacity = 0.1;
    StopTimer();
    // Set the button states and the message.
    UpdateUI(ButtonState.Stopped, "Preparing viewfinder...");
    StartVideoPreview();
    // If stop fails, display an error.
    catch (Exception e)
    MessageBox.Show("Stop Video Recording:\n " + e.Message.ToString());
    // Start the video recording.
    private void StartRecording_Click(object sender, EventArgs e)
    // Avoid duplicate taps.
    StartRecording.IsEnabled = false;
    StartVideoRecording();
    private void DisposeVideoRecorder()
    if (_cs != null)
    // Stop captureSource if it is running.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Started)
    _cs.Stop();
    // Remove the event handler for captureSource.
    _cs.CaptureFailed -= OnCaptureFailed;
    // Remove the video recording objects.
    _cs = null;
    vcDevice = null;
    //fileSink = null;
    videoRecorderBrush = null;
    InitializeVideoRecorder() is called in OnNavigatedTo the when I tap the record button StartVideoRecording() is then called like wise StopVideoRecording() and when I tap the record button( or call StartVideoRecording) for the second time an error
    is thrown. What am I missing? (I bet it's something to do with how I implemented the capture source.) Thaanks in advance.
     

    Thank you that answer is very helpful. I got the recording to work and it's playing the video back too, however, when I record for the second time and tries to playback that file the screen is just black. Can you kindly take a look at my methods
    and see where I'm missing up?
    // Constructor
    public MainPage()
    try
    InitializeComponent();
    //setup recording
    // Prepare ApplicationBar and buttons.
    PhoneAppBar = (ApplicationBar)ApplicationBar;
    PhoneAppBar.IsVisible = true;
    StartRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[0]);
    StopPlaybackRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[1]);
    StartPlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[2]);
    PausePlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[3]);
    //SetScreenResolution();
    //Sign_Client();
    catch (Exception ex)
    MessageBox.Show("Constructor Error:\n"+ ex.Message);
    //Life Cycle
    protected async override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    // Initialize the video recorder.
    await InitializeVideoRecorder();
    //prepare shutter hot keys
    CameraButtons.ShutterKeyHalfPressed += OnButtonHalfPress;
    CameraButtons.ShutterKeyPressed += OnButtonFullPress;
    CameraButtons.ShutterKeyReleased += OnButtonRelease;
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    // Dispose of camera and media objects.
    DisposeVideoPlayer();
    DisposeVideoRecorder();
    base.OnNavigatedFrom(e);
    CameraButtons.ShutterKeyHalfPressed -= OnButtonHalfPress;
    CameraButtons.ShutterKeyPressed -= OnButtonFullPress;
    CameraButtons.ShutterKeyReleased -= OnButtonRelease;
    // Update the buttons and text on the UI thread based on app state.
    private void UpdateUI(ButtonState currentButtonState, string statusMessage)
    try
    // Run code on the UI thread.
    Dispatcher.BeginInvoke(delegate
    switch (currentButtonState)
    // When the camera is not supported by the phone.
    case ButtonState.CameraNotSupported:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // First launch of the application, so no video is available.
    case ButtonState.Initialized:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // Ready to record, so video is available for viewing.
    case ButtonState.Ready:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    // Video recording is in progress.
    case ButtonState.Recording:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // Video Recording Stopped.
    case ButtonState.Stopped:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    // Video playback is in progress.
    case ButtonState.Playback:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = true;
    break;
    // Video playback has been paused.
    case ButtonState.Paused:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    default:
    break;
    // Display a message.
    txtDebug.Text = statusMessage;
    // Note the current application state.
    currentAppState = currentButtonState;
    catch (Exception ex)
    MessageBox.Show("UpdateUI Error:\n" + ex.Message.ToString());
    private async Task InitializeVideoRecorder()
    try
    CameraSensorLocation location = CameraSensorLocation.Back;
    captureResolutions =
    AudioVideoCaptureDevice.GetAvailableCaptureResolutions(location);
    vcDevice = await AudioVideoCaptureDevice.OpenAsync(location, captureResolutions[0]);
    vcDevice.RecordingFailed += OnCaptureFailed;
    vcDevice.VideoEncodingFormat = CameraCaptureVideoFormat.H264;
    vcDevice.AudioEncodingFormat = CameraCaptureAudioFormat.Aac;
    //Set a perfect orientation to capture with
    int encodedOrientation = 0;
    int sensorOrientation = (Int32)this.vcDevice.SensorRotationInDegrees;
    switch (this.Orientation)
    // Camera hardware shutter button up.
    case PageOrientation.LandscapeLeft:
    encodedOrientation = -90 + sensorOrientation;
    break;
    // Camera hardware shutter button down.
    case PageOrientation.LandscapeRight:
    encodedOrientation = 90 + sensorOrientation;
    break;
    // Camera hardware shutter button right.
    case PageOrientation.PortraitUp:
    encodedOrientation = 0 + sensorOrientation;
    break;
    // Camera hardware shutter button left.
    case PageOrientation.PortraitDown:
    encodedOrientation = 180 + sensorOrientation;
    break;
    vcDevice.SetProperty(KnownCameraGeneralProperties.EncodeWithOrientation, sensorOrientation + 90);
    // Initialize the camera if it exists on the phone.
    if (vcDevice != null)
    //initialize fileSink
    await CreateAndOpenNewVideoFile();
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    //_cs.Start();
    // Set the button state and the message.
    UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
    else
    // Disable buttons when the camera is not supported by the phone.
    UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
    catch(Exception ex)
    MessageBox.Show("InitializeVideoRecorder Error:\n" + ex.Message);
    private void OnCaptureFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
    MessageBox.Show(args.ToString());
    //setup iClips video file creation
    private async Task CreateAndOpenNewVideoFile()
    StorageFolder isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
    sfVideoFile = await isoStore.CreateFileAsync(isoVideoFileName+".mp4",
    CreationCollisionOption.ReplaceExisting);
    s = await sfVideoFile.OpenAsync(FileAccessMode.ReadWrite);
    // Set the recording state: display the video on the viewfinder.
    private void StartVideoPreview()
    try
    // Display the video on the viewfinder.
    if (vcDevice != null)
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    // Set the button states and the message.
    UpdateUI(ButtonState.Ready, "Ready to record.");
    txtRecTime.Visibility = Visibility.Collapsed;
    // If preview fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Preview Exception:\n " + e.Message.ToString());
    // Set recording state: start recording.
    private async void StartVideoRecording()
    try
    if (vcDevice != null)
    await vcDevice.StartRecordingToStreamAsync(s);
    rState = 1;
    logo.Opacity = 1.0; //brighten logo to indicate that the recording started
    StartTimer(); //show time ellapsed on UI
    // Set the button states and the message.
    UpdateUI(ButtonState.Recording, "Recording...");
    // If recording fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Recording Error:\n" + e.Message.ToString());
    // Set the recording state: stop recording.
    private async void StopVideoRecording()
    try
    await vcDevice.StopRecordingAsync();
    //sfVideoFile = null;
    rState = 0;
    logo.Opacity = 0.1;
    StopTimer();
    // Set the button states and the message.
    UpdateUI(ButtonState.Stopped, "Preparing viewfinder...");
    //StartVideoPreview();
    // If stop fails, display an error.
    catch (Exception e)
    MessageBox.Show("Stop Video Recording:\n " + e.Message.ToString());
    // Start the video recording.
    private void StartRecording_Click(object sender, EventArgs e)
    // Avoid duplicate taps.
    StartRecording.IsEnabled = false;
    StartVideoRecording();
    private void DisposeVideoRecorder()
    if (vcDevice != null)
    // Remove the video recording objects.
    vcDevice = null;
    // Remove the event handler for captureSource.
    vcDevice.RecordingFailed -= OnCaptureFailed;
    s = null;
    sfVideoFile = null;
    videoRecorderBrush = null;
    private void OnCaptureFailed(object sender, ExceptionRoutedEventArgs e)
    MessageBox.Show("Recording Failed!");
    private void SaveThumbnail()
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    var w = (int)vcDevice.PreviewResolution.Width;
    var h = (int)vcDevice.PreviewResolution.Height;
    var argbPx = new Int32[w * h];
    vcDevice.GetPreviewBufferArgb(argbPx);
    var wb = new WriteableBitmap(w, h);
    argbPx.CopyTo(wb.Pixels, 0);
    wb.Invalidate();
    using (var isoStore = IsolatedStorageFile.GetUserStoreForApplication())
    var fileName = isoVideoFileName + "_iThumb.jpg";
    if (isoStore.FileExists(fileName))
    isoStore.DeleteFile(fileName);
    var file = isoStore.CreateFile(fileName);
    wb.SaveJpeg(file, w, h, 0, 20);
    file.Close();
    //STOP WATCH
    private void StartTimer()
    dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
    dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);
    dispatcherTimer.Interval = new TimeSpan(0, 0, 1);
    dispatcherTimer.Start();
    startTime = System.DateTime.Now;
    private void StopTimer()
    dispatcherTimer.Stop();
    private void dispatcherTimer_Tick(object sender, EventArgs e)
    System.DateTime now = System.DateTime.Now;
    this.Dispatcher.BeginInvoke(delegate()
    txtRecTime.Visibility = Visibility.Visible;
    txtRecTime.Text = now.Subtract(startTime).ToString().Substring(0, now.Subtract(startTime).ToString().LastIndexOf("."));
    // ICLIPS THEATRE - VIDEO PLAYER
    private void StopPlaybackRecording_Click(object sender, EventArgs e)
    try
    if (rState == 1)
    // Avoid duplicate taps.
    StopPlaybackRecording.IsEnabled = false;
    // Stop during video recording.
    StopVideoRecording();
    // Set the button state and the message.
    UpdateUI(ButtonState.NoChange, "Recording stopped.");
    if (rState == 0)
    // Stop during video playback.
    // Remove playback objects.
    DisposeVideoPlayer();
    StartVideoPreview();
    // Set the button state and the message.
    UpdateUI(ButtonState.NoChange, "Playback stopped.");
    catch (Exception ex)
    MessageBox.Show("Stop playback recording Exception:\n" + ex.Message.ToString());
    private void StartPlayback_Click(object sender, EventArgs e)
    PlayVideo();
    private async void PlayVideo()
    try
    // Avoid duplicate taps.
    StartPlayback.IsEnabled = false;
    // Start video playback when the file stream exists.
    if (VideoPlayer.Source != null)
    VideoPlayer.Play();
    // Start the video for the first time.
    else
    //vcDevice.Dispose();
    // Remove VideoBrush from the tree.
    viewfinderRectangle.Fill = null;
    //get the path of iClips-video
    StorageFolder isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
    iclip = await isoStore.GetFileAsync(isoVideoFileName + ".mp4");
    // Create the file stream and attach it to the MediaElement.
    VideoPlayer.Source = new Uri(iclip.Path);
    // Add an event handler for the end of playback.
    VideoPlayer.MediaEnded += new RoutedEventHandler(VideoPlayerMediaEnded);
    // Start video playback.
    VideoPlayer.Play();
    // Set the button state and the message.
    UpdateUI(ButtonState.Playback, "Playback started.");
    catch (Exception ex)
    MessageBox.Show("Play Video Exception:\n" + ex.Message.ToString());
    private void PausePlayback_Click(object sender, EventArgs e)
    PauseVideo();
    private void PauseVideo()
    // Avoid duplicate taps.
    PausePlayback.IsEnabled = false;
    // If mediaElement exists, pause playback.
    if (VideoPlayer != null)
    VideoPlayer.Pause();
    // Set the button state and the message.
    UpdateUI(ButtonState.Paused, "Playback paused.");
    private void DisposeVideoPlayer()
    if (VideoPlayer != null)
    // Stop the VideoPlayer MediaElement.
    VideoPlayer.Stop();
    // Remove playback objects.
    VideoPlayer.Source = null;
    iclip = null;
    // Remove the event handler.
    VideoPlayer.MediaEnded -= VideoPlayerMediaEnded;
    // Display the viewfinder when playback ends.
    public void VideoPlayerMediaEnded(object sender, RoutedEventArgs e)
    // Remove the playback objects.
    DisposeVideoPlayer();
    StartVideoPreview();
    I'm using StorageFile to create the file to save the video to. I think my Stop and Start Video Recording logic is causing ether the video not to write to the file the second time or something else. If you can see something that's not right kindly tell me. Thank
    you in advance.

  • I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Help please

    I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Does anyone have the same problem or know how to fix it?

    In Lion the Finder folder is now invisible.  To make it permanetely visible enter the following in the Terminal applicaiton window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    For opening your domain file in Lion for the first time or to switch between multiple domain files  Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an applicaiton.
    Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    OT

  • How to list the active savepoints in a session?

    How to list the active savepoints in a session?

    SR 3-4535479801: How to list the active savepoints in a session?
    Oracle Support - September 19, 2011 7:12:50 AM GMT-07:00 [ODM Answer]
    === ODM Answer ===
    Hello,
    That is the only way and it is also described in:
    How To Find Out The Savepoint For Current Process (Doc ID 108611.1)
    One thing to be aware in lower version is the dump if no savepoints are declared:
    ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME SAVEPOINTS LEVEL 1' Raises ORA-03113/ORA-07445[SIGSEGV]/[STRLEN] Errors (Doc ID 342484.1)
    Best regards,
    George
    Oracle Support Database TEAM
    Oracle Support - September 19, 2011 6:36:39 AM GMT-07:00 [ODM Question]
    === ODM Question ===
    How to list the active savepoints in a session?
    Is there another way than the following as referenced in the Oracle forums: Re: How to list the active savepoints in a session? ?
    "alter session set events 'immediate trace name savepoints level 1';"
    A trace file is generated in the user_dump_directory.
    - September 17, 2011 5:12:53 PM GMT-07:00 [Customer Problem Description]
    Problem Description: How to list the active savepoints in a session?
    Is there another way than
    "alter session set events 'immediate trace name savepoints level 1';"
    A trace file is generated in the user_dump_directory.
    Re: How to list the active savepoints in a session?

  • My yahoo toolbar add in disappears each time I open firefox, requiring me to install the tool bar with each session. Would you know what might be causing this?

    I have always used the yahoo toolbar to store my bookmarks. I recently had my computer serviced for an network problem I was experiencing, and since its return to to I have found that I must install the yahoo toolbar each time I open firefox. The toolbar does not stay for subsequent sessions like it had in the past. Is there a setting or problem that may be causing this?

    You can check for recently installed suspicious or unknown extensions.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I create an API with session support?

    Hi experts,
    I am implemented an API, now I need to have a session for each user using this API, something like HttpSession, I need to store some attribute for each user. for example, each user may choose its own locale and I need to manage every one separately.
    is there any design pattern to support session or has anyone such experience?
    thank you very much

    java1357 wrote:
    Thanks valooCK
    may I ask you what is lightweight container? in other words, how can I define one. did you mean something like a Servlet? if yes, in none-web application what kind of container I can use?
    do you know a simple container or an example?
    thanks againactually you dont need session support in a regulr application. it is needed only in a web application because a session of a web application may comsist of several stateless pages, the session helps maintain the state throughout the application.
    a regular application may consist of a main thread, plus work threads and background thread. so long as your main thread is running, you can use it to maintain state. all you need is a containter type of class for more efficient management, which can be used for a web application as well.
    a lightweight container is a server code which, unlike heavyweight container such as the ejb container that requires you implement certain interfaces, does not require any special interface implementation, any good old java classes will run in it. for more informatioon, look up some spring docs.

  • Need to find the SID of a forms session.

    Hi,
    I need to find the SID of a form session. How to find the same.
    Eg:- If a user connected to our EBS system, Then automatically one sid will be generated to that user. I need to find the SID for this user. If given detailed steps it would be great help.
    Regards
    SR.

    Hello,
    Although I am a bit unclear about the question. But please see if the following helps;
    I can query the v$session to know about the SID. Here is a simple example;
    select  sid,
    substr(username,1,15) "DB UserName",
    substr(osuser,1,15) "OS UserName",
    substr(command,1,3) CMD,
    substr(machine,1,10) Machine,
    terminal, process, status,
    substr(program,1,50) "OS Program Name"
    from v$session
    where type = 'USER'
    order by usernameHere is a sample output;
                SID DB UserName     OS UserName     CMD MACHINE    TERMINAL         PROCESS      STATUS   OS Program Name
                  7                 SYSTEM          0   ORAAPPPROD ORAAPPPROD       976          ACTIVE   ORACLE.EXE
                  8                 SYSTEM          0   ORAAPPPROD ORAAPPPROD       3548         ACTIVE   ORACLE.EXE
    Additionally you can also review Oracle Metalink Script: How To Identify The apps User Using The O/S PID For Forms Users In 11i Doc ID: Note:185762.1.
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:38346007578631471::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,185762.1,1,1,1,helvetica
    Hope it helps. Maybe others might add in this.
    Adith

  • How to save the login ID as a session attribute ?

    I am using form-based authentication in a web application which is being deployed on a JBoss 3.2.3 server. I am authenticating against an Oracle database by way of a DatabaseServerLoginModule (JAAS).
    I would like to save the user's login ID as a session attribute in order to be able to use it later in the application.
    It's not obvious how you can capture this information and add it to the session, since it seems that the login ID is lost once the authentication is done by j_security_check process.
    Is there some way to tell the servlet container to save the login ID as a session attribute as part of the j_security_check process (something along the lines of "if the authentication succeeds add the login ID as an attribute to the session") ?
    Is there another approach ? What is the accepted "best practice" for doing session initialization after authentication ? For example if a user needs to have several attributes set in their session after login -- how is this handled ? I have done this before with a login servlet which did both the authentication and the session initialization, but when using form-based authentication and j_security_check it's not clear to me how you go from the authentication to the initialization logic.
    Thanks in advance for any suggestions or insight.

    You should already have it... hidden in request.getUserPrincipal().getName()

Maybe you are looking for

  • How do I roll back to an earlier version of Safari in Snow Leopard?

    I recently applied the recent snow leopard update including safari 5.1.   Now the juniper vpn no longer recoginzes safari.   How do I roll back to the previous version of safari? (5.0.5?)

  • Link between swf files.

    Hello. I need to find a way to link multiple .swf files, so I may have a menu and after clicking a button go from there  to any swf file and back. But i need something that works in AS 2 and 3 because my files are in both ActionScripts. It shouldn't

  • Asset description change

    gurus, In as02 transaction description field is having length of char50 .which will appear in f4 help of as02 asset field. here this value come from mcoa1 field having length of char30 only. so what ever i enter in this description filed is not commi

  • Table for User Name and User ID?

    Hi Experts, I hv User ID, that Logs in. So, I waanna to pull the corresponding Name. So, Wher Can I find these data i.e. Which is the best Table/source? ThanQ.

  • How to count only cells with content?

    I'd like to get a count of all cells in a column that have content. Any ideas how that can be done?