Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to programatically play a video?

How to programatically play a video?

Scheduled Pinned Locked Moved C#
csharpjsonperformancetutorialquestion
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    George_George
    wrote on last edited by
    #1

    Hello everyone, I want to programtically play a remote (streamed) video using C#, the purpose is to test web sites performance/stress. No need to have any GUI, just using Media Player API to playback a speific video by URL is fine. I searched for Windows Media Player API/SDK samples, but all are dealing with GUI, not what I wanted. Does anyone have any good samples to recommend? thanks in advance, George

    M 1 Reply Last reply
    0
    • G George_George

      Hello everyone, I want to programtically play a remote (streamed) video using C#, the purpose is to test web sites performance/stress. No need to have any GUI, just using Media Player API to playback a speific video by URL is fine. I searched for Windows Media Player API/SDK samples, but all are dealing with GUI, not what I wanted. Does anyone have any good samples to recommend? thanks in advance, George

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #2

      Well surely if the GUI examples do what you want you can take the relavnt code from them and use it however you want

      Life goes very fast. Tomorrow, today is already yesterday.

      G 1 Reply Last reply
      0
      • M musefan

        Well surely if the GUI examples do what you want you can take the relavnt code from them and use it however you want

        Life goes very fast. Tomorrow, today is already yesterday.

        G Offline
        G Offline
        George_George
        wrote on last edited by
        #3

        Hi musefan, All samples I found are too complex and it takes me much time to read and just get simple code to playback. Do you have any recommended simple samples? regards, George

        M 1 Reply Last reply
        0
        • G George_George

          Hi musefan, All samples I found are too complex and it takes me much time to read and just get simple code to playback. Do you have any recommended simple samples? regards, George

          M Offline
          M Offline
          musefan
          wrote on last edited by
          #4

          No I dont have any simple samples. Thankfully not all tasks can be accomplished with a single (or very few) lines of code. Sometimes you have to write alot of code for something that may produce an apparently simple result. If you are having trouble understanding the complexity of the code examples than perhaps you need to take a step back and ask yourself if your doing something that is more advanced than you can handle. If so, then you will want to go back to more simple tasks until you have a better understanding. Or you could just put the time in to understand the example code you already have a learn from that. it really depends on how basic your understanding of the example is or is not.

          Life goes very fast. Tomorrow, today is already yesterday.

          G 1 Reply Last reply
          0
          • M musefan

            No I dont have any simple samples. Thankfully not all tasks can be accomplished with a single (or very few) lines of code. Sometimes you have to write alot of code for something that may produce an apparently simple result. If you are having trouble understanding the complexity of the code examples than perhaps you need to take a step back and ask yourself if your doing something that is more advanced than you can handle. If so, then you will want to go back to more simple tasks until you have a better understanding. Or you could just put the time in to understand the example code you already have a learn from that. it really depends on how basic your understanding of the example is or is not.

            Life goes very fast. Tomorrow, today is already yesterday.

            G Offline
            G Offline
            George_George
            wrote on last edited by
            #5

            Could you recommend me some samples to start-with? Either simple or not is fine. regards, George

            M 1 Reply Last reply
            0
            • G George_George

              Could you recommend me some samples to start-with? Either simple or not is fine. regards, George

              M Offline
              M Offline
              musefan
              wrote on last edited by
              #6

              Sorry i have not done this task before so have no samples and i certainly do not wish to waste my time searching the web and doing the work for you.

              Life goes very fast. Tomorrow, today is already yesterday.

              G 1 Reply Last reply
              0
              • M musefan

                Sorry i have not done this task before so have no samples and i certainly do not wish to waste my time searching the web and doing the work for you.

                Life goes very fast. Tomorrow, today is already yesterday.

                G Offline
                G Offline
                George_George
                wrote on last edited by
                #7

                Thanks all the same, let use wait for other gurus. regards, George

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups