[vlc-commits] NEWS: correct select example

Jean-Paul Saman git at videolan.org
Tue Feb 15 13:50:43 CET 2011


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Tue Feb 15 13:50:15 2011 +0100| [0abea921cffd23c88f43939dc1e4e34712fa9f66] | committer: Jean-Paul Saman

NEWS: correct select example

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0abea921cffd23c88f43939dc1e4e34712fa9f66
---

 NEWS |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index ce9969d..7376981 100644
--- a/NEWS
+++ b/NEWS
@@ -90,7 +90,25 @@ Stream output:
  * New langfromtelx module, to change lang of one ES, when streaming, based on
    a telextex page: #langfromtelx{id=12,magazine=7,page=0x99,row=1}:std...
  * New select module, to replace an existing ES with another ES in the same track
-   #duplicate{dst=bridge-out{id=1},select=video,dst=bridge-out{id=0xa3},select=audio}
+   Here is an VLM example on how to use it (see Mic input):
+      # 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
+
 
 Services Discovery:
  * Search API to be able to query distant search APIs from the interfaces



More information about the vlc-commits mailing list