|This article does not cite any sources. (January 2012) (Learn how and when to remove this template message)|
A stream recorder (also called a stream ripper) is a computer program used to save data streams to a file. This type of program is most often used to save audio or video streaming media. The process is sometimes referred to as destreaming.
There are different approaches that are used by the software to make the recording, depending on which stage of the process one taps into. In order, they are:
In some cases, it is possible to download the stream as a file, by going to the right address.
Simplest is if the stream is served by simply requesting it, just as web pages are, as in an HTTP GET request: this will directly copy the encoded, streamed file.
Implementations of this approach include:
- URL Snooper
- In Adblock Plus, the list of blockable content includes requested URLs
- Various websites.
Some streaming is not via a simple HTTP request to an URL – in this case, to capture the stream requires some understanding and implementation of the particular streaming protocol (the encoded media stream is encapsulated within a network stream), either:
- passively / offline
- capturing the actual traffic and extracting it (via deep packet capture, using a packet sniffer), or
- actively / online
- implementing the streaming protocol / program enough to request the encoded data.
This can vary greatly in difficulty. If the protocol is not public, or there are various access controls or digital rights management implemented, this can involve substantial reverse engineering. Alternatively, one can hack an existing client to use the existing streaming extraction, and direct it to save the encoded stream, rather than decoding it. In any case, there may be legal issues, depending on jurisdiction.
Adobe's RTMP (Real Time Messaging Protocol) is an example of a proprietary protocol for which no full public implementations exist. Thus capturing media encapsulated in RTMP streams is more difficult than from HTTP streams. However, nowadays[when?] there are more than a dozen programs that can download and capture RTMP streams; they are available for a variety of operating systems.
Implementing a custom client program to perform the request is generally difficult. It requires significant reverse-engineering of the request protocol, which may require decryption. However, if the hosted media are not available via a standard protocol (such as HTTP), this may be the only way to capture the stream.
An approach that is used that gets around that problem is to record the decoded information at the end level, such as the information that is being passed to the video and sound card of the computer.
This is essentially capturing what the user is watching or listening to directly from the screen, and can be likened to recording off the air – in this regard it is analogous to the analog hole.
This solution makes it possible to record anything the user is able to view or listen to, regardless of original format or restriction, though it suffers from a loss in quality (digital generation loss) due to re-encoding.
Indeed, as a last measure (if one does not control the platform, as in some implementation of digital rights management, such as Trusted Computing), one can in fact exploit the analog hole and use an analog recorder (video camera or microphone), though this suffers most from quality degradation.
In terms of functionality, software varies largely in which formats it can record and in what quality:
- URL Snooping is high-quality and easy, but not always available.
- Encoded capture is high-quality and can always ultimately be done, but is often very difficult and software is unavailable.
- Decoded capture is general-purpose, but lowest quality.
- Comparison of streaming media systems
- Comparison of video services
- Digital television
- Internet radio
- Internet television
- List of music streaming services
- List of streaming media systems
- Protection of Broadcasts and Broadcasting Organizations Treaty
- Push technology
- Software as a service
- Streaming media
- Web television
Stream recording software
- Net Transport (shareware)
- Orbit Downloader (adware)
- DownloadStudio (shareware)
- Screamer Radio
Stream URL finding software
- URL Snooper (freeware)