How to programatically play a video?
-
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
-
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
-
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.
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
-
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
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.
-
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.
Could you recommend me some samples to start-with? Either simple or not is fine. regards, George
-
Could you recommend me some samples to start-with? Either simple or not is fine. regards, George
-
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.
Thanks all the same, let use wait for other gurus. regards, George