Hi all.
I am trying to set up my liquidsoap script for streaming ogg in
constant bit rate mode. But appears an error saying (between too many
others) "vorbis.Not_implemented". But streaming in bvr mode it works
all right.
I hope anyone can help me. I paste my script and log messages.
Thanks.
script:
-------------
lista = mksafe(playlist(
mode = "randomize",
reload_mode = "rounds",
reload = 1,
"/home/faco/radio/africanista.txt"))
publicidad = playlist(
mode = "randomize",
reload_mode = "rounds",
reload = 1,
"/home/faco/radio/publicidad.txt")
diferido = random(weights = [1, 6],[publicidad,lista])
#vivo = input.http("http://localhost:8000/radio2.mp3")
# A function applied to each metadata chunk
# para modificar la metadata del titulo de la cancion
def append_title(m) =
# Grab the current title
title = m["title"]
# Return a new title metadata
[("title","Radio Faco: #{title}")]
end
# Apply map_metadata to s using append_title
rogg = map_metadata(append_title, diferido)
rogg = rewrite_metadata([("comment","por FSStream - F. Suarez")],rogg)
mksafe(output.icecast(%vorbis.cbr(samplerate=44100,channels=2,bitrate=64000),
<---- (1)
host = "giss.tv",
mount="/-----.ogg",
password="-----",
port=8000,
name="FSstram",
description="Radio Mundo HD",
genre="Radio pulica",
url="http://fsstream.com.ar",
amplify(1.,override="replay_gain",rogg)))
------------------
end script
(1) i have changed bitrate value from 64 to 64000 but error is still there
log:
------------------
At line 67 char 7 - line 76 char 68: this value should be an active
source, or unit.
2011/06/23 13:44:58 >>> LOG START
2011/06/23 13:44:58 [protocols.external:3] Didn't find "ufetch".
2011/06/23 13:44:58 [protocols.external:3] Found "/usr/bin/wget".
2011/06/23 13:44:58 [main:3] Liquidsoap 1.0.0-beta+svn
(default@60bbbbeb66c5:20110623:124124)
2011/06/23 13:44:58 [main:3] Using: graphics=[distributed with Ocaml]
pcre=6.1.1 dtools=0.2.2 duppy=0.4.0 duppy.syntax=0.4.0 cry 0.2.0
mm=0.1.0 ogg=0.5.0 vorbis=0.6.0 mad=0.4.1 flac=0.1.0 flac.ogg=0.1.0
lame=0.3.0 alsa=0.2.1 ao=0.2.0 taglib=0.1.4 camomile=0 8.1
pulseaudio=0.1.1
2011/06/23 13:44:58 [main:2]
2011/06/23 13:44:58 [main:2] DISCLAIMER: This version of Liquidsoap has been
2011/06/23 13:44:58 [main:2] compiled from a snapshot of the development code.
2011/06/23 13:44:58 [main:2] As such, it should not be used in production
2011/06/23 13:44:58 [main:2] unless you know what you are doing!
2011/06/23 13:44:58 [main:2]
2011/06/23 13:44:58 [main:2] We are, however, very interested in any feedback
2011/06/23 13:44:58 [main:2] about our development code and committed to fix
2011/06/23 13:44:58 [main:2] issues as soon as possible.
2011/06/23 13:44:58 [main:2]
2011/06/23 13:44:58 [main:2] If you are interested in collaborating to
2011/06/23 13:44:58 [main:2] the development of Liquidsoap, feel free to
2011/06/23 13:44:58 [main:2] drop us a mail at <[email protected]>
2011/06/23 13:44:58 [main:2] or to join the #savonet IRC channel on Freenode.
2011/06/23 13:44:58 [main:2]
2011/06/23 13:44:58 [main:2] Please send any bug report or feature request
2011/06/23 13:44:58 [main:2] at <http://dev.sourcefabric.org/browse/LS>.
2011/06/23 13:44:58 [main:2]
2011/06/23 13:44:58 [main:2] We hope you enjoy this snapshot build of
Liquidsoap!
2011/06/23 13:44:58 [main:2]
2011/06/23 13:44:58 [lang:3] Lastfm/audioscrobbler support was not compiled.
2011/06/23 13:44:58 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2011/06/23 13:44:58 [frame:3] Frame size must be a multiple of 1764
ticks = 1764 audio samples = 1 video samples.
2011/06/23 13:44:58 [frame:3] Targetting 'frame.duration': 0.04s =
1764 audio samples = 1764 ticks.
2011/06/23 13:44:58 [frame:3] Frames last 0.04s = 1764 audio samples =
1 video samples = 1764 ticks.
2011/06/23 13:44:58 [threads:3] Created thread "generic queue #1".
2011/06/23 13:44:58 [threads:3] Created thread "non-blocking queue #1".
2011/06/23 13:44:58 [publicidad(dot)txt:3] Loading playlist...
2011/06/23 13:44:58 [publicidad(dot)txt:3] No mime type specified,
trying autodetection.
2011/06/23 13:44:58 [publicidad(dot)txt:3] Playlist treated as format
audio/mpegurl
2011/06/23 13:44:58 [publicidad(dot)txt:3] Successfully loaded a
playlist of 13 tracks.
2011/06/23 13:44:58 [africanista(dot)txt:3] Loading playlist...
2011/06/23 13:44:58 [africanista(dot)txt:3] No mime type specified,
trying autodetection.
2011/06/23 13:44:58 [africanista(dot)txt:3] Playlist treated as format
audio/mpegurl
2011/06/23 13:44:58 [decoder:3] Method "MP3" accepted
"/home/faco/Religion-mmedia/rumba.brava.arrimadero/pista10.mp3".
2011/06/23 13:44:58 [africanista(dot)txt:3] Successfully loaded a
playlist of 1686 tracks.
2011/06/23 13:44:58 [publicidad(dot)txt:3] Prepared
"/home/faco/Religion-mmedia/rumba.brava.arrimadero/pista10.mp3" (RID
2).
2011/06/23 13:44:58 [decoder:3] Method "MP3" accepted
"/home/faco/Religion-mmedia/Batuque/Bases/01.Are.mp3".
2011/06/23 13:44:58 [africanista(dot)txt:3] Loading playlist...
2011/06/23 13:44:58 [africanista(dot)txt:3] No mime type specified,
trying autodetection.
2011/06/23 13:44:58 [africanista(dot)txt:3] Playlist treated as format
audio/mpegurl
2011/06/23 13:44:58 [/veludo(dot)mp3:3] Connecting mount /veludo.mp3
for [email protected]...
2011/06/23 13:44:58 [africanista(dot)txt:3] Successfully loaded a
playlist of 1686 tracks.
2011/06/23 13:44:58 [decoder:3] Method "MP3" accepted
"/home/faco/Religion-mmedia/MUSICA_DE_RELIGION/sueltos/07_-_Tranca_Ruas.mp
".
2011/06/23 13:45:02 [/veludo(dot)mp3:3] Connection setup was successful.
2011/06/23 13:45:02 [/veludo(dot)ogg:3] Connecting mount /veludo.ogg
for [email protected]...
2011/06/23 13:45:03 [/veludo(dot)ogg:3] Connection setup was successful.
2011/06/23 13:45:03 [threads:3] Created thread "wallclock_main" (1 total).
2011/06/23 13:45:03 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2011/06/23 13:45:03 [random_4571:3] Switch to mksafe.
2011/06/23 13:45:03 [mksafe:3] Switch to safe_blank.
2011/06/23 13:45:03 [africanista(dot)txt:3] Prepared
"/home/faco/Religion-mmedia/MUSICA_DE_RELIGION/sueltos/07_-_Tranca_Ruas.mp3
(RID 5).
2011/06/23 13:45:03 [mksafe:3] Switch to africanista(dot)txt with transition.
2011/06/23 13:45:03 [src_4584:3] Inserting missing metadata.
2011/06/23 13:45:03 [src_4577:3] Inserting missing metadata.
2011/06/23 13:45:03 [threads:1] Thread "wallclock_main" aborts with
exception Unimplemented vorbis feature (e.g. -0.2 quality is only
available in aoTuV's implementation)!
2011/06/23 13:45:03 [threads:3] Raised by primitive operation at file
"", line 0, characters 0-0
2011/06/23 13:45:03 [threads:3] Called from file "list.ml", line 69,
characters 12-15
2011/06/23 13:45:03 [threads:3] Called from file "list.ml", line 69,
characters 12-15
Thread 4 killed on uncaught exception Vorbis.Not_implemented
2011/06/23 13:45:03 [main:3] Shutdown started!
2011/06/23 13:45:03 [main:3] Waiting for threads to terminate...
2011/06/23 13:45:03 [main:3] Cleaning downloaded files...
2011/06/23 13:45:03 >>> LOG END
------------------
end log
--
Facundo Suarez
Neuquen - Capital
suarezjf -> twitter
() ascii ribbon campaign - contra el coreo html
/\ www.asciiribbon.org - contra adjuntos propietarios
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users