Last active
December 11, 2015 18:49
-
-
Save moul/4644770 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ezstream> | |
<url>http://127.0.0.1:8042/test</url> | |
<sourcepassword>test</sourcepassword> | |
<sourceuser>test</sourceuser> | |
<format>MP3</format> | |
<filename>b.mp3</filename> | |
<stream_once>0</stream_once> | |
<svrinfoname>test</svrinfoname> | |
<svrinfourl>test</svrinfourl> | |
<svrinfogenre>test</svrinfogenre> | |
<svrinfodescription>test</svrinfodescription> | |
<svrinfobitrate>128</svrinfobitrate> | |
<svrinfochannels>2</svrinfochannels> | |
<svrinfosamplerate>44100</svrinfosamplerate> | |
<svrinfopublic>0</svrinfopublic> | |
</ezstream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ezstream -c ezstream.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./ezstream.sh | |
ezstream: Connected to http://127.0.0.1:8042/test | |
ezstream: Streaming ``b'' | |
ezstream: Streaming ``b'' | |
ezstream: shout_set_metadata(): No error | |
ezstream: shout_send(): Socket error | |
ezstream: Connection to http://127.0.0.1:8042/test lost | |
ezstream: Attempting reconnection #1: FAILED: Couldn't connect | |
ezstream: Waiting 5s for http://127.0.0.1:8042/test to come back ... | |
ezstream: Attempting reconnection #2: FAILED: Couldn't connect | |
ezstream: Waiting 5s for http://127.0.0.1:8042/test to come back ... | |
ezstream: Attempting reconnection #3: FAILED: Couldn't connect | |
ezstream: Waiting 5s for http://127.0.0.1:8042/test to come back ... | |
ezstream: Attempting reconnection #4: FAILED: Couldn't connect | |
ezstream: Waiting 5s for http://127.0.0.1:8042/test to come back ... | |
ezstream: Attempting reconnection #5: FAILED: Couldn't connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ file *.mp3 | |
a.mp3: Audio file with ID3 version 2.2.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo | |
b.mp3: MPEG ADTS, layer III, v2, 32 kbps, 22.05 kHz, Monaural |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
liquidsoap 'output.dummy(mksafe(add([single("a.mp3"), input.harbor(port=8042, user="test", password="test", "test")])))' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./liquidsoap.sh | |
2013/01/26 22:36:35 >>> LOG START | |
2013/01/26 22:36:35 [protocols.external:3] Didn't find "ufetch". | |
2013/01/26 22:36:35 [protocols.external:3] Found "/usr/local/bin/wget". | |
2013/01/26 22:36:35 [main:3] Liquidsoap 1.0.1-macosx-mountain-lion | |
2013/01/26 22:36:35 [main:3] Using: pcre=6.2.5 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.3 vorbis=0.6.1 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.1 aacplus=0.2.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 ao=0.2.0 taglib=0.2.0 magic=0.7.3 camomile=0.8.3 faad=0.3.1 soundtouch=0.1.7 portaudio=0.2.0 yojson=1.0.3 gd=1.0a5 | |
2013/01/26 22:36:35 [dynamic.loader:2] Could not load plugins in directory /usr/local/Cellar/liquidsoap/1.0.1/lib/liquidsoap/1.0.1-macosx-mountain-lion/plugins. | |
2013/01/26 22:36:35 [decoder:3] Method "MAD" accepted "a.mp3". | |
2013/01/26 22:36:35 [single:3] "a.mp3" is static, resolving once for all... | |
2013/01/26 22:36:35 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. | |
2013/01/26 22:36:35 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. | |
2013/01/26 22:36:35 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. | |
2013/01/26 22:36:35 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. | |
2013/01/26 22:36:35 [threads:3] Created thread "generic queue #1". | |
2013/01/26 22:36:35 [threads:3] Created thread "generic queue #2". | |
2013/01/26 22:36:35 [harbor:3] Adding mountpoint '/test' on port 8042 | |
2013/01/26 22:36:35 [a(dot)mp3:3] Prepared "a.mp3" (RID 0). | |
2013/01/26 22:36:35 [threads:3] Created thread "wallclock_main" (1 total). | |
2013/01/26 22:36:35 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock. | |
2013/01/26 22:36:35 [mksafe:3] Switch to add_5009. | |
2013/01/26 22:36:58 [decoder:3] Method "MAD" accepted "audio/mpeg". | |
2013/01/26 22:36:58 [threads:3] Created thread "harbor source feeding" (2 total). | |
2013/01/26 22:36:58 [harbor_5008:3] Decoding... | |
2013/01/26 22:36:58 [harbor_5008:3] New metadata chunk ? -- b. | |
2013/01/26 22:36:35 [harbor_5008:3] Incorrect stream type! | |
2013/01/26 22:36:59 [clock.wallclock_main:2] Source dummy failed while streaming: Invalid_argument("index out of bounds")! | |
2013/01/26 22:36:59 [a(dot)mp3:3] Finished with "a.mp3". | |
2013/01/26 22:36:59 [harbor:3] Removing mountpoint '/test' on port 8042 | |
2013/01/26 22:36:59 [harbor:3] Nothing more on port 8042: closing sockets. | |
2013/01/26 22:36:59 [clock.wallclock_main:3] Streaming loop stopped. | |
2013/01/26 22:36:59 [harbor_5008:2] Feeding stopped: Source stopped. | |
2013/01/26 22:36:59 [threads:3] Thread "wallclock_main" terminated (1 remaining). | |
2013/01/26 22:36:59 [main:3] Shutdown started! | |
2013/01/26 22:36:59 [main:3] Waiting for threads to terminate... | |
2013/01/26 22:36:59 [threads:3] Thread "harbor source feeding" terminated (0 remaining). | |
2013/01/26 22:36:59 [main:3] Cleaning downloaded files... | |
2013/01/26 22:36:59 >>> LOG END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment