]> git.sesse.net Git - vlc/commitdiff
NEWS: correct select example
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Tue, 15 Feb 2011 12:50:15 +0000 (13:50 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Tue, 15 Feb 2011 12:50:15 +0000 (13:50 +0100)
NEWS

diff --git a/NEWS b/NEWS
index ce9969dd8f2adbe30db301019386b3895d63dc92..7376981c0e147b1f439e83c88d6b1f79c4a33163 100644 (file)
--- 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