Inverse Telecine on the Capture

Does anyone know if it is possible to remove pulldown on the capture? I have 1080i 29.97fps sources (HDCAMSR and D5) with film content and would like to capture directly to Apple Pro Res 422 (HQ) at 1080p 23.98fps. To save time (and money) we don't want to go through any external conversion boxes like a UFC to do inverse telecine. Is there any way in FCP to remove the 3:2 cadence and bring the video back down to 23.98 in real time on the capture? I know we can do a post-IVT with tools like cinema tools, but we're trying to avoid that extra step. Thanks in advance for any input.

No, there isn't. Take the extra step and go through Cinema Tools to convert. It really doesn't take that much more time.

Similar Messages

  • DVDSP4 corrupting Inverse Telecine .m2v's on import? Rant: long post

    hello everyone
    my computer set up:
    i am on DVDSP 4.03 (latest update) with all pro updates, have not upgraded to QT 7.1.1 and OS X (10.4.6).
    my workflow:
    most of the tape material i encode from comes from my MPX3000 hardware encoder and is then transfered via network to my mac for authoring.
    my problem:
    i transfer the compressed files over the network no problem, import them into DVDSP, no problem, i place them into the stream, and the file is corrupt. now, i use that term because the header information of the .m2v is all corrupt, as in the bit-rate is not what it's supposed to be, running time is off and believe it or not the first 20 or so minutes (as example, this varies from project) is in the middle of the stream, the end credits are in the beginning of the stream and so forth. amazingly, the audio is perfect.
    at first i did the standard erase prefs, .PAR folders and even optimized my drives (since i have been a bit negligent to run techtool or disk warrior). still continued to have problems.
    then i suspected the network, even though we have a gigabit network, i am in a fairly large facility and we are always transferring large files. so i directly connected to the mac from Spruce and made sure no other ethernet was connected, transeferred the .m2v's and same problem.
    ok, i thought, maybe DVDSP became corrupt? i removed FCS from my mac, made sure ALL files related to it were also trashed and re-installed. imported the the .m2v, same problem.
    ok, ok, i am going crazy, the ENCODED file is corrupt, so opened it up in spruce, file was exactly as it should be!!
    then i thought, let me see in QT, VLC and MpegstreamClip...
    QT = file had incorrect: bit-rate, duration and frame rate.
    VLC = file had correct header info, but playback was half frame rate.
    MpegSTreamClip = file had correct header infor, but once again, played and half frame rate.
    then i thought: "what if i compile my project and then demux in Mpegstreamclip". compiled in Spruce, demuxed and imported into DVDSP, wayyyyy better, but still had problems! the running time was of, it added about 20 minutes of video (it duplicated some scenes).
    i was starting to go crazy, then it hit me!
    whenever i flagged for inverse telecine in CBR mode (i do not trust MPX3000 IT flag detection in VBR) the files were corrupt. so i did a test:
    CBR with IT on
    CBR with IT off
    VBR with IT on
    VBR with IT off
    to my surprise, all files with IT off worked perfectly in DVDSP, QT, VLC and Mpegstreamclip!
    my stomached dropped to the floor! i had 2 huge projects due with the features being a 24 fps D5 master, so IT had to be, that meant they had to be completely re-authored in Spruce!
    unfortunately, a lot of shortcuts and files that have no problems in DVDSP had a hard time is Spruce.
    once again, i LOVE DVDSP, but AGAIN, i lost some respect for her
    by the way, i tried importing some menu files (audio and video) that were encoded in Compressor and some had trouble importing in Spruce while others no problems (even though the EXACT same settings were used).
    in addition, so dummy 5.1 streams i created were not compatible with the 5.1 streams created from the acx5100 card. of course i checked my sample rate, bit-rate and channels, no good!
    i just dont understand all of a sudden how this could happen, oh well, it gives me an excuse to ask for a 10k drive that i have been wanting for some time to be used as my root drive!
    let's brainstorm guys, see whats going on?
    anyway, thanks for any input
    by the way, i will have updates as i upgrade, test and trash prefs and such. i am sure this works! (i still have faith in you DVDSP!)
    Mikey M.

    Hey Max
    yeah that method does sound tedious!
    as far as the encode, when i use the hardware encoder, if i am coming from an SD source, then i try to get the HIGHEST quality master/transfer i can get.
    if i am capturing from a HD master, then there is not much i can do (since i dont have a pre-processor) except make sure the in-box conversion is set correctly.
    if i am capturing SD material for various non DVD encodes, 8-bit is the way i go.
    for HD, it depends how they color corrected it. but i generally like to go 8-bit as well.
    i have yet to create 24p files using compressor for DVD.
    **UPDATE**
    so talking to my IT guy at work, come to find out that the NT operating (my Spruce) has a 4 GB file limit. i told him that was hard to believe, since if tha twas the case, i would have trouble with DVD-9's.
    anyway, he did say something that made some sense: that since the header information was being corrupted, that no matter what program in OSX was used for playback, it would have problems. so i moved teh said file back to spruce and sure enough, it was corrupted!
    he suggested that i .zip the file (since this would act like a shell) and do 2 things: FTP it via our spruce and move the file over again in the .zip.
    just to appease him as well, i encoded the said file to be under 3 GB's (i am totally skeptical of this method).
    will keep you guys posted
    Mike M

  • Best tool for Inverse Telecining and deinterlacing ?

    I have very limited experience in encoding videos before.
    Recently I'm trying to transcode a DVD into H.264 with x264. All the VOB files are dumped already.
    As for the video part, I've decided to do it this way :
    mkfifo TEMP.y4m
    x264 OPTIONS -o OUTPUT.mkv TEMP.y4m & mplayer -vo yuv4mpeg:file=TEMP.y4m OPTIONS INPUT.VOB
    I believe this method to be clean and efficient.
    The problem is: This VOB file is in NTSC format, and I'm pretty convinced that it's telecined, after reading this:
    http://www.doom9.org/ivtc-tut.htm wrote:TELECINE is a process where the FILM first is slowed down to 23.976 frames/second. Then for every 4 frames, an extra frame is created from fields of adjacent frames. If a frame consists of two fields, top (t) and bottom (b) and the original sequence is 1t1b 2t2b 3t3b 4t4b, then the telecined sequence would be 1t1b 2t2b 2t3b 3t4b 4t4b (commonly called 2:3 pull down because of the alternating 2 field, 3 field progression). This also means that the frame rate increases to 29.97 frames/second.
    I viewed the video frame by frame, and found out that there're 2 sequential interlaced frames out of every 5 in a non-static scene. These are 2t3b 3t4b frames I think.
    mplayer comes with some video filters that might help: With "-vf pp=" the result isn't that satisfying, but "-vf pullup" do the job nicely, that is, I can almost see no interlacing at all with this command:
    mplayer -vf pullup VTS_01_1.VOB -noconfig all
    On the other hand, I also noticed that there're 2 sequential repeated frames out of every 5 in a non-static scene. The frame-rate is 29.970 fps. This is bad because repeating means inefficiency in terms of compression. The better result is using only one of these 2 repeated frames at a frame-rate of 23.976 fps, which means dropping 20% extra frames.
    But I don't know how to achieve this.
    I want to achieve this at the mplayer decoding stage, so that x264 is fed with a yuv4mpeg source stream with no interlacing or extra frames.
    ------------------------------------------------------------------------------------------+
    I'm not familiar with mencoder's options, though it seems to be able to drop the extra frame with "-vf pullup,softskip -ofs 24000/1001", but I can't find a way to let mencoder output as yuv4mpeg. Also there is a reason why I tend to avoid using mencoder:
    mencoder -ss 209 -endpos 20 -ovc copy -oac copy -o _short_.vob VTS_01_1.VOB
    This is supposed to cut a 20-second short clip from the VOB using copy. But even task as this simple could be wrong...which is really disappoiting. Look at these 2 screen shots.
    By using mencoder -ovc copy::
    http://omploader.org/vMjE3Zw
    The original (mplayer VTS_01_1.VOB)::
    http://omploader.org/vMjE3aA
    Maybe it's just my build of mencoder(compiled at home)... But with this I really can't say mencoder is to be trusted.
    ...Or, is it something wrong in my command?
    -------------------------------------------------------------------------------------------+
    By the way, for this specific DVD, I believe mplayer plus x264 together can achieve the best result; on the other hand, just as the title suggests, I'd like to find some decent tool to do IVTC and Deinterlacing. CLI preferred but good GUI apps are also welcome
    Thanks in advance!
    Last edited by lolilolicon (2009-07-25 03:31:59)

    skottish wrote:You should be able to use the -vf pullup,softskip stuff still.
    man mplayer wrote:Softskip
    Only  useful  with MEncoder.  Softskip moves the frame skipping (dropping) step of encoding from before the filter chain to some point during the filter chain.  This allows filters which need to see all frames (inverse  telecine,  temporal  denoising,  etc.)
    Actually, when I tried::
    mplayer -vf pullup,softskip VTS_01_1.VOB -noconfig all
    The result is the same as just using "-vf pullup". The extra frame can't be dropped by mplayer this way......
    Too bad many "convenient" tools like h264enc all use mencoder. I don't know whether handbrake does too. Haven't tried it out.
    Avisynth is a great tool but works only for windows. x264's built in deinterlaced mode does no good in my case. ffmpeg's filters are still too limited by far. What can I do? Is there anything that does nothing but good IVTC?
    -------------------------------------------------------------------------------------+
    Klepper wrote:It says to always use the softskip filter together with pullup
    man mplayer wrote:Always  follow  pullup  with the softskip filter when encoding to ensure that pullup is able to see each frame.
    In my case, pullup seems to work better than filmdint: I've just tried the h264enc script which is almost totally a frontend to mencoder. Look at the mencoder filters it used:
    mencoder VTS_01_1.VOB -o 01.avi -fps 30000/1001 -ofps 24000/1001 -vf filmdint=fast=0/io=30:24/dint_thres=256,softskip,harddup -oac pcm -ovc x264 -x264encopts <x264OPTIONS>
    See, it also used filmdint as you suggust. The result is not too bad: removed the extra frame and plays at 24fps. But I can still notice interlacing occasionally. Maybe it's because the video isn't constant pattern "PPPII" but with some shifting (say, PPPIIPPPII...PPPIIPIIPPPIIPPPII, I found some pattern like this in the source VOB)
    Man page says "io=<ifps>:<ofps>" must match "-fps/-ofps" ("-fps 30000/1001" and "-ofps 24000/1001" in my case.)
    Since -ofps is an option ONLY for mencoder, but not for mplayer, filmdint can't make mplayer drop the extra frame like mencoder.
    I played the VOB with "mplayer -vf filmdint=fast=0/io=30:24 VTS_01_1.VOB -noconfig all" and there're lots of "@@@@@@@@ Bottom-first field??? @@@@@@@@" spitted out in the console. I read about this in the man page but don't understand....
    If the source is MPEG-2, [u]this must be the first filter to allow access to the field-flags set by the MPEG-2 decoder[/u]. Depending on the source MPEG, you may be fine ignoring this advice, as long as you do not see lots of "Bottom-first field" warnings.
    I don't have any other filters in the command line, so... why?
    The occasional interlacing is the same as the video encoded with h264enc. Also, it did not drop the extra frame anyway.
    -------------------------------------------------------------------------------------+
    Also I have a doubt:
    In my first post, I wrote:
    The original (mplayer VTS_01_1.VOB)::
    http://omploader.org/vMjE3aA
    But I think even this is not "original" -- not as good as the original video before it was telecined into NTSC format. I think it's mplayer not doing it good enough. The real original frame should have no blocking......
    I've compared it to one fansub rip, the same frame looks better than in the image above, very little blocking, also the bass string isn't blurred like in the image above:
    http://omploader.org/vMjE5aw
    I don't know how they did it. And I actually want to do it better
    Last edited by lolilolicon (2009-07-25 09:32:30)

  • 25fps footage to put on PAL and NTSC DVDs - Inverse Telecine?

    So, I've shot and edited a short item in 25P from my PAL HVX200...
    I'd like to create a 'movie feature'-style NTSC DVD. One that has MPEG-2 files with inverse telecine flags to tell the NTSC decoder to repeat the fields to pull up the footage to 29.97fps.
    Does that mean I need to scale my footage from 720w by 576h down to 720w by 480h, set the speed to 95.904% to 23.976fps? Can I do this in Compressor? Will Compressor take the audio and speed it up too, but keep the pitch the same?
    That will get me a 24P NTSC file. How do I encode this as an MPEG for an NTSC DVD?
    If I wanted to create a 'progressive' PAL MPEG for DVD (with the inverse telecine flags), are they encoded as 576 by 720 frames at 23.976fps, or at 24fps?
    In the PAL world, a bit in one of the 50 non-broadcast lines is used to tell TVs and DVD players that the content is anamorphic. Is there an equivalent for NTSC? Does Compressor take care of that?
    G5 2x2.5GHz   Mac OS X (10.3.9)  

    Hey Alex
    a little confused here, but from what i can gather:
    you have a movie shot @ 25 fps (PAL)
    you want to make a NTSC dvd and a PAL DVD, is this correct from the above source and make sure they are progressive?
    well ok the PAL one is easy, just take your source video into compressor and in the frame control tab, make sure that your ouput field is progressive.
    the NTSC DVD is a little tougher. do you have FCP?
    the only difficulty i do see, like you said was the audio pitch/speed.
    i guess you CAN do a conversion in compressor, but how well it looks.. dont know i will run some tests and let you know
    Mikey

  • Inverse Telecine...

    If I shoot in 24P, can I use a program called JES Deinterlacer to perform an inverse telecine then re-import into FCE???
    I am having a hard time getting an answer about using 24P footage with FCE. I want to import 24P footage into FCE after a pulldown has been performed using JES Deinterlacer.
    Is this possible? Does anybody in the Apple world know?
    Thanks Everyone!!

    Oh I am choosing the H.264 because I assume it is the the best compression. I would never be able to fit and hour or so of uncompressed HD footage on a standard DVD. Is there a better exporting setting to use in FCE that will give you max resolution and allow you to fit up to an hour of 1080i HD onto a dual layer DVD? I think the dual layer holds 8.5GB?
    I used a Canon HV20, it says it is 24P, but the way the editing program recognizes it from other 24P cameras is different from what I have researched. I think for this camera they call it 24P standard. Here is an explanation for use with the Canon Hv20 and FCP on one of Apple's articles:
    http://docs.info.apple.com/article.html?artnum=306389
    The problem is I do not have FCP6, only FCE. It looks as though I am going to have to get FCP with all the issues I am going to encounter!! If you have any advice that may help me in just using FCE for now that would be great. If we can sell our movie someday then we can buy FCP!!!
    Message was edited by: Rory Mells

  • 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.

  • Preview doesn't show up in the capture window

    When trying to capture, the video preview doesn't show up in the capture window, only the color bars. I am able to run my transport with the buttons and the key commands, so I know the Canon ZR500 is really communicating (easy setup: DV-NTSC), via firewire. My scratch disk is a G-Raid hooked up through the firwire 800 input. The crazy thing is, it worked only one time. I've wasted one whole day and this morning, restarting, rebooting, unplugging, different tapes, etc. Next step is takew my entire setup to the so-called Genius Bart and see if Apple's Geniuses know anything about Apple software. Frustrating as ****. I will never buy Apple again.

    Careful about editorializing. There are lots & lots of Mac users who are successfully capturing from Canon camcorders. I am one of them, and have never had a problem. So there is something in your setup that needs to be uncovered, it's not FCE or Canon per se.
    One observation, you have a small hard drive (100GB) and even though you appear to have 59GB free, that's actually not a lot of space. One hour of DV consumes about 13GB and during capture the Mac temporarily needs nearly 2x that space, which means your system is using the 'inner' cylinders of the hard drive, where performance slows down; this could explain your dropped frames problem. Can you move some stuff off your system HD onto your G-RAID (say, your iPhoto and iTunes libraries if you are using those apps, they often take a lot of disk space)?

  • I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    Exactly what do you mean by a 'downloader'?
    Thanks
    Pete

  • How do I add the capture date and time to the bottom corner of a photo?

    How do I add the capture date and time to the bottom corner of a photo?

    Not to the bottom, that I'm aware of, but to the top right or left in Grid view or to the top left in Loupe view. It is in the View Options.

  • Which cameras are compatible with the capture feature in adobe premiere pro?

    My son is making stop motion videos and wants to be able to use the capture feature on adobe premiere pro where you connect your camera via USB and can capture images on your computer through your camera. I'm looking into buying him a camera and am trying to find a list of digital cameras that are compatible with this feature, he has a small fuji camera now that will not let him do so.

    What the other users have said is correct. Premiere captures through FireWire or through SDI/HDMI via a 3rd party solution.
    For your situation I would say the best bet is to connect you camera to your computer via USB or use a card reader and copy the entire directory to your hard drive and ingest into Premiere via Media Browser.
    If you Google 'how to make stop motion in premiere pro' there are tons of great tutorials.
    Best,
    Peter Garaway
    Adobe
    Premiere Pro

  • Using the capture details tag

    Hi... i have a capture details form on my product details page,  where customers can write a personal message to go with their purchase(flowers).
    On the shopping cart layout the tag_capturedetails displays the message, but also the product attributes, - which is not required. Is there a way to "filter" the tag so it only displays the message that the customer has entered? Thanks in advance

    Thanks, .... tag_capturedetails is on the product details page, user fills this in and the message is appended to the Product description field. Unforunately in the shopping cart, in the productname field, it displays this message as an attribute of the product so is not really usable in its default state.
    Also in the shopping cart , if you insert the tag_productdescription on the shopping cart layout so you can view the actual message, but what displays is also : product name and the product attributes attributes, so again - Very confusing and unusable.
    I have a workaround which hopefully helps anyone with asimilar situation. I have products with no attributes. The capture details form is attached on the detail view page for a user to fill in his own message. At the shopping cart, I have used custiom1 to display the Product Name, so no attributes(ie the message) are displayed. At the bottom of the cart is the Personal Message, tag_-productdescription which is the tag that displays the message, and sadly also the attributes of the product. As the product has no attributes, the field only displays the message.
    It seems to work for my flowers site. Bit odd this cant be done a bit more easily - makes it hard for similar sites, flowers, gifts, etc.
    I could put a message field in the checkout registration, but this seems to lose the buying momentum of the purchaser at the time of viewing the product. Has anyone had this issue and how do you work around it?

  • When I capture a still frame froma video in Llightroom 4.3, where does the captured frame end up?

    When I capture a still frame froma video in Llightroom 4.3, where does the captured frame end up? I cannot find it. Stan

    It will be right next to the movie in your library and the jpg file will end up on your hard disk right next to the movie file. You can see the actual file by right (or control) clicking on the image in the library view and selecting "show in Finder/Explorer"

  • Using the "Capture" Feature?

    Hi all,
    I'm using a Canon Vixia HF-R100 and trying to use the Capture Feature in the program, but don't know where to start? I've researched around google how to connect the video camera, but I can't get a concrete answer. The camera has a component out which I believe is an IEEE 1394 (a or b?). I trying to hook it up to my 13' MBP as well as my desktop that I think has a Firewire 400. Any help would be great.
    PS - When I use this featue does it capture what the camera sees approx. 'real-time' or will I have to record first, then play it back?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    Malik Gowon wrote:
    PS - When I use this featue does it capture what the camera sees approx. 'real-time' or will I have to record first, then play it back?
    The answer you were given to this question above is "yes, capture is in real-time" BUT, I think that possibly that poster misunderstood your question. I believe the OP is asking if he can use the capture feature in Premiere to record video "as the camera sees it" instead of having to go to tape/flash first, and then play it back to be captured. To my knowledge, Premiere's capture interface doesn't allow for capture of live video... for something like that you'd use OnLocation which is bundled with Premiere.

  • MSI-8833 (GF2 MX400) Probs with the CAPTURE driver

    When I run LIve update, it shows me the BIOS and driver for the graphics card. But when  I'm installing the CAPTURE driver from MSI web page, Live update doesn't rekognize my MSI 8833 graphics card as an MSI or Live updateable graphics card any more?
    What to do?

    It will be easier to manually update drivers from Msi download page
    or Nvidias download page.
    Alot of people have trouble with the LiveUpdate features, sometimes resolved after reinstall LiveUpdate.

  • Please fix the "Capture Recording" feature...

    Ok..
    Here's how "Capture Recording" (a.k.a. "Retrospective Record" in other audio applications)
    is supposed to work:
    The song either is or isn't playing.
    You play your instrument.
    You liked what you did, even though you weren't recording.
    You press the "Capture Recording" button.
    Your software captured what you played, even though the song wasn't playing.
    And that's why Retrospective Record was asked for, and implemented in the DAW's of the world.
    But in Logic, if the song is not playing, and you play something you liked,
    Capture Recording just puts every note onto Bar1, Beat1 of a new track.
    And there's what you wanted to "capture", every note you played, sitting at Bar1, beat1,  All at the same time. lol.
    Now, I know that in this particular user group, there are many who love
    to jump onto a fast response in defense of this application.
    And that's ok, because I love this app also.
    but the Capture Recording feature needs to be fixed.
    Capture Recording (or "Retrospective Record" as Cubase calls it (they were first to implement it in 1995 btw))
    works as described above in bold,  it DOES make a very VERY big difference, believe it or not.

    I want My ES2 wrote:
    Ah,, that must be because Logic stops sending Midi clock to ext. Instruments. I know Cubase continues to send MC when stopped, so its clock must continue while stopped and it bases(nu pun intended) your recording on this clock. But like i said, it must needs quite some editing afterwards since you didn't hear a click. The note must be all over the place, rhythm-wise. Cheers.
    No, it has nothing to do with MIDI clock being enabled or not, it's the manner in which Logic's MIDI/Audio engine is implemented and can be traced way, way back. When Logic is not running, there is zero processing going on, this is part of Logic's intentional design and is one of the main reasons Logic is processor efficient, it also allows large instrument templates to be designed and loaded, if Logic's not running, no CPU is used. All other DAW's keep plugins partially active, you will always see CPU use. Early on when Mac's had limited graphics processing this was a big advantage, when Logic was stopped you had the full CPU to perform editing. This behavior was carried over as more powerful hardware was introduced.
    The downside: Many of Logic's quirks can be traced to the fact that nothing is being processed when Logic is halted. The "System Overload" message, missed notes at the beginning of bar 1, not being able to play a song all the way through the first or second time it played.  Say you have a region at bar 40 that uses a processor heavy instrument with a couple of Waves FX plugins... a second or two before bar 40 Logic starts to fill the FX and Instrument buffers with data as the plugins become active... "System Overload". I'm guessing Logic 10 will do what recent versions of Cubase has done, offer a preference that enables either type (active, inactive) processing.
    If anyone wonders why some Cubase users get on Logic's case... it's pretty much payback as Logic users use to really slam Cubase as being unprofessional because it was pirated so much it had many, many users who were completely clueless musicians/producers.
    The shoe is on the other foot now, a Mac is a dongle for Logic, while Apple would rather have your $199, they're not going to gripe at pirated versions as it will sell Mac hardware... and Apple makes their money with hardware, software is merely a support group for the hardware. As anyone on this forum can see, It's Logic collecting the clueless these days.
    Users don't realize how much they owe Steinberg/Cubase...
    Logic's Arrange Page
    Virtual Instruments
    Low Latency Audio Systems
    Piano Roll style editing
    And that's just a few, make no mistake, Steinberg has been the innovator on a lot of the breakthroughs.
    I've used Logic since version 2.1 (MIDI Only) and Cubase since version 3.

Maybe you are looking for

  • Using windows 8, firefox 16.02 freezes for 5 minutes on every page

    using windows 8, firefox (16.0.2) freezes for about 5 minutes on every page. Problem started two days ago. suspected Adobe flash, downloaded latest adobe update (Windows8-RT-KB2770041-x64.msu), fixed the problem for one windows 8 session. Have reset

  • I cant sync my iphone calendar to my mac

    i can't sync my iphone calendar to my mac.  

  • Update multiple rows in oracle

    Hi, I have two tables like as follows and I need to update Table A (Name field) base on table B. I need help on this. Current Table A : ID  Line Code Amount Name 111 1    MSCC 500    <null> 111 2    MSCC 300    <null> 111 3    MSCC 300    <null> 111

  • Enough stock coverage

    hi, for item purchased based on moving average price, when there is a variance between migo and miro, it will debit or credit stock account and update map of material accordingly if enough stock coverage is there. 1 may i know what does it mean by en

  • [SOLVED] Error with Nvidia Drivers (following the Beginner's Guide)

    I followed the beginner's installation guide and everything worked fine all the way up untill updating the kernel module dependencies using the "depmod -a" command.. First I created the "xorg.conf" file with the "nvidia-xconfig" command and it said: