Documentation:Modules/gather: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Tweaks |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Module|name=gather|type=Stream output|description= | {{Module|name=gather|type=Stream output|description=Recycle video and audio elementary streams when possible}} | ||
Makes it possible to stream a playlist without any noticeable interruption on input change on the client side. | Makes it possible to stream a [[playlist]] without any noticeable interruption on input change on the client side.<br /> | ||
The audio and video streams must all have the same characteristics (codecs, | The audio and video streams must all have the same characteristics (codecs, [[bit rate]], dimensions, etc.). | ||
{{Clear}} | |||
== Example == | == Example == | ||
% '''vlc playlist.m3u --sout "#gather:std{access=http,mux=asfh,dst=:8080}" --sout-keep''' | {{%}} '''vlc playlist.m3u --sout "#gather:std{access=http,mux=asfh,dst=:8080}" --sout-keep''' | ||
If your playlist items use different codecs or have different sizes, it is advised to [[Documentation:Modules/transcode|transcode]]. For example: | If your playlist items use different codecs or have different sizes, it is advised to [[Documentation:Modules/transcode|transcode]]. For example: | ||
% '''vlc playlist.m3u --sout "#transcode{vcodec=DIV3,vb=512,width=640,height=480,acodec=mp3,ab=128,samplerate=44100,channels=2}:gather:std{access=http,mux=asfh,dst=:8080}" --sout-keep''' | {{%}} '''vlc playlist.m3u --sout "#transcode{vcodec=DIV3,vb=512,width=640,height=480,acodec=mp3,ab=128,samplerate=44100,channels=2}:gather:std{access=http,mux=asfh,dst=:8080}" --sout-keep''' | ||
It is unclear whether using <code>--sout-keep</code> automatically sets gather automatically or not http://forum.videolan.org/viewtopic.php?f=14&t=80695 | |||
See also [[VLC HowTo/Merge videos together]] | |||
{{Stub}} | {{Stub}} | ||
{{Documentation}} | {{Documentation footer}} | ||
Latest revision as of 04:05, 29 January 2019
| Module: gather | |
|---|---|
| Type | Stream output |
| First VLC version | - |
| Last VLC version | - |
| Operating system(s) | all |
| Description | Recycle video and audio elementary streams when possible |
| Shortcut(s) | - |
Makes it possible to stream a playlist without any noticeable interruption on input change on the client side.
The audio and video streams must all have the same characteristics (codecs, bit rate, dimensions, etc.).
Example
% vlc playlist.m3u --sout "#gather:std{access=http,mux=asfh,dst=:8080}" --sout-keep
If your playlist items use different codecs or have different sizes, it is advised to transcode. For example:
% vlc playlist.m3u --sout "#transcode{vcodec=DIV3,vb=512,width=640,height=480,acodec=mp3,ab=128,samplerate=44100,channels=2}:gather:std{access=http,mux=asfh,dst=:8080}" --sout-keep
It is unclear whether using --sout-keep automatically sets gather automatically or not http://forum.videolan.org/viewtopic.php?f=14&t=80695
See also VLC HowTo/Merge videos together
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
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.