Playing video in labview with some basic information output for my program.

I'm trying to program something similar to NI's product DIAdem CLIP in LabVIEW.  A program that synchronizes test data with video.  I'm trying to find a decent video component that gives me basic information about what is being played.
My first thought is to use Windows Media Player 10 w/ LabVIEW ActiveX container.  I'm a little confussed as to what I'm doing with it, however.  I can't find any information about Windows Media Player 10 in the Class Browser.
All I really need is:
Input:
1. The file for the embedded media player to play.
Output:
1. The framerate of the file being played.
2. The current frame.
I think with that I should be able to put a marker in my data graphs that indicates where that data correlates with the playing video.
Thank you for your input!
-Nic

Your best source of information regarding the Windows Media Player object model is MSDN. I've only done a little bit of playing with Windows Media embedded in LabVIEW, but enough to know it was a pain and not worth the effort. NI has a KnowledgeBase article that indicates you will probably need LV8. In terms of your specific query regarding position, you should take a look at the "Controls" object in the object model, as that has properties I think you're going to need.

Similar Messages

  • I cant play videos on Facebook with Firefox but I can with IE. I am using Firefox 4.0.1

    I cant play videos on Facebook with Firefox but I can with IE. I am using Firefox 4.0.1

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • You Tube not playing video on Firefox with Adobe Flash after latest update

    You Tube and other sites are not playing video on Firefox with Adobe Flash after latest update for both. Adobe Flash is working on other sites but not You tube and those sites that may have embedded You Tube videos, I'm not sure.
    Adobe Flash does not crash and no error message is showing. All that shows is a dark screen for the Flash video. Right clicking the screen shows only a non-clickable 'Movie not loaded' and the clickable link to the Adobe home page.
    I have spent an hour trying things as suggested for past problems similar to this but none have helped.
    I have sent sad face letting you know what I think of the latest update because of this which says pretty much the same thing as I have said here.
    I have no further info but if I had some input and queries form you I might be able to provide more.

    I'm not sure how to remove the 12.xxx version,. I don't understand why it is there, usually updates over wirte the old one as far as I know. I don't know where to find it.
    pref .js deleted.
    I could not find a user.js
    I disabled hardware acceleration on one of them, not sure which and I don't remember how I did it but think it must have been on the flash.
    No idea what protected mode is
    no new profile, I've never done this.
    Ok, did what you have said as much as I could. I have been fidgeting with things now for a couple hours. After doing a CCleaner and Registry cleanse, turning off and restarting the computer, the videos are now p-laying.
    I would still like to know how to find and get rid of the duplicate Flash plug in though if you would't mind.
    Thanks for the help.

  • IChat Video Audio: works with some iMacs not others

    I have this strange problem.
    I can chat with everyone.
    I can video and audio with some but not all.
    A person I can video or audio chat with can video and audio chat with our mutual friend.
    I cannot video or audio chat with the mutual friend.
    All machines are iMacs OS 10.4.10 with latest updates.
    There was no problem until 2 weeks ago.
    Does anyone have a suggestion as to how to solve this problem?
    thank you in advance.

    Presuming all have got their System Preferences > Quickitme > Streaming set to 1.5Mbps and restarted IChat then...
    Change the way the ports are opened in the routing device
    http://www.ralphjohnsuk.dsl.pipex.com/page15.html#CertainBuddy
    5:02 PM Thursday; August 23, 2007

  • Very recently, my computer stopped opening quicktime when I click on a video clip in iphoto, Its quicktime X, and it works to play videos if I open quicktime and then search for the video. How do I go back to quicktime automatically launching from iphoto?

    Very recently, my computer stopped opening quicktime when I click on a video clip in iphoto. I have quicktime X, and it still works to play videos if I open quicktime and then search for the video. How do I go back to quicktime automatically launching from iphoto?

    Well since I do not have iPhoto 7 I can only guess what may be: As far I can remember up to iPhoto 8, iPhoto insisted on Quick Time Player 7. As I can see you have Snow Leopard (Mac OS X 10.6) and there Quick Time X is the standard playaer. Basically Quick Time 7 is not part of Snow Leopard.
    Can you please check if Quick Time 7 is installed under Applications->Utilitis (in 10.6 Quick Time 7 if presenet is installed not under Applications - there Quick Time X is - but under Application/Utilities).
    If not: insert your Snow Leopard installation DVD.
    Once the installer opens, double-click on the Optional Installs folder
    Double-click the Optional Installs.mpkg package
    Click continue.
    Select the option for QuickTime 7 then click Continue to start the installation.
    If it is there you may try to move the iPhoto prefernce file to another folder and let iPhoto create a new one.
    Please keep the old file until you are sure that iPhoto works how it should.
    The iPhoto preference file can be found under your home folder then Library then Preferences and there
    com.apple.iPhoto.plist
    As alraedy mentioned do not delet this file, since if something goes wrong you can put it back.

  • I am totally frustrated by the fact that now i have gone to iCloud and after a few synchs, my contacts are all mixed up with the wrong information.  For instance, my email and phone number comes up under someone else's name (a thousand contacts)

    I am totally frustrated by the fact that now i have gone to iCloud and after a few synchs, my contacts are all mixed up with the wrong information.  For instance, my email and phone number comes up under someone else's name (a thousand contacts).  I dont know how to repair this.  what a nightmare

    An icloud account is designed to be used by just one user.  If you have given your ID or set up your account on someone else's device, then their data will be mingled with your or worse.

  • Is it possible to play videos or clips with the appletv from an Time Capsule direct without other hardware?

    I want to play videos, movies and music-clips (either mp4, other formats or out of an itunes-db) on my appletv without using other hardware than the apple tv an the Time Capsule (except the tv ;-) ). Is it possible to stream direct from the Time Capsule? With other and even cheaper NAS-Storages is it possible, eg. with the ps3 ...Thanks for help.

    The TC from the day it was introduced until today.. has got a bigger hard disk and gained dual band wireless.. but nothing substantial.. it is not a NAS and has never been more than a target for TM mostly laptops as any desktop Mac can have an external drive for backups cheaper and faster than TC.
    Many people were disappointed that Gen4 was a nothing upgrade. it is just a Gen3 with a different wireless card. Don't know if there will even be a Gen5 as Apple seems to see Cloud as the answer for remote storage. I would not be surprised if it was dropped completely. But who knows.. Apple sure don't let any secrets out of the bag.
    And for the AppleTV 3 there is no JB or other things possible at this moment?
    Not yet.. we are awaiting as some major effort is being expended. There is a hack just recently for the ATVv2 with v5 of iOS.. so the v3 may not be far behind.. v2 are commanding high prices at the moment on ebay though.. near to double purchase price when they sold out before v3 arrived.. as people discover their TV watching plans are now in tatters. Or their library of movies is no longer accessible.

  • Can someone help with some basic answers on Premiere Elements 12

    I have used Premiere Elements in the past (up to Premiere Elements 9) but only once per annum to edit the past year's video of my Grandchildren. The change now is that I am using a Panasonic HC-V520 and have been shooting in 1080 50p. Premiere Elements 9 doesn't support this format I believe.
    My questions are:
    1     Can Premiere Elements 12 import and edit this format?
    2     If the answer is yes to question 1, can I mix older footage from my old Sony Camcorder with this newer footage for edit in Premiere Elements?
    3     Can I then output to either a Blu Ray disc to play on my DVD Player or an ordinary DVD disc to play on an older DVD Player which is not blu ray compatible?
    4     Am I wasting my time in recording in 1080 50p and should I instead be recording new footage in a different format?
    Thanks for any help you can give me.

    1. yes
    2. yes
    3. No. DVD players can't play BluRay discs -- even if they are burned to a DVD disc.
    4. 1080p50 is a perfectly legitimate mode for shooting, particularly if you're shooting video with a lot of action, since it has double the actual frames of 1080i50. However, your output video may or may not actually have 50p frames (or even be 1920x1080), depending on what form of media you're publishing as. The BluRay files that Premiere Elements outputs, for instance are 50i.

  • Is there a fix yet for Firefox so it can play videos on websites with "Hotlink Protection"? It's been 9 years now and still no fix.

    How come Firefox still hasn't come up with a fix for it to be able to play videos from websites that have "Hotlink Protection"? The error "Video not found" always comes up. This has been like this for almost 8 or 9 years now. (I'm probaby off by a year or two). Internet Explorer, Google Chrome, Opera, Safari, etc... all have no problem whatsoever and can play the videos easily.

    Applecare on the phone is torturous, I spent an hour getting redirected back and forth between 3 different departments each saying "This isn't my area, you need to talk X department" or "why did they send you back to me?" Then you get disconnected.
    The nearest apple store is about 2 hours away. If I'm near it again, I'll stop by. I was just hoping either the problem was patched or someone online knew how to fix this infamous problem yet.

  • How to play video repeatedly and with no audio

    Hello all,
    I use the following code to play video in Flex:
    public function startPlayback(event:CairngormEvent) : void
         if (model.nsDemoRemotePlay != null )
                                   * Stop and close previous NetStream.
                                  var demoStopStreamEvent :VCDemoStopStreamEvent = new VCDemoStopStreamEvent();
                                  CairngormEventDispatcher.getInstance().dispatchEvent(demoStopStreamEvent);
                        nc.connect(null);
                         * Setup NetStream for playback.
                        model.nsDemoRemotePlay = new NetStream(nc);
                        model. nsDemoRemotePlay.receiveAudio( false );
                        model.nsDemoRemotePlay.client = this._responder;
                             model.videoRemote = new Video(model.videoRemoteWidth, model.videoRemoteHeight);
                             model.videoRemote.attachNetStream( model.nsDemoRemotePlay );                    
         model.nsDemoRemotePlay.play("assets/videos/Demo.flv");
    I have two questions:Could anybody please help me in answering these.
    1. Is it possible to play a video without audio? I used receiveAudio( false ) with NetStream object. But audio is still there.
    2. How can I play a video play repeatedly? I want to play video repeatedly and stop it only when a Stop event is fired.
    Thanks.
    roshni.

    NSObj.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    public function netStatusHandler(event:NetStatusEvent):void
         switch(event.info.code)
              case "NetStream.Play.Start" :// your code
                                                         break;
              case "NetStream.Play.Stop" :// your code 
                                                         break;
    }//end of netstatus handler function
    I hope my post will answer your question or helps

  • Can not play videos in background with iso 6

    I have updated my iphone 4s to iso 6 operating system. I am not happy this this new operating system. Anyway, i have a problem playing videos in background after the update.. I was able to play youtube music in background with iso 5.1 but not with iso 6..

    Hei eidnolb (what ever u nickname means)
    I can give u this answere on u quest:
    Under Run Without Permission i can find Shockwave Flash Object:
    Status: Deactiveted (in Norwegian language)
    Version: 10.2.159.1
    What will u recommand me to do now?
    And i'm the one that should say thanks!

  • How to play videos in JSP with the helping of StoreProcedure?

    and more,how to converse the avi,dat,mpg,mov,wmv format into rm format??

    Under "General" in iTunes Preferences, does "Play
    Videos in.." allow you to set the playback of videos
    as you desire?
    kind of. It does spawn a new window, which is great (thanks!). But it seems to be at a lower resolution - does iTunes compress further or display at lower res? What is the function that people are supposed to be able to use to use iTunes as a media center to watch movies?

  • 5th gen Nano playing songs slower and with some digital "noise"

    Recently I have notice my 5th gen Nano playing songs slowere and with digital "noise" when out speed walking with the pedometer on...anyone experience this and know what could be causing it?

    I'm also having this issue. It started on Friday. It slowed down my music towards the middle of the song and if I change the song it is OK for a bit and then it gets the digital noise and slows down again. I have no idea what is causing it. My ipod is less than a year old. I'm going to try and reset it tomorrow I think. The trouble is driving me NUTS.

  • Playing video from a capture device - Out of memory for video buffers?

    Hello guys, I'm having problems playing video from a video capture device when not using JMStudio. When I use JMStudio, the video plays real time with no problems, but when I use code taken from a java book which is a simple Media Player, I get the following error:
    "Error is Error: Out of memory for video buffers."
    My capture device is working and I don't know why i get this error when trying to watch the video feed from a program other than JMStudio. I also tried different code that has worked in the past with the same exact capture device and I still get the same error. Please help, I have no clue at this point. The code for the simple media player is below, it's taken out of the book "Java: How to Program (4th edition)":
    Thanks in advance, I am very greatful
    Miguel
    device info: vfw:Microsoft WDM Image Capture (Win32):0
    When I type the locator, I am typing vfw://0, I also tried just vfw://
    and I get the same error.
    // Fig. 22.1: SimplePlayer.java
    // Opens and plays a media file from
    // local computer, public URL, or an RTP session
    // Java core packages
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    // Java extension packages
    import javax.swing.*;
    import javax.media.*;
    public class SimplePlayer extends JFrame {
         // Java media player
         private Player player;
    // visual content component
    private Component visualMedia;
    // controls component for media
    private Component mediaControl;
    // main container
    private Container container;
    // media file and media locations
    private File mediaFile;
    private URL fileURL;
    // constructor for SimplePlayer
    public SimplePlayer()
    super( "Simple Java Media Player" );
    container = getContentPane();
    // panel containing buttons
    JPanel buttonPanel = new JPanel();
    container.add( buttonPanel, BorderLayout.NORTH );
    // opening file from directory button
    JButton openFile = new JButton( "Open File" );
    buttonPanel.add( openFile );
    // register an ActionListener for openFile events
    openFile.addActionListener(
    // anonymous inner class to handle openFile events
    new ActionListener() {
    // open and create player for file
    public void actionPerformed( ActionEvent event )
    mediaFile = getFile();
    if ( mediaFile != null ) {
    // obtain URL from file
    try {
    fileURL = mediaFile.toURL();
    // file path unresolvable
    catch ( MalformedURLException badURL ) {
    badURL.printStackTrace();
    showErrorMessage( "Bad URL" );
    makePlayer( fileURL.toString() );
    } // end actionPerformed
    } // end ActionListener
    ); // end call to method addActionListener
    // URL opening button
    JButton openURL = new JButton( "Open Locator" );
    buttonPanel.add( openURL );
    // register an ActionListener for openURL events
    openURL.addActionListener(
    // anonymous inner class to handle openURL events
    new ActionListener() {
    // open and create player for media locator
    public void actionPerformed( ActionEvent event )
    String addressName = getMediaLocation();
    if ( addressName != null )
    makePlayer( addressName );
    } // end ActionListener
    ); // end call to method addActionListener
    // turn on lightweight rendering on players to enable
    // better compatibility with lightweight GUI components
    Manager.setHint( Manager.LIGHTWEIGHT_RENDERER,
    Boolean.TRUE );
    } // end SimplePlayer constructor
    // utility method for pop-up error messages
    public void showErrorMessage( String error )
    JOptionPane.showMessageDialog( this, error, "Error",
    JOptionPane.ERROR_MESSAGE );
    // get file from computer
    public File getFile()
    JFileChooser fileChooser = new JFileChooser();
    fileChooser.setFileSelectionMode(
    JFileChooser.FILES_ONLY );
    int result = fileChooser.showOpenDialog( this );
    if ( result == JFileChooser.CANCEL_OPTION )
    return null;
    else
    return fileChooser.getSelectedFile();
    // get media location from user input
    public String getMediaLocation()
    String input = JOptionPane.showInputDialog(
    this, "Enter URL" );
    // if user presses OK with no input
    if ( input != null && input.length() == 0 )
    return null;
    return input;
    // create player using media's location
    public void makePlayer( String mediaLocation )
    // reset player and window if previous player exists
    if ( player != null )
    removePlayerComponents();
    // location of media source
    MediaLocator mediaLocator =
    new MediaLocator( mediaLocation );
    if ( mediaLocator == null ) {
    showErrorMessage( "Error opening file" );
    return;
    // create a player from MediaLocator
    try {
    player = Manager.createPlayer( mediaLocator );
    // register ControllerListener to handle Player events
    player.addControllerListener(
    new PlayerEventHandler() );
    // call realize to enable rendering of player's media
    player.realize();
    // no player exists or format is unsupported
    catch ( NoPlayerException noPlayerException ) {
    noPlayerException.printStackTrace();
    // file input error
    catch ( IOException ioException ) {
    ioException.printStackTrace();
    } // end makePlayer method
    // return player to system resources and
    // reset media and controls
    public void removePlayerComponents()
    // remove previous video component if there is one
    if ( visualMedia != null )
    container.remove( visualMedia );
    // remove previous media control if there is one
    if ( mediaControl != null )
    container.remove( mediaControl );
    // stop player and return allocated resources
    player.close();
    // obtain visual media and player controls
    public void getMediaComponents()
    // get visual component from player
    visualMedia = player.getVisualComponent();
    // add visual component if present
    if ( visualMedia != null )
    container.add( visualMedia, BorderLayout.CENTER );
    // get player control GUI
    mediaControl = player.getControlPanelComponent();
    // add controls component if present
    if ( mediaControl != null )
    container.add( mediaControl, BorderLayout.SOUTH );
    } // end method getMediaComponents
    // handler for player's ControllerEvents
    private class PlayerEventHandler extends ControllerAdapter {
    // prefetch media feed once player is realized
    public void realizeComplete(
    RealizeCompleteEvent realizeDoneEvent )
    player.prefetch();
    // player can start showing media after prefetching
    public void prefetchComplete(
    PrefetchCompleteEvent prefetchDoneEvent )
    getMediaComponents();
    // ensure valid layout of frame
    validate();
    // start playing media
    player.start();
    } // end prefetchComplete method
    // if end of media, reset to beginning, stop play
    public void endOfMedia( EndOfMediaEvent mediaEndEvent )
    player.setMediaTime( new Time( 0 ) );
    player.stop();
    } // end PlayerEventHandler inner class
    // execute application
    public static void main( String args[] )
    SimplePlayer testPlayer = new SimplePlayer();
    testPlayer.setSize( 300, 300 );
    testPlayer.setLocation( 300, 300 );
    testPlayer.setDefaultCloseOperation( EXIT_ON_CLOSE );
    testPlayer.setVisible( true );
    } // end class SimplePlayer

    somebody? anybody? I know there are some JMF professionals in here, any ideas?
    I was reading the Sun documentation and it said something about increasing the JVM memory buffer or something? Well, i'm just clueless at this point.
    Help a brotha out!

  • Hello sir i want to play videos on iPod nano is there any software for playing.incase as compare to the price worth i would played.

    hello.sir my ipod nano 6g is not playing video songs is there any application to play it.incase as compare to the price worth it would play videos.

    I don't believe that model has video capabilities
    Where did you hear that it had this function?
    http://www.apple.com/ipodnano/features.html
    FYI: You are not speaking with Apple here, just other users.

Maybe you are looking for

  • Linking Two projects in oracle projects

    Dears, I need to know how it's possible to link two projects together in one project?! Regards,, Ahmed Fazary

  • OBIEE 11g Installer

    Hi, I am trying to install OBIEE 11g and as per the installation document I need to have OBIEE Installer to start with installation. The document points to Download Oracle Business Intelligence 11g Installer .zip file from OTN at the following link:

  • LR5 Spot Removals disappear when choosing "Edit in... Photoshop CS5"

    This is quite frustrating. I go over my photo and remove dust specs in LR5, then choose to edit the image further in Photoshop CS5 (Right click or Cmd+E -> Edit in Adobe Photoshop CS5). When the photo opens in Photoshop all the Spot Removals I have d

  • Check this problem............

    I don't know if it's possible to subclass inside a clas...I've tried it but didn't work it....all I have is bunch of problems. Anywho, I play it around, and still I'm not satisfied. I want to create a simple atm project. So I want the user to choose

  • Auto Adjust Soundtrack with Narration

    Hello, Can anyone help with an Audio question in Premiere Pro CS6? I've recently found that Premiere Elements has a Great Audio feature (Smart Mix) wich Auto insert keyframes in a Music Track, decreasing and increasing the volume depending on another