streaming

What are my options for streaming for silverlight?

I would like to implement limited scope streaming (LAN, multicast, even broadcast) where the client is implemented in silverlight. More importantly, I would like to stream from a desktop OS, not a server OS. As a result, I can't use the MS media server, which I believe requires WS2003 or WS2008. Ideally the solution would have some sort...

privatize video streaming.

Hello, you know on YouTube, once you uploaded a video, it would ask you to make it either public or private. public being that it is accessible by any. private being accissible by only you the original uploader and you have to be logged in to do so, too. I need to make something of the same kind as that. I am making a rails app that uses...

Stream large binary files with urllib2 to file

I use the following code to stream large files from the Internet into a local file: fp = open(file, 'wb') req = urllib2.urlopen(url) for line in req: fp.write(line) fp.close() This works but it downloads quite slowly. Is there a faster way? (The files are large so I don't want to keep them in memory.) ...

Play mms:// streams on my site

Hi Overflowers! I'm building a "channel chooser" for a set of mms:// streams (Microsoft Media Server): a simple web GUI that lets the user chose which channel to listen to. For reference, here is the list of streams I'd like to use. I would like users to be able to play those streams on my site with a simple "play/stop" control. Nothing...

Image retriever in a thread

Hi ! I'm trying to make an image retriever to work with a list. The list contains items of type (TItem) for example. TItem has some properties like title, image and imageURL. There is a thread with the list that scan all items and try to retrieve the image of each item by using the imageURL of each item. The thread that retrieve the ...

Live video streaming using progressive download (and not RTMP) in Flash

Hi, Is it possible to use progressive download for near real-time playback of a live video stream recorded with a webcam? What I need is that a video stream is recorded on one end, uploaded in real-time to a server and downloaded with a short delay, but in real-time, using progressive download (i.e., HTTP streaming) on another end for ...

What is the easiest way in pure Perl to stream from another HTTP resource?

What is the easiest way (without opening a shell to curl and reading from stdin) in Perl to stream from another HTTP resource? I'm assuming here that the HTTP resource I'm reading from is a potentially infinite stream (or just really, really long) ...

Ruby CGI Stream Audio

What I want to do is use a CGI script (written in Ruby) to read a binary file off of the filesystem (audio, specifically) and stream it to the browser. This is how I am doing that so far, require 'config' ENV['REQUEST_URI'] =~ /\?(.*)$/ f= $config[:mdir] + '/' + $1.url_decode f = File.open f, 'rb' print "Content-Type: audio/mpeg\r\n"...

Uploading file with WCF streaming, tiny reads from stream

Hi I've implemented file uploading using WCF's streaming. Everything works as expected, however i faced one issue: i'm allocating 4kb buffer to read from incoming stream, but WCF reads only 255 bytes. Here is my upload function: public UploadResponse UploadFile(FileDto fileDto) { using (var inStream = fileDto.FileStream) ...

creating my own MJPEG stream

Hello everyone. I'm trying to create an MJPEG stream, I have a series of jpegs that I want to put together into a stream so that a user can just hit a URL and get an mjpeg stream. I've been trying for the last few days to get this to work, and it may just not be possible. I've brought up ethereal and listened to the packets coming from...

What is the best embeddable live stream podcast component I can toss into a client's website?

I am making a website for someone, and they want to be able to record, broadcast, and archive radio shows they put up. Anyone know any drop and play components that are great for this? What's the best? Thanks!! ...

How to read continous HTTP streaming data in Python?

Hi How to read binary streams from a HTTP streamer server in python. I did a search and someone said urllib2 can do the job but had blocking issues. Someone suggested Twisted framework. My questions are: If it's just a streaming client reads data on background, can I ignore the blocking issues caused by urllib2? What will happen if u...

Asynchronous Stream Processing in Python

Let's start with a simple example. A HTTP data stream comes in the following format: MESSAGE_LENGTH, 2 bytes MESSAGE_BODY, REPEAT... Currently, I use urllib2 to retrieve and process streaming data as below: length = response.read(2) while True: data = response.read(length) DO DATA PROCESSING It works, but since all message...

stream a pdf to a .net webbrowser object on a winform

I have a webbrowser object on a winform that I would like to use to display a pdf. The pdf resides on a ftp server. I have been able to show the pdf by downloading it to the disk and pointing the webbrowser object to it (navigate), but I want to stream it for security reasons. Has anyone been able to stream a pdf to a webbrowser that ...

Parsing variable length descriptors from a byte stream and acting on their type

I'm reading from a byte stream that contains a series of variable length descriptors which I'm representing as various structs/classes in my code. Each descriptor has a fixed length header in common with all the other descriptors, which are used to identify its type. Is there an appropriate model or pattern I can use to best parse and r...

Managing a large collection of music.

I'd like to write my own music streaming web application for my personal use but I'm racking my brain on how to manage it. Existing music and their location's rarely change but are still capable of (fixing filename, ID3 tags, /The Chemical Brothers instead of /Chemical Brothers). How would the community manage all of these files? I ca...

How do I implement HTTP Streaming by utilising IIS Web Server for my application in C#/ASP.Net?

How do I implement HTTP Streaming by utilizing IIS Web Server for my application in C#/ASP.Net? Do I need to poll the web server from the client? ...

How does VLC Media player implement HTTP Streaming?

How does VLC Media player implement HTTP Streaming? I am aware that, VLC Media player can be used as a streaming server and also a streaming client. My requirement is to stream(over HTTP) a proprietary protocol data from the server to clients and I am not comfortable with C/C++ code. I am comfortable with C# and Java. Can somebody ...

Heroku: Serving Large Dynamically-Generated Assets Without a Local Filesystem

I have a question about hosting large dynamically-generated assets and Heroku. My app will offer bulk download of a subset of its underlying data, which will consist of a large file (>100 MB) generated once every 24 hours. If I were running on a server, I'd just write the file into the public directory. But as I understand it, this is ...

Generating Separate Output files in Hadoop Streaming

Using only a mapper (a Python script) and no reducer, how can I output a separate file with the key as the filename, for each line of output, rather than having long files of output? ...