2011/6/23 Romain Beauxis <[email protected]>:
> 2011/6/23 Facundo Suárez <[email protected]>:
>> Hi all.
>
> Hi!
>
>> 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
>
> The following works here:
>  output.file(%vorbis.cbr(samplerate=44100,channels=2,bitrate=64),"/tmp/bla.ogg",sine())
>
> Besides, your logs mention:
>> Unimplemented vorbis feature (e.g. -0.2 quality is only
>> available in aoTuV's implementation)!
>
> It seems to me that your problem is that you try to use -0.2 for
> quality, which is only possible with the aoTuV implementation of
> libvorbis..

Sorry, I replied too fast, the aoTuV is just an example but is
probably not your issue..

So first, you should use 64 and not 64000. Second, which version of
libvorbis are you using?

R.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to