[vlc-commits] modules/stream_out: select.c and setid.c
Jean-Paul Saman
git at videolan.org
Fri Feb 11 16:04:08 CET 2011
vlc/vlc-1.1 | branch: es_switch | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Feb 11 15:43:30 2011 +0100| [369b343e3052ec56c5d4b0b6ed995f73cd991e93] | committer: Jean-Paul Saman
modules/stream_out: select.c and setid.c
Replace an existing ES with another without disrupting the client. It
can be used in combination with VLM. Here is an example vlm command file:
# VLC media player VLM command batch
# http://www.videolan.org/vlc/
# MPEG-TS stream
new ts broadcast enabled
setup ts input "file:///<path_to_some_file_to_play>"
setup ts output #duplicate{dst=bridge-out{id=1},select=video,dst=bridge-out{id=0xa3},select=audio}
setup ts loop
# Mic input
new mic broadcast enabled
setup mic input "alsa://"
setup mic output #transcode{acodec=mpga,ab=192,channels=2}:bridge-in{id-offset=0}:select{disable=0}:setid{id=0,newid=0xa3}:autodel:std{access=udp,mux=ts,dst=127.0.0.1:1234}
# Fire it up
control ts play
control mic play
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=369b343e3052ec56c5d4b0b6ed995f73cd991e93
---
modules/stream_out/Modules.am | 4 +
modules/stream_out/select.c | 307 +++++++++++++++++++++++++++++++++++++++++
modules/stream_out/setid.c | 226 ++++++++++++++++++++++++++++++
3 files changed, 537 insertions(+), 0 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commitdiff;h=369b343e3052ec56c5d4b0b6ed995f73cd991e93
More information about the vlc-commits
mailing list