Difference between revisions of "Documentation:Streaming HowTo/Stream a DVD"

From VideoLAN Wiki
Jump to navigation Jump to search
 
m (→‎Stream a DVD with VLC: udp:// instead of udp:)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{RightMenu|documentation streaming howto toc}}
 +
 
Note: Under Unix/Linux, you must have write access to the device corresponding to your DVD drive. For that, you should be in the ''disk'' or ''cdrom'' group (look at the permissions in '''/dev'''). If you're not, add yourself to the group:
 
Note: Under Unix/Linux, you must have write access to the device corresponding to your DVD drive. For that, you should be in the ''disk'' or ''cdrom'' group (look at the permissions in '''/dev'''). If you're not, add yourself to the group:
  # '''adduser your_login disk_or_cdrom'''
+
  [[terminal|#]] adduser your_login disk_or_cdrom
 
and then restart your session.
 
and then restart your session.
  
==Stream a DVD with VLC==
+
== Stream a DVD with VLC ==
  
  % '''vlc -vvv --color dvdsimple:/dev/dvd --sout udp:192.168.0.12 --ttl 12 --sout-all'''
+
  {{%}} vlc -vvv --color dvdsimple:/dev/dvd --sout udp://192.168.0.12 --ttl 12 --sout-all
 
where:
 
where:
 
*'''/dev/dvd''' is the name of your DVD drive (put '''D:''' under Windows if '''D''' is the letter of your DVD drive) or the directory where you copied your DVD,
 
*'''/dev/dvd''' is the name of your DVD drive (put '''D:''' under Windows if '''D''' is the letter of your DVD drive) or the directory where you copied your DVD,

Latest revision as of 11:39, 27 July 2009

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

Note: Under Unix/Linux, you must have write access to the device corresponding to your DVD drive. For that, you should be in the disk or cdrom group (look at the permissions in /dev). If you're not, add yourself to the group:

# adduser your_login disk_or_cdrom

and then restart your session.

Stream a DVD with VLC

% vlc -vvv --color dvdsimple:/dev/dvd --sout udp://192.168.0.12 --ttl 12 --sout-all

where:

  • /dev/dvd is the name of your DVD drive (put D: under Windows if D is the letter of your DVD drive) or the directory where you copied your DVD,
  • 192.168.0.42 is either:
    • the IP address of the machine you want to unicast to;
    • or the DNS name the machine you want to unicast to;
    • or a multicast IP address.
  • 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers).
  • sout-all allows you to stream all soundtracks and subtitles

If you want to stream the DVD continuously, add the --loop option.


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.