Opening a live media stream using C/C++ - c++

Can anyone tell me how to open a mms:// live media stream using C/C++. I am trying to do this for days. but can not find any book regarding these information.
Please suggest any book or any helpful sites. or if you know how to do this please teach me.
Thank you
A test stream
mms://a1926.l1856941925.c18569.g.lm.akamaistream.net/D/1926/18569/v0001/reflector:41925
Stream is NASATV provided by akamai.

In VLC media player there is a pretty good example on solving this issue. Download the sources from http://download.videolan.org/pub/videolan/vlc/2.0.1/ (it's the .xz file) and then just get the source from .\vlc-2.0.1\modules\access\mms\ (if you're on windows 7z opens xz files). The mmstu.c file is your source for information.
More info can be found at: http://get.to/sdp (address taken from mms.c)
Since this is Microsoft specific protocol, further reading can be found at http://msdn.microsoft.com/en-us/library/cc251059%28v=prot.10%29

Check live555 project, that would do the job.

Related

RTSP c++ livestream sample source code?

i was wondering what is the best way to livestream a camera using RTSP? i have been looking for hours but could not find anything any server source code that allows webcam livestreaming in c++ would help a lot.
There are many links to various server RTSP implementations, some open source and free on wikipedia.
Like this open source C++ one.

Send or execute internet direction without downloading annything

I have a wireless IP cam that play sounds. I know how to play this sounds because i know the direction and the command. I tried it with this Terminal command: http://192.168.0.90/axis-cgi/playclip.cgi?clip=6
The problem is wget command download the clip and i only want to reproduce it. Beacuse i want to do into a program.
Any option to do it in terminal. Or directly from a C++ program.
Thanks in advance.
mplayer or vlc will stream the URL and play it as if it was a local file. As for doing it in C++, you have much more work to do (find an HTTP library, read the contents, decode it and reproduce it. Maybe the ffmpeg library can help you here.

Creating a livestream website

We already have a functionality of Video uploading in our webapplication[built using python with Django framework]. Now we are in the process of building a livestream site where people are able to use their webcam to record the live event and it's live streamed to different participants at the sametime.
I am wondering if somebody has any idea of how to go about building a functionality like this or any pointers that would be really helpful.
I sort of looked into this same question a while ago. The dominant solution seems to be Adobes Flash Media Server. It is closed source of course and quite pricey. There are companies who run it as a service, lowering the cost of entry. And there are open source contenders, the main one being Red5, which of course also relies on flash being available on the client side.
In the future we'll probably see viable HTML5 alternatives but if you're doing something right now my feeling is that the flash route is the simplest solution and has the largest install base.
I did a video vlc record with python and it was quite simple. VLC have a stream recorder and as I know you could launch a vlc stream with a simple python code who manage the video ans the stream. I think all you need is to manage the sources and then, doing a small script who takes care about the vlc stream.
VLC stream will be launch on a different port, so I think you've to search a good server.
see vlc docs :
https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/
Enjoy :)
Check VLC or Flumotion...
Probably Photolab as well..
The latter one doesn't support audio...
Gee

How to read CD audio data in Windows?

What is the Microsoft-approved way to extract the raw audio data from an audio CD? I'm hoping to do this with C++ or C.
It's ironic because in XP/Vista/7, there is the IMAPI (Image Mastering API) for writing data, but not for reading it.
Is there a set of API functions for this? Or do I need to send SCSI commands?
Here are a couple of code samples...
http://www.codeproject.com/KB/audio-video/SimpleAudioCD.aspx
http://www.codeproject.com/KB/cs/csharpripper.aspx
I would use open source for this. Have you looked at the CDEX project? The CDRip.dll in this project may be useful.
The windows audio guy, Larry Osterman, did a whole series about CD Audio playback on his blog (DAE,MCI)

getting started with libmms

Actually, the title explains it all...
I want to read a stream, but have no idea from where to start.
I've searched the web for some documentation/tutorial/whatever with no luck.
Any help using this lib would be very appreciated.
[CLARIFICATION]
I am talking about MMS stream protocol library that can be found here.
LibMMS is a common library for parsing mms:// and mmsh:// type network streams. These are commonly used to stream Windows Media Video content over the web.
[/CLARIFICATION]