[vlc-commits] modules/stream_out: select.c

Jean-Paul Saman git at videolan.org
Tue Feb 15 11:26:44 CET 2011


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Tue Feb 15 10:49:33 2011 +0100| [96ac366846f9eb0fc3c58127e4c49c619bbca722] | committer: Jean-Paul Saman

modules/stream_out: select.c

Replace an existing ES with another ES in the same track. 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.git/?a=commit;h=96ac366846f9eb0fc3c58127e4c49c619bbca722
---

 modules/stream_out/Modules.am |    2 +
 modules/stream_out/select.c   |  304 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 306 insertions(+), 0 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=96ac366846f9eb0fc3c58127e4c49c619bbca722


More information about the vlc-commits mailing list