Changeset 7136
- Timestamp:
- 02/05/10 00:20:53 (5 weeks ago)
- Location:
- trunk/liquidsoap/doc/content
- Files:
-
- 8 modified
-
blank.txt (modified) (1 diff)
-
complete_case.txt (modified) (2 diffs)
-
cookbook.txt (modified) (4 diffs)
-
dolebrai.txt (modified) (1 diff)
-
external_encoders.txt (modified) (1 diff)
-
kube.txt (modified) (1 diff)
-
language.txt (modified) (1 diff)
-
radiopi.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/liquidsoap/doc/content/blank.txt
r6875 r7136 26 26 27 27 # Put that stream to a local file 28 output.file .ogg("/tmp/hop.ogg",stream)28 output.file(%vorbis, "/tmp/hop.ogg", stream) 29 29 %% 30 30 -
trunk/liquidsoap/doc/content/complete_case.txt
r5678 r7136 65 65 66 66 # Output the full stream in OGG and MP3 67 output.icecast .mp3(67 output.icecast(%mp3, 68 68 host="localhost",port=8000,password="hackme", 69 69 mount="radio",full) 70 output.icecast .vorbis(70 output.icecast(%vorbis, 71 71 host="localhost",port=8000,password="hackme", 72 72 mount="radio.ogg",full) 73 73 74 74 # Output the stream without live in OGG 75 output.icecast .vorbis(75 output.icecast(%vorbis, 76 76 host="localhost",port=8000,password="hackme", 77 77 mount="radio_nolive.ogg",radio) … … 84 84 85 85 %%(run_alsa_input.sh) 86 liquidsoap 'output.icecast .vorbis(86 liquidsoap 'output.icecast(%vorbis, 87 87 mount="live.ogg",host="...",password="...",input.alsa())' 88 88 %% -
trunk/liquidsoap/doc/content/cookbook.txt
r6835 r7136 56 56 57 57 # First transcoder: MP3 32 kbps 58 output.icecast .mp3(58 output.icecast(%mp3, 59 59 mount="/your-stream-32.mp3", bitrate=32, 60 60 samplerate = 22050, stereo = false, … … 62 62 input) 63 63 # Second transcoder : MP3 128 kbps 64 output.icecast .mp3(64 output.icecast(%mp3, 65 65 mount="/your-stream-128.mp3", bitrate=128, 66 66 host="streaming.example.com", port=8000, password="xxx", … … 86 86 output = "/tmp/output.ogg" 87 87 source = once(single(input)) 88 output.file .vorbis(output,fallible=true,on_stop=shutdown,source)88 output.file(%vorbis, output,fallible=true,on_stop=shutdown,source) 89 89 %% 90 90 … … 189 189 190 190 # output it 191 output.icecast .vorbis(radio,mount="test",host="host")191 output.icecast(%vorbis, radio,mount="test",host="host") 192 192 %% 193 193 -
trunk/liquidsoap/doc/content/dolebrai.txt
r5627 r7136 126 126 127 127 # === OUTPUT === 128 out_mp3 = output.icecast .mp3(128 out_mp3 = output.icecast(%mp3, 129 129 password="XXX", bitrate=64, samplerate=22050, quality=2, 130 130 genre="Musique Libre", 131 131 url="http://dolebrai.net", 132 132 description="La radio des musiques libres") 133 out_vorbis = output.icecast .vorbis(133 out_vorbis = output.icecast(%vorbis, 134 134 password="XXX", 135 135 genre="Musique Libre", -
trunk/liquidsoap/doc/content/external_encoders.txt
r6525 r7136 1 1 title: External encoders 2 3 ** External encoders are currently unavailable in the SVN trunk. This page will be updated 4 when they are available again. ** 2 5 3 6 h3. Introduction -
trunk/liquidsoap/doc/content/kube.txt
r5540 r7136 74 74 host=kubeHost,port=kubePort,user=kubeUser,password=kubePassword,genre=kubeGenre,url=kubeUrl,description=kubeDesc, 75 75 restart=true) 76 output.icecast .vorbis(radio,mount="kube-low.ogg",id="kubeOggLow",name="KUBE Radio LOW bandwidth",quality=2.,76 output.icecast(%vorbis, radio,mount="kube-low.ogg",id="kubeOggLow",name="KUBE Radio LOW bandwidth",quality=2., 77 77 host=kubeHost,port=kubePort,user=kubeUser,password=kubePassword,genre=kubeGenre,url=kubeUrl,description=kubeDesc, 78 78 restart=true) 79 output.icecast .vorbis(radio,mount="kube.ogg",id="kubeOggHigh",name="KUBE Radio HIGH bandwidth",quality=8.,79 output.icecast(%vorbis, radio,mount="kube.ogg",id="kubeOggHigh",name="KUBE Radio HIGH bandwidth",quality=8., 80 80 host=kubeHost,port=kubePort,user=kubeUser,password=kubePassword,genre=kubeGenre,url=kubeUrl,description=kubeDesc, 81 81 restart=true) 82 output.icecast .vorbis(radio,mount="kube-archive.ogg",id="kubeOggLow",name="KUBE Radio Archive stream",quality=10.,public=false,82 output.icecast(%vorbis, radio,mount="kube-archive.ogg",id="kubeOggLow",name="KUBE Radio Archive stream",quality=10.,public=false, 83 83 host=kubeHost,port=kubePort,user=kubeUser,password=kubePassword,genre=kubeGenre,url=kubeUrl,description=kubeDesc, 84 84 restart=true) -
trunk/liquidsoap/doc/content/language.txt
r6875 r7136 63 63 64 64 %%(lang_partial_application.liq) 65 out = output.icecast .vorbis(host="streamer",port="8080",65 out = output.icecast(%vorbis, host="streamer",port="8080", 66 66 password="sesame") 67 67 # out is a function waiting for the other parameters -
trunk/liquidsoap/doc/content/radiopi.txt
r5627 r7136 74 74 75 75 # Live relay to secondary encoder 76 output.icecast .vorbis(id="stream_relay",start=false,restart=true,host="1.2.3.4",port=8005,password="xxxx",mount="live.ogg",live_safe)76 output.icecast(%vorbis, id="stream_relay",start=false,restart=true,host="1.2.3.4",port=8005,password="xxxx",mount="live.ogg",live_safe) 77 77 78 78 # File source for archiving 79 79 title = '$(if $(title),"$(title)","Emission inconnue")$(if $(artist), " par $(artist)") - %m-%d-%Y, %H:%M:%S' 80 output.file .vorbis(id="archives",start=false,reopen_on_metadata=true,"/path/to/archives/" ^ title ^ ".ogg",live_safe)80 output.file(%vorbis, id="archives",start=false,reopen_on_metadata=true,"/path/to/archives/" ^ title ^ ".ogg",live_safe) 81 81 82 82 # === Main script === 83 83 84 84 # Specialize the output functions by partial application 85 output.icecast = output.icecast .mp3(restart=true,description=descr, url=url)85 output.icecast = output.icecast(%mp3, restart=true,description=descr, url=url) 86 86 out = output.icecast(host=ice_host,port=8080,password=pass) 87 87
