Difference between revisions of "Documentation:Streaming HowTo/Receive and Save a Stream"

From VideoLAN Wiki
Jump to navigation Jump to search
(fix typo)
Line 45: Line 45:
 
**'''ts''' for MPEG2-TS format.
 
**'''ts''' for MPEG2-TS format.
 
* and '''stream.xyz''' is the name of the file you want to save the stream to, with the right extension.
 
* and '''stream.xyz''' is the name of the file you want to save the stream to, with the right extension.
 +
 +
For example: --sout=file/ps:go.mpg
  
 
==Receive a stream with a set-top-box==
 
==Receive a stream with a set-top-box==

Revision as of 00:54, 16 November 2010

VLC Streaming HowTo

Introduction
Streaming, Muxers and Codecs

Main
Easy Streaming
Advanced Streaming Using the Command Line
Command Line Examples

VLM
VLM - Multiple Streaming and Video on Demand

Tutorials and examples
Receive and Save a Stream
Convert files to other formats
Stream a File
Stream a DVD
Stream a DVB Channel
Stream from Encoding Cards and Other Capture Devices
Stream from a DV Camcorder
Streaming for the iPhone

IPv6
Streaming over IPv6
View this alone

Receive a stream with VLC

Receive an unicast stream

% vlc -vvv rtp://

Receive a multicast stream

% vlc -vvv rtp://@239.255.12.42

where 239.255.12.42 is the multicast IP address you want to join.

Receive an HTTP/FTP/MMS stream

Use one of the following command lines:

% vlc -vvv http://example/stream.xyz

where http://example/stream.xyz is the HTTP address of the stream;

% vlc -vvv ftp://example/stream.xyz

where ftp://example/stream.xyz is the FTP address of the stream;

% vlc -vvv mms://viptvr.yacast.fr/encoderfranceinfo

where mms://viptvr.yacast.fr/encoderfranceinfo is the MMS address of the stream.

Receive a RTP stream available through RTSP

% vlc -vvv rtsp://www.hardradio.com/tonbeme.mov

where rtsp://www.hardradio.com/tonbeme.mov is the address of the stream.

Receive a stream described by an SDP file

% vlc -vvv http://server.example.org/stream.sdp

Save a stream with VLC

VLC can save the stream to the disk. In order to do this, use the Stream Output of VLC : you can do it via the graphical interface, or you can add to the command line the following argument:

--sout file/muxer:stream.xyz

where:

  • muxer is one of the formats supported by VLC's stream output, i.e. :
    • ogg for OGG format,
    • ps MPEG2-PS format,
    • ts for MPEG2-TS format.
  • and stream.xyz is the name of the file you want to save the stream to, with the right extension.

For example: --sout=file/ps:go.mpg

Receive a stream with a set-top-box

Some set-top-boxes with Ethernet cards can receive MPEG2-TS streams over UDP and support multicast.

Set-top-boxes known to work with VLC are :

  • Pace set top boxes. (Pace Micro DSL 4000)
  • Aminocom set top boxes. (all the models with mpeg2)
  • tuxia / gct-allwell (mpeg4 and mpeg2) sigma designs8174 chipset
  • i3micro mood200 (mpeg4 and mpeg2 in transport streams)


This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.