Vlc Streaming Mac

broken image


< Documentation:Streaming HowTo

A Better Alternative to VLC Stream Recorder. Those who know VLC will agree that the program can be annoying sometimes. Therefore, to enjoy a smooth video recording process on Mac/Win, use Wondershare UniConverter. Unlike VLC, this program is simple to use and comes with any file manipulation feature you can imagine. VLC player is available for Mac users as well for free of cost. You can also stream videos to Apple TV using VLC for Mac devices. Using a VLC media player for Mac, you can easily stream videos from Mac to TV. For a situation, we are using a Mac computer as a source and Windows as the destination Machine.

Examples for advanced use of VLC's stream output (transcoding, multiple streaming, etc...)

  • 1Transcoding
  • 3Transcoding and multiple streaming

Transcoding

VLC for Mac OS X: 64 bit VLC dmg package download link which works for Mac OS X 10.6 and later. 32 bits Intel Mac: This dmg package is for 32 bit Intel Mac OS X 10.5 Leopard users. PowerPC Mac: Dmg package for 32 bit PowerPC Mac OS X 10.5 Leopard users. On their website: VLC 3.0.8 is the eight update of 'Vetinari': Fix stuttering for low framerate videos Improve adaptive streaming support Fix WebVTT subtitles rendering Improve audio output on macOS &iOS It also fixes security issues: 13 issues, including 5 buffer overflows we fixed. 11 CVEs were assigned and addressed.

Transcode a stream to OggVorbis with 2 channels at 128kbps and 44100Hz and save it as foobar.ogg:

Transcode the input stream and send it to a multicastIP address with the associated SAP announce:


Display the input stream, transcode it and send it to a multicast IP address with the associated SAP announce:

Transcode the input stream, display the transcoded stream and send it to a multicast IP address with the associated SAP announce:

To receive the input stream that is being multicasted above on a client:

More complex transcoding example

Stream a SDI card to H.264 and AAC in TS on UDP

Multiple streaming

Send a stream to a multicast IP address and a unicast IP address:

Display the stream and send it to two unicast IP addresses:

Send parts of a multiple program input stream:

This command sends the program of the input stream which id is 12345 to 239.255.12.42 and all video programs with id between 1234 and 2345 to 239.255.12.43.

Transcoding and multiple streaming

Transcode the input stream, display the transcoded stream and send it to a multicast IP address with the associated SAP announce and an unicast IP address:

Display the input stream, transcode it and send it to two unicast IP addresses:

Send the input stream to a multicast IP address and the transcoded stream to another multicast IP address with the associated SAP announces:

More complex multi-transcoding example

Take a SDI input, and transcode it twice, once in HD, and one in SD and send both on udp.

Take a SDI input, and restreaming it once in raw and transcoding it for the second

HTTP streaming

Stream in HTTP:

  • on the server, run:
  • on the client(s), run:

Transcode and stream in HTTP:

Recording a live video stream:

For example, if you want to stream an audio CD in Ogg/Vorbis over HTTP:

RTSP live streaming

Stream with RTSP and RTP:

  • Run on the server:
  • Run on the client(s):

RTSP on-demand streaming

See Documentation:Streaming HowTo/VLM.

MMS / MMSH streaming to Windows Media Player

VLC media player can connect to this by using the following url: mmsh://server_ip_address:8080.Windows Media Player can connect to this by using the following url: mms://server_ip_address:8080.

Use the es module

See also: ES

Separate audio and video in two PS files:

Extract the audio track of the input stream to a TS file:

Stream in unicast the audio track on a port and the video track on another port (NOTE: This will not only work with VLC 0.8.6 or older - FIXME?):[Please check this]

  • on the server side:
  • on the client side:
    • to receive the audio:
    • to receive the video:

Stream in multicast the video and dump the audio in a file:

Vlc Streaming Machine

Note: You can also combine the es module with the other modules to set-up even more complex solution.

Keeping the stream open

The basic transcoding is an mp3 stream from the file you select (if it is a video file, then the video is ignored). It is streamed via http to localhost:8080/stream.mp3

The combination of :sout-keep and dst=gather:std mean that the stream is kept open and subsequent items are played through the same stream.

Using VLC as a reflector

Taking a UDP input and resending it once raw via IPv6 multicast, and once in HLS

This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
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.
Retrieved from 'https://wiki.videolan.org/index.php?title=Documentation:Streaming_HowTo/Command_Line_Examples&oldid=59430'
< Documentation:Streaming HowTo
Vlc streaming iphone
This page is outdated. Please see Documentation:Streaming HowTo New#Streaming using the GUI for updated streaming tutorials.


  • 2Streaming using the Wizard
  • 3Streaming using the GUI
    • 3.2The Stream Output dialog

Intro

The easier way to start streaming with VLC is by using one of the graphical user interfaces. These are the wxWindows and skinnable interfaces for Windows and GNU/Linux and the Mac OS X native interface.

Streaming using the Wizard

The Streaming/Transcoding Wizard leads you step by step through the process of streaming your media on a network or saving it to your hard drive. This Wizard offers easy to use menus but provides a restricted set of options.

Note: The wizard is only available on the wxWindows interface.

Launching the wizard

To launch the Streaming/Transcoding Wizard open the 'File' menu, and select the Wizard menu item.

Launching the Wizard

Wizard dialog

First select the type of task:

  • Stream to network: Choose this option if you want to stream media on a network.
  • Transcode/Save to file: Choose this option if you want to change a file's audio codec and/or video codec, its bitrate, and/or encapsulation method.

The Wizard Dialog

Input selection

Select a stream (such as a file, a network stream, a disk, a capture device ...) by selecting the Choose... dialog or an existing item in your playlist, using the Existing playlist item option.

Partial Extract: To read only part of the stream, check the 'Enable' checkbox and choose a start and end date (in seconds). This option should only be used with streams you can control such as files or discs but not network streams or capture devices.

Wizard input selection

Wizard input selection from playlist

Streaming methods

If you chose Stream to network option, you can now specify the streaming method. Available methods are:

  • RTP/UDP Unicast: Stream to a single computer. Enter the client's IP address (in the 0.0.0.0 - 223.255.255.255 range).
  • RTP/UDP Multicast: Stream to multiple computers using multicast. Enter the IP address of the multicast group (in the 224.0.0.0 to 239.255.255.255 range).
  • HTTP: Stream by using the HTTP protocol. If you leave the Destination text box empty, VLC will listen on all the network interfaces of the server on port 8080. Specify an address, port and path on which to listen using the following syntax [ip][:port][/path]. For instance, 192.168.0.1:80/stream will make VLC listen on the interface carrying the 192.168.0.1 IP address, on the 80 TCP port, in the /stream virtual file.

Wizard streaming method

Transcoding options

If you chose the Transcode/Save to file option, you can now specify the new audio and video codecs and bitrates you want you input converted to.

(See )

Wizard transcode

Encapsulation method

Choose the method format. The UDP streaming methods require MPEG TS encapsulation. The HTTP streaming method can be used with the MPEG PS, MPEG TS, MPEG 1, OGG, RAW or ASF encapsulation. Saving to a file can be done using any encapsulation format compatible with the chosen codecs.

Vlc streaming mac to tv
This page is outdated. Please see Documentation:Streaming HowTo New#Streaming using the GUI for updated streaming tutorials.


  • 2Streaming using the Wizard
  • 3Streaming using the GUI
    • 3.2The Stream Output dialog

Intro

The easier way to start streaming with VLC is by using one of the graphical user interfaces. These are the wxWindows and skinnable interfaces for Windows and GNU/Linux and the Mac OS X native interface.

Streaming using the Wizard

The Streaming/Transcoding Wizard leads you step by step through the process of streaming your media on a network or saving it to your hard drive. This Wizard offers easy to use menus but provides a restricted set of options.

Note: The wizard is only available on the wxWindows interface.

Launching the wizard

To launch the Streaming/Transcoding Wizard open the 'File' menu, and select the Wizard menu item.

Launching the Wizard

Wizard dialog

First select the type of task:

  • Stream to network: Choose this option if you want to stream media on a network.
  • Transcode/Save to file: Choose this option if you want to change a file's audio codec and/or video codec, its bitrate, and/or encapsulation method.

The Wizard Dialog

Input selection

Select a stream (such as a file, a network stream, a disk, a capture device ...) by selecting the Choose... dialog or an existing item in your playlist, using the Existing playlist item option.

Partial Extract: To read only part of the stream, check the 'Enable' checkbox and choose a start and end date (in seconds). This option should only be used with streams you can control such as files or discs but not network streams or capture devices.

Wizard input selection

Wizard input selection from playlist

Streaming methods

If you chose Stream to network option, you can now specify the streaming method. Available methods are:

  • RTP/UDP Unicast: Stream to a single computer. Enter the client's IP address (in the 0.0.0.0 - 223.255.255.255 range).
  • RTP/UDP Multicast: Stream to multiple computers using multicast. Enter the IP address of the multicast group (in the 224.0.0.0 to 239.255.255.255 range).
  • HTTP: Stream by using the HTTP protocol. If you leave the Destination text box empty, VLC will listen on all the network interfaces of the server on port 8080. Specify an address, port and path on which to listen using the following syntax [ip][:port][/path]. For instance, 192.168.0.1:80/stream will make VLC listen on the interface carrying the 192.168.0.1 IP address, on the 80 TCP port, in the /stream virtual file.

Wizard streaming method

Transcoding options

If you chose the Transcode/Save to file option, you can now specify the new audio and video codecs and bitrates you want you input converted to.

(See )

Wizard transcode

Encapsulation method

Choose the method format. The UDP streaming methods require MPEG TS encapsulation. The HTTP streaming method can be used with the MPEG PS, MPEG TS, MPEG 1, OGG, RAW or ASF encapsulation. Saving to a file can be done using any encapsulation format compatible with the chosen codecs.

(See )

Wizard encapsulation method

Streaming options

If you chose to Stream to network you can now specify several options.

  • Time To Live (TTL) This sets the numbers of routers your stream can go through, for UDP unicast and unicast access methods. If you do not know what this means, you should leave the default value. Note: With UDP multicast, the default TTL is set to 1, meaning that your stream won't get across any router. You may want to increase it if you want to route your multicast stream.
  • SAP Announce To advertise your stream over the network when using the UDP streaming method, using the SAP protocol, enter the name of the stream in the text input and check the checkbox. This is NOT available for the HTTP streaming method.

Wizard streaming options

Save to file destination

If you chose Transcode/Save to file you can now specify the file you want to save the stream to.

Wizard save file - wxWindows interface

You can now select the Finish button to start streaming/converting the source.

Streaming using the GUI

Introduction

A second way to set up a streaming instance using VLC is using Stream Output panel in the Open... dialog of the wxWindows (Windows / GNU Linux), skinnable (Windows / GNU Linux) and MacOS X interfaces. Streaming methods and options used 99% of time should be available in this panel.

To stream the opened media, check the 'Stream output' or 'Stream/Save' checkbox in the 'Open File/Disc/Network Stream/Capture Device' dialog and click on the 'Settings' button.

Open file dialog - wxWindows interface

Open file dialog - Mac OS X interface

Note that 'Capture' is not available as an option in Mac OSX because VLC does not support live streaming of audio or video under Mac OSX.

The Stream Output dialog

Vlc Media Player Mac

Stream output dialog - wxWindows interface

Stream output dialog - wxWindows interface

Stream Output MRL

On the wxWindows interface, a text box displays the Stream Output MRL (Media Resource Locator). This is updated as you change options in the Stream output dialog. For more information on how to edit the Stream Output MRL read .

Output methods

  • Play locally: display the stream on your screen. This allows you to display the stream you are actually streaming. Effects of transcoding, rescaling, etc. can be monitored locally using this function.
  • File: Save the stream to a file. The Dump raw input option allows you to save the input stream as it is read by VLC, without any processing.
  • HTTP: Use the HTTP streaming method. Specify the IP address and TCP port number on which to listen.
  • MMSH: This access method allows you to stream to Microsoft Windows Media Player. Specify the IP address and TCP port number on which to listen. Note: This will only work with the ASF encapsulation method.
  • UDP: Stream in unicast by providing an address in the 0.0.0.0 - 223.255.255.255 range or in multicast by providing an address in the 224.0.0.0 - 239.255.255.255 range. It is also possible to stream to IPv6 addresses. Note: This will only work with the TS encapsulation method.
  • RTP: Use the Real-Time Transfer Protocol. Like UDP, it can use both unicast and multicast addresses.

Note: UDP, HTTP, MMSH, and RTP methods require you to select the Stream option on the MacOS X interface.

(See )

Encapsulation method

Select an encapsulation method that fits the codecs and access method of your stream, among MPEG TS, MPEG PS, MPEG 1, OGG, Raw, ASF, AVI, MP4 and MOV. (See )

Transcoding options

Enable video transcoding by checking the 'Video Codec' checkbox. Choose a codec from the list. You can also specify an average bitrate and scale the input. (See )

Enable audio transcoding by checking the 'Audio Codec' checkbox. Choose a codec from the list. You can also specify an average bitrate and the number of audio channels to encode. (See )

Download Vlc Player Mac

Miscellaneous options

Select methods to announce your stream. You can use SAP (Service Announce Protocol) or SLP (Service Location Protocol). You must also specify a channel name. The Mac OS X interface also allows you to export the description (SDP) file of a RTP session using the internal HTTP or RTSP server of VLC, or as a file. This can be done using the according checkboxes. The SDP URL text box allows to give the url or destination where the SDP file will be available.


This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation

Vlc Player Mac Streaming To Apple Tv

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.

Vlc Streaming Mac Software

Retrieved from 'https://wiki.videolan.org/index.php?title=Documentation:Streaming_HowTo/Easy_Streaming&oldid=58795'




broken image