Hi, David > Ok so silence is streamed, with metadata. I don't think that it's an encoding > problem because it's on both vorbis and mp3 outputs, and I can't imagine > that it's a libshout problem. As you say, it could be a bad design of the > transition that leaves some silence instead of the new track... but your > script seems correct from that point of view. > One way to make sure that your raw stream is silent is to insert a vumeter() > operator, that would be useful to check.
okay. can you give me some example on how to use vumeter and where it puts the output? > The "strange behavior" is in fact normal: the transitions do not use > the estimated remaining time, so at the switch() level it does not know that > it's about to end. There is an experimental feature (the parameter "before") > for doing that, but it probably won't work for you. If you really want a > transition you can try something based on cross(), like smooth_add() in > utils.liq... that's another topic that we should discuss separately. got it. i'll try to use other methods > Yes it should work. It's meant to support any reloading interval. But, make > sure that you also know request.queue() and request.dynamic() as they are > more typically used in interactions with external scheduling systems like > your planned PHP system. so, as i understood this operators can help to build a dynamic playlist inside a liquidsoap, instead of building it inside the PHP? one more question: i redesigned my script a bit to see all elements with custom id's in the log, but i cannot find out what are src_4712 src_4711 src_4839 src_143 is it some internal sources? config && log included Romeo
2009/01/22 21:41:26 >>> LOG START 2009/01/22 21:41:26 [protocols.external:3] Didn't find "ufetch" 2009/01/22 21:41:26 [protocols.external:3] Found "/usr/bin/wget" 2009/01/22 21:41:26 [main:3] Liquidsoap 0.9.0+svn 2009/01/22 21:41:26 [lang:3] flac binary not found: flac decoder disabled. 2009/01/22 21:41:26 [lang:3] metaflac binary not found: flac metadata resolver disabled. 2009/01/22 21:41:26 [lang:3] faad binary not found: faad decoder disabled. 2009/01/22 21:41:26 [harbor:3] Adding mountpoint '/romeo.ogg' to list... 2009/01/22 21:41:26 [video.converter:4] Couldn't find prefered video converter: gavl 2009/01/22 21:41:27 [threads:3] Created thread "non-blocking queue #1" (1 total) 2009/01/22 21:41:27 [audio.converter:4] Using prefered samplerate converter: libsamplerate 2009/01/22 21:41:27 [threads:3] Created thread "generic queue #1" (2 total) 2009/01/22 21:41:27 [root:3] Waking up active nodes... 2009/01/22 21:41:27 [source:4] 128mp3 gets up 2009/01/22 21:41:27 [source:4] mainFallback gets up 2009/01/22 21:41:27 [source:4] deepmindBlank gets up 2009/01/22 21:41:27 [source:4] deepmind gets up 2009/01/22 21:41:27 [deepmindBlank:4] Enabling caching mode (active source) 2009/01/22 21:41:27 [source:4] djrelaxerBlank gets up 2009/01/22 21:41:27 [source:4] djrelaxer gets up 2009/01/22 21:41:27 [threads:3] Created thread "root" (3 total) 2009/01/22 21:41:27 [djrelaxer:4] Connecting to <http://djrelaxer.no-ip.org:8000/trancemix.ogg>... 2009/01/22 21:41:27 [threads:3] Created thread "http polling" (4 total) 2009/01/22 21:41:27 [djrelaxerBlank:4] Enabling caching mode (active source) 2009/01/22 21:41:27 [source:4] src_4712 gets up 2009/01/22 21:41:27 [source:4] tracksBlank gets up 2009/01/22 21:41:27 [source:4] tracks gets up 2009/01/22 21:41:27 [tracks:3] Loading playlist... 2009/01/22 21:41:27 [protocols.external:4] Executing /usr/bin/wget "http://deepmix.no-ip.info/playlist.php" "/tmp/liq3837cb.osb" 2009/01/22 21:41:27 [source:4] src_4711 gets up 2009/01/22 21:41:27 [128mp3:4] Enabling caching mode (active source) 2009/01/22 21:41:27 [source:4] 96ogg gets up 2009/01/22 21:41:27 [mainFallback:4] Enabling caching mode (two static activations) 2009/01/22 21:41:27 [96ogg:4] Enabling caching mode (active source) 2009/01/22 21:41:27 [source:4] 32ogg gets up 2009/01/22 21:41:27 [32ogg:4] Enabling caching mode (active source) 2009/01/22 21:41:27 [128mp3:3] Connecting mount mp3(128) for sou...@localhost... 2009/01/22 21:41:27 [128mp3:3] Connection setup was successful. 2009/01/22 21:41:27 [96ogg:3] Connecting mount deep96.ogg for sou...@localhost... 2009/01/22 21:41:27 [96ogg:3] Connection setup was successful. 2009/01/22 21:41:27 [32ogg:3] Connecting mount deep32.ogg for sou...@localhost... 2009/01/22 21:41:27 [32ogg:3] Connection setup was successful. 2009/01/22 21:41:27 [root:3] Broadcast starts up! 2009/01/22 21:41:27 [djrelaxer:4] Trying playlist parser for mime application/ogg 2009/01/22 21:41:27 [djrelaxer:4] Content-type "application/ogg". 2009/01/22 21:41:27 [djrelaxer:3] Decoding... 2009/01/22 21:41:27 [protocols.external:4] Download process finished (ok) 2009/01/22 21:41:27 [tracks:3] No mime type specified, trying autodetection. 2009/01/22 21:41:27 [playlist parser:4] Trying application/rss+xml parser 2009/01/22 21:41:27 [parser.xml:3] Parsing failed: xml error: End of file expected line 2 characters 0-73 2009/01/22 21:41:27 [playlist parser:4] Trying application/xspf+xml parser 2009/01/22 21:41:27 [parser.xml:3] Parsing failed: xml error: End of file expected line 2 characters 0-73 2009/01/22 21:41:27 [playlist parser:4] Trying application/smil parser 2009/01/22 21:41:27 [parser.xml:3] Parsing failed: xml error: End of file expected line 2 characters 0-73 2009/01/22 21:41:27 [playlist parser:4] Trying application/xml parser 2009/01/22 21:41:27 [parser.xml:3] Parsing failed: xml error: End of file expected line 2 characters 0-73 2009/01/22 21:41:27 [playlist parser:4] Trying text/xml parser 2009/01/22 21:41:27 [parser.xml:3] Parsing failed: xml error: End of file expected line 2 characters 0-73 2009/01/22 21:41:27 [playlist parser:4] Trying video/x-ms-asf parser 2009/01/22 21:41:27 [parser.xml:3] Parsing failed: xml error: End of file expected line 2 characters 0-73 2009/01/22 21:41:27 [playlist parser:4] Trying audio/x-scpls parser 2009/01/22 21:41:27 [mainFallback:3] switch to src_4712 2009/01/22 21:41:27 [src_4712:3] switch to src_4711 2009/01/22 21:41:27 [playlist parser:4] Trying audio/x-mpegurl parser 2009/01/22 21:41:27 [ogg.demuxer:4] Found a ogg logical stream, serial: 7e87 2009/01/22 21:41:27 [ogg.encoder:4] 96ogg: Starting all streams 2009/01/22 21:41:27 [ogg.demuxer:4] Trying ogg/vorbis format 2009/01/22 21:41:27 [tracks:3] Playlist treated as format audio/x-mpegurl 2009/01/22 21:41:28 [tracks:3] Successfully loaded a playlist of 380 tracks. 2009/01/22 21:41:28 [djrelaxer:3] New metadata chunk "Airwave -- Save Me (Fisco & Shaka Rework)" 2009/01/22 21:41:28 [decoder:4] Trying OGG decoder for "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" 2009/01/22 21:41:28 [ogg.encoder:4] 32ogg: Starting all streams 2009/01/22 21:41:29 [decoder:4] Trying WAV decoder for "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" 2009/01/22 21:41:29 [decoder:4] Trying MP3 decoder for "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" 2009/01/22 21:41:29 [format.mp3:4] open "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" 2009/01/22 21:41:30 [format.mp3:4] close "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" 2009/01/22 21:41:30 [tracks:4] queue length 0+=1323000 (rid 1) 2009/01/22 21:41:30 [decoder:4] Trying OGG decoder for "/home/deepmix/misc/tracks/3 Cascada - Truly Madly Deeply (Thomas Gold Remix).mp3" 2009/01/22 21:41:30 [tracks:4] queue length 1323000-=1323000 2009/01/22 21:41:30 [format.mp3:4] open "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" 2009/01/22 21:41:30 [tracks:3] Prepared "/home/deepmix/misc/tracks/215 Evermore - It's Too Late (Dirty South Remix).mp3" -- rid 1 2009/01/22 21:41:30 [src_4712:3] switch to tracksBlank with transition 2009/01/22 21:41:30 [decoder:4] Trying WAV decoder for "/home/deepmix/misc/tracks/3 Cascada - Truly Madly Deeply (Thomas Gold Remix).mp3" 2009/01/22 21:41:30 [decoder:4] Trying MP3 decoder for "/home/deepmix/misc/tracks/3 Cascada - Truly Madly Deeply (Thomas Gold Remix).mp3" 2009/01/22 21:41:30 [format.mp3:4] open "/home/deepmix/misc/tracks/3 Cascada - Truly Madly Deeply (Thomas Gold Remix).mp3" 2009/01/22 21:41:30 [format.mp3:4] close "/home/deepmix/misc/tracks/3 Cascada - Truly Madly Deeply (Thomas Gold Remix).mp3" 2009/01/22 21:41:31 [tracks:4] queue length 0+=1323000 (rid 2) 2009/01/22 21:41:31 [decoder:4] Trying OGG decoder for "/home/deepmix/misc/tracks/283 Alex Gomez & Bias - Artemisa flow.mp3" 2009/01/22 21:41:32 [ogg.encoder:4] 96ogg: Setting end of track 2a24ba45. 2009/01/22 21:41:32 [ogg.encoder:4] 96ogg: Every ogg logical tracks have ended: setting end of stream. 2009/01/22 21:41:32 [ogg.encoder:4] 96ogg: Starting new sequentialized ogg stream. 2009/01/22 21:41:32 [ogg.encoder:4] 96ogg: Starting all streams 2009/01/22 21:41:32 [ogg.encoder:4] 32ogg: Setting end of track 3b75823d. 2009/01/22 21:41:32 [ogg.encoder:4] 32ogg: Every ogg logical tracks have ended: setting end of stream. 2009/01/22 21:41:32 [ogg.encoder:4] 32ogg: Starting new sequentialized ogg stream. 2009/01/22 21:41:32 [ogg.encoder:4] 32ogg: Starting all streams 2009/01/22 21:41:32 [root:2] We must catchup 3.08 seconds! 2009/01/22 21:41:32 [mainFallback:3] switch to djrelaxerBlank with transition 2009/01/22 21:41:32 [source:4] crossfadeAdd gets up 2009/01/22 21:41:32 [source:4] CrossfadeAddSeq gets up 2009/01/22 21:41:32 [source:4] CrossfadeAddSeqBlank gets up 2009/01/22 21:41:32 [source:4] CrossfadeAddSeqBlankFadeInitial gets up 2009/01/22 21:41:32 [source:4] CrossfadeAddFadeFinal gets up 2009/01/22 21:41:32 [decoder:4] Trying WAV decoder for "/home/deepmix/misc/tracks/283 Alex Gomez & Bias - Artemisa flow.mp3" 2009/01/22 21:41:32 [decoder:4] Trying MP3 decoder for "/home/deepmix/misc/tracks/283 Alex Gomez & Bias - Artemisa flow.mp3" 2009/01/22 21:41:32 [format.mp3:4] open "/home/deepmix/misc/tracks/283 Alex Gomez & Bias - Artemisa flow.mp3" 2009/01/22 21:41:32 [format.mp3:4] close "/home/deepmix/misc/tracks/283 Alex Gomez & Bias - Artemisa flow.mp3" 2009/01/22 21:41:32 [tracks:4] queue length 1323000+=1323000 (rid 3) 2009/01/22 21:41:33 [root:2] We must catchup 3.16 seconds! 2009/01/22 21:41:34 [root:2] We must catchup 2.91 seconds! 2009/01/22 21:41:34 [source:4] CrossfadeAddSeqBlank gets down 2009/01/22 21:41:35 [root:2] We must catchup 2.16 seconds! 2009/01/22 21:41:36 [root:2] We must catchup 1.74 seconds! 2009/01/22 21:41:37 [root:2] We must catchup 1.27 seconds! 2009/01/22 21:41:40 [ogg.demuxer:4] Reached last page of logical stream 7e87 2009/01/22 21:41:40 [ogg.demuxer:4] Found a ogg logical stream, serial: f3e 2009/01/22 21:41:41 [ogg.demuxer:4] Trying ogg/vorbis format 2009/01/22 21:41:41 [djrelaxer:3] New metadata chunk "Armin Van Buuren -- Burned With Desire (Ronski Speed Vocal Remix)" 2009/01/22 21:41:47 [ogg.encoder:4] 96ogg: Setting end of track 2415c3f9. 2009/01/22 21:41:47 [ogg.encoder:4] 96ogg: Every ogg logical tracks have ended: setting end of stream. 2009/01/22 21:41:48 [ogg.encoder:4] 96ogg: Starting new sequentialized ogg stream. 2009/01/22 21:41:48 [ogg.encoder:4] 96ogg: Starting all streams 2009/01/22 21:41:48 [ogg.encoder:4] 32ogg: Setting end of track 23a8f3ad. 2009/01/22 21:41:48 [ogg.encoder:4] 32ogg: Every ogg logical tracks have ended: setting end of stream. 2009/01/22 21:41:48 [ogg.encoder:4] 32ogg: Starting new sequentialized ogg stream. 2009/01/22 21:41:48 [ogg.encoder:4] 32ogg: Starting all streams 2009/01/22 21:42:46 [mainFallback:3] switch to src_4712 with forgetful transition 2009/01/22 21:42:46 [source:4] crossfadeAdd gets down 2009/01/22 21:42:46 [source:4] CrossfadeAddSeq gets down 2009/01/22 21:42:46 [source:4] CrossfadeAddSeqBlankFadeInitial gets down 2009/01/22 21:42:46 [source:4] CrossfadeAddFadeFinal gets down 2009/01/22 21:42:46 [source:4] crossfadeAdd gets up 2009/01/22 21:42:46 [source:4] CrossfadeAddSeq gets up 2009/01/22 21:42:46 [source:4] CrossfadeAddSeqBlank gets up 2009/01/22 21:42:46 [source:4] CrossfadeAddSeqBlankFadeInitial gets up 2009/01/22 21:42:46 [source:4] src_4839 gets up 2009/01/22 21:42:46 [source:4] CrossfadeAddFadeFinal gets up 2009/01/22 21:42:46 [source:4] src_143 gets up 2009/01/22 21:42:49 [source:4] CrossfadeAddSeqBlank gets down 2009/01/22 21:42:49 [ogg.encoder:4] 96ogg: Setting end of track 3a759e50. 2009/01/22 21:42:49 [ogg.encoder:4] 96ogg: Every ogg logical tracks have ended: setting end of stream. 2009/01/22 21:42:49 [ogg.encoder:4] 96ogg: Starting new sequentialized ogg stream. 2009/01/22 21:42:49 [ogg.encoder:4] 96ogg: Starting all streams 2009/01/22 21:42:50 [ogg.encoder:4] 32ogg: Setting end of track 6dbb640. 2009/01/22 21:42:50 [ogg.encoder:4] 32ogg: Every ogg logical tracks have ended: setting end of stream. 2009/01/22 21:42:50 [ogg.encoder:4] 32ogg: Starting new sequentialized ogg stream. 2009/01/22 21:42:50 [ogg.encoder:4] 32ogg: Starting all streams 2009/01/22 21:42:50 [mainFallback:3] switch to djrelaxerBlank with transition 2009/01/22 21:42:50 [source:4] crossfadeAdd gets down 2009/01/22 21:42:50 [source:4] CrossfadeAddSeq gets down 2009/01/22 21:42:50 [source:4] CrossfadeAddSeqBlankFadeInitial gets down 2009/01/22 21:42:50 [source:4] src_4839 gets down 2009/01/22 21:42:50 [source:4] CrossfadeAddFadeFinal gets down 2009/01/22 21:42:50 [source:4] src_143 gets down 2009/01/22 21:42:50 [source:4] crossfadeAdd gets up 2009/01/22 21:42:50 [source:4] CrossfadeAddSeq gets up 2009/01/22 21:42:50 [source:4] CrossfadeAddSeqBlank gets up 2009/01/22 21:42:50 [source:4] CrossfadeAddSeqBlankFadeInitial gets up 2009/01/22 21:42:50 [source:4] CrossfadeAddFadeFinal gets up 2009/01/22 21:42:53 [source:4] CrossfadeAddSeqBlank gets down 2009/01/22 21:42:53 [ogg.encoder:4] 96ogg: Setting end of track 2bcd5cfd.
radio.liq_
Description: Binary data
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
