I want to make an application where I could contact the server (computer hosting a mp4 video file) and then it would stream and play the video. The streaming and video playing would take place in the same application.
I have no idea where to begin. What technologies would I need to know to start implementing this? Any sort of direction would be useful.
I found this blog article which seems like it's what you're looking for. In his example, he streams the video from his local computer but streaming from a server should be along the same lines.
Related
I'm two days into researching this so I thought I'd post here. It looks like video recording software is usually written in C++ but my project requires C#. It's a WPF application and I just need it to save an mp4 locally. I don't need to upload to a server, I don't need to let the user pick a file location, I don't even need it to display the webcam feed as it's recording. All I need it to do is start/stop recording audio and video from a webcam/microphone and save it in a location that's determined by the code. I understand this may be broken down into steps like connecting to a webcam, connecting to a microphone, synchronizing them, encoding a video file, and saving it on the hard drive.
Are there any .NET classes that can help me with this? If not, can anyone recommend some libraries/frameworks/etc. that handle this sort of thing? I appreciate any help regarding how to do this. Thank you.
I'm trying to figure out how to grab the individual audio streams as they appear in the audio mixer to reroute them to an aggregate audio device. I'm specifically looking to keep them as discreet streams for the purposes of the program I'm making (If they're muxed down to a 2-channel mix, that defeats the purposes of what I'm trying to achieve.)
E.X.: (As I've just made this account, I apparently am not able to post images, so here's a link to the image)
windows audio mixer
In this, I'm hoping to grab "System Sounds" and "Stream Client Bootstrapper" as discreet audio streams to route elsewhere, while maintaining their original destination as well (essentially copying the audio going to the original audio device to another simultaneously).
I'm looking to do this in either C# or C++. I've perused the audio APIs that microsoft has published, and while some things look to be close to what I'm trying to do, nothing has hit the nail on the head. I appreciate any help. Thanks.
The sessions can be enumerated using IAudioSessionManager2::GetSessionEnumerator and friends (sample C++ code is here and there). Standard Windows volume mixer application is using this API as well.
The API however has no access to data streams, you won't have either (you certainly don't have data whether they are downmixed or not). Neither you can reroute streams to another device. Applications are not allowed to interfere that deep. The best you can do is to create your own device, interactively select it as default output device and then accept data from applications playing audio through this device.
I have a video file at my Server and the path to which resembles like "10.151.98.82/Medias/New/Videos/001.dat".
(Actually a video file but the extension is in .dat)
I have already built a WPF application which allows my users to enter the above Server URL and then let them to download it and then play it.
But my guess is that they need not wait till the entire file gets downloaded; just watch the files on the fly.
I have googled on video streaming but could not get a solid material to proceed on with.
[Sorry, if the question is naive or needs modification, i will be happy to do that or move to a relevant forum.]
Any pointers on how to do this is much appreciated.
Edit: This question talks about WCF service and WPF application. But, I dont' use a WCF Service. The video file has to be streamed from the server.
First try to play your file using VLC Player. it also have many advance streaming and Trans-coding Options. you can play, save and trans code simultaneously. Once you are able to Play your file in VLC Player than i would recommend to use VlcDotNet for wpf application. Tutorial for hosting VlcDotNet is available in downloads
Is there an embeddable video player that can do the following:
Stream video from a server (It's saved to disk)
Run across browsers (or at least give the
option for a fallback)
Run across mobile devices (Android and iOS)?
Have you looked into HTML5? video Embed, you should be able to stream from that. In terms of video protocol, you might have to make a converter but AVI might work. Give it a shot, I'd be interested to know what you find.
EDIT:
Links:
Streaming via RTSP or RTP in HTML5
http://www.pcworld.com/article/191030/how_to_ditch_flash_and_stream_video_with_html5.html
Hi all dear developers.
I need show live video and audio streaming in a web page developed by asp.net language.
Could anybody help me on this situation:
I want to know if there is an efficient and general and easy way.
I searched for hours about it: one solution is use "Wawza media server" which is too expensive for our project. (By wawza we can change RTSP to RTMP and then give it to jw player.)
I want a free way!
Please help me on this.
thanks for your attention
Well this change up to your stream! is it RTP? RTSP? wowza is the best at right now, what about Adobe's solutions? or you have to create your own which is harder one.
a) Adobe's Streaming Server
b) Adobe's RTMP Protocol
c) Adobe's Flash Player
d) F4v/Flv video format
These above software's are designed specifically for web applications to provide end user seamless, secured, uninterrupted, high quality video.
If you want some hands on then you can try Red5 (Open Source Flash Server written in Java) or rtpmd (C++ RTPM server)
You can use IIS Media Services (http://www.iis.net/media) and Smooth Streaming Client (http://www.iis.net/download/SmoothClient) to stream live video.