Play live stream - macos

Is there a gui or better yet something via terminal for the Mac (unix) that can play a rtmp live stream? So be able to enter the rtmp address and also the stream name? I have tried VLC with no luck. I'm on Snow Leopard.
I just want to have a window pop open and the stream be available to view...like when you play a file via command line for mPlayer.

why not just create some embed code in a html page and point the stream at that?
Download the jw flash player demo and just change the rtmp stream.

Related

MJPEG stream via URL to webcam device on Mac

I have a video device that exposes an MJPEG stream via a URL. For windows there are utility apps that can "create" a system webcam device useable by Skype or any other application based on the URL this video device exposes.
Example: smart phone is broadcasting MJPEG URL. Windows computer can run a utility app to "create" a system webcam based off of the MJPEG stream and then that webcam be used via Skype. The video shown is what the phone is broadcasting.
I'm trying to do the same but for my Mac. I can't seem to find any utility that creates a system webcam from an MJPEG stream. Googling isn't helping either, I'm just not finding a solid solution or anything I recognize as a solution.
Thanks!
I've had success with obs-studio and its vlc and virtual camera plugins.
You can add a "Vlc Video Source" and then click "Start Virtual Camera".
If you want to use it as a web-cam I just recommend that you reduce the "Network Caching (ms)" setting in the vlc video source settings as much as possible.
The hard-coded minimal value is 100ms, you can reduce it by changing this line: https://github.com/obsproject/obs-studio/blob/7217671eb0812681a9f83858bb02065b671673e7/plugins/vlc-video/vlc-video-source.c#L1079
There is still significant delay with this method regardless, but it's better than not having it working at all.

Playing mp3 Audio files in WP7

I want to stream an audio from server using windows phone 7
the audio extension is mp3. I have tried Mp3MediaStreamSource class but the problem was that it downloads all the audio then start playing it.
I want to know what is the best way to play audio in WP7 for platform 7.0 ( with buffering -> not waiting until the entire audio file is downloaded.
Thanks in advance
I use Background Audio agent do stream mp3 radio broadcast. Take a look at this tutorial http://msdn.microsoft.com/en-us/library/hh202978(v=VS.92).aspx

Play audio stream using Cocoa

How can I stream audio from a .pls using cocoa?
Right now I'm trying to use this Xcode project, but it only works with a URL pointing to an actual audio file like .mp3.
Where I can find something to start with?

capture video from screen for stream

i am looking for differnt solutions to capture video stream from monitor screen and send it to vidoestreaming server to broadcast in web. it must occuring in "live".
i'd not like to use external services like "procaster" for broad.
OS: Windows.
it will be great to know the ideas and expirience people have to accomplish that.
Thanks all.
Recently, I build a GoLang project called ScreenStreamer, is a tool to stream current active window or full screen (Linux's or Windows's) to other device, like phone or another PC, as MJPEG over http or FLV over rtmp, it's very realtime (delay < 100ms). It works on Windows and Linux.
After building it, you can run it as:
# enter the project root directory
cd ./src/ScreenStreamer
# run it
./mjpeg or .\mjpeg.exe
# use a web browser or other video player, open http://host:port/mjpeg
./rtmp or .\rtmp.exe
# use a video player, open rtmp://host:port/live/screen
Screenshot:
Windows SDK includes Push Source Filters Sample, which in turn contains CPushSourceDesktop filter/class.
CPushSourceDesktop: Copy of current desktop image (GDI only)
It captures desktop image and pushes it into DirectShow pipeline. From there on you can process it using video compression codec and stream it to remote location. A decent screen image compression codec is included with Windows Media subsystem, network streaming will have to be a custom or third party component. Alternatively, it is possible to make the capture class a virtual camera and have Windows Media Encoder broadcast it (or, it already has a simila feature built in).
Alternatively, you can check VNC (or one of the clones) source code and see how it hooks windows and captures image updates, then compresses them and makes it available for remote applications.
Note that you will have to specifically capture non-GDI images (such as coming from video/gaming applications, which use hardware acceleration and non-RGB surffaces).

stream video with eventmachine?

It seems to me that EM::FileStreamer should be usable out of the box, but I tried it with the <video> tag and with an embedded Quicktime plugin, but neither one would actually show the video.
I've connected to my EM server with telnet and found that it does indeed stream my video file. I'm at a loss as to why it's not buffering and playing in my browser. Anyone have any hints for me?
That should work, however the video must be encoded properly to stream in that fashion. I am assuming your using an mp4? If so, have you run qt-faststart on the file?
Here's an article with a bit of info.
http://www.stoimen.com/blog/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/
I also have my sample video encoding app on github, which does this automatically for you when you upload videos.
https://github.com/zquestz/asset-manager
Just make sure qt-faststart is in your PATH. Once the index information is at the beginning of the file, thing should work as expected.
Videos encoded with libtheora should work out of the box for supported browsers.

Resources