Hi,

i try to do a simple task:
encode mp3 from input.oss; but an error appear:

2008/07/10 09:56:25 >>> LOG START
2008/07/10 09:56:25 [protocols.external:3] Didn't find "ufetch"
2008/07/10 09:56:25 [protocols.external:3] Found "/usr/bin/wget"
2008/07/10 09:56:25 [main:3] Liquidsoap 0.3.7
2008/07/10 09:56:25 [threads:3] Created thread "non-blocking queue #1" 
(1 total)
2008/07/10 09:56:25 [threads:3] Created thread "generic queue #1" (2 total)
2008/07/10 09:56:25 [threads:3] Created thread "root" (3 total)
2008/07/10 09:56:25 [root:3] Waking up active nodes...
2008/07/10 09:56:25 [source:4] src_3139 gets up
2008/07/10 09:56:25 [source:4] src_3137 gets up
2008/07/10 09:56:25 [source:4] 90s gets up
2008/07/10 09:56:25 [90s:4] Enabling caching mode (active source)
2008/07/10 09:56:25 [source:4] src_3136 gets up
2008/07/10 09:56:25 [90s(dot)mp3:4] Enabling caching mode (active source)
2008/07/10 09:56:25 [90s(dot)mp3:3] Connecting mount 90s.mp3 for 
[EMAIL PROTECTED]
2008/07/10 09:56:25 [90s(dot)mp3:3] Connection setup was successful.
2008/07/10 09:56:25 [90s(dot)mp3:3] Setting up an MP3 encoder...
2008/07/10 09:56:25 [root:3] Broadcast starts up!
2008/07/10 09:56:25 [src_3137:3] switch to 90s
2008/07/10 09:56:25 [threads:1] thread "root" aborts with exception 
Invalid_argument("from_s16le: buffer too small") !
Thread 4 killed on uncaught exception Invalid_argument("from_s16le: 
buffer too small")
2008/07/10 09:56:25 [main:3] Shutdown started!
2008/07/10 09:56:25 [source:4] 90s(dot)mp3 gets down
2008/07/10 09:56:25 [source:4] src_3137 gets down
2008/07/10 09:56:25 [source:4] src_3136 gets down
2008/07/10 09:56:28 [main:3] Cleaning downloaded files...
2008/07/10 09:56:28 >>> LOG END


liq script used:

#!/usr/bin/liquidsoap

##############################
#  Settings
##############################

base = "/0.Encoder"
set("log.file.path", base ^ "/logs/<script>.liq.log")
set("log.stdout", true)
set("server.telnet", true)
set( "log.level", 10 )
pass  = "..."
host  = "127.0.0.1"
port  = 11111
mount = "90s.mp3"

##############################
#  Functions
##############################

#=============================
# output stream to MP3
out_mp3 = output.icecast.mp3(
    name=name,
    password=pass,
    bitrate=128,
    samplerate=44100,
    public=false,
)

##############################
#  Sources
##############################

radio = input.oss(id="90s",device="/dev/dsp16")

#=============================
# create safe source with next track to play
radio = mksafe( radio )

#=============================
# stream to icecast
out_mp3(host=host, port=port, mount=mount, radio)


_________________________________

my card is an maudio, and i use oss4.
darkice is already configured and working, but i need to test this.



10x,
Daniel
----------
Acest document apartine grupului de companii MPI / Pro Tv. Cu toate ca au fost 
luate masuri pentru a controla raspandirea virusilor, acest mesaj, impreuna cu 
orice atasament continut, este destinat numai pentru folosinta persoanei / 
persoanelor carora i se adreseaza si poate contine informatii confidentiale, 
care sunt supuse dreptului de autor sau constituie secret de marca. Daca nu 
sunteti destinatarul acestui mesaj, va notificam ca este strict interzisa orice 
transmitere, copiere sau distribuire a acestuia sau a oricarui atasament 
continut de acesta. Daca ati primit acest mesaj din greseala, va rugam sa ne 
anuntati imediat printr-un e-mail trimis la adresa [EMAIL PROTECTED] 
This document originates from within the MPI/Pro TV group of companies. Whilst 
we have taken steps to control the spread of viruses, this message together 
with any associated files, is intended only for the use of the individual or 
entity to which it is addressed and may contain information that is 
confidential, subject to copyright or constitutes a trade secret. If you are 
not the intended recipient of this communication you are hereby notified that 
any dissemination, copying or distribution of this message, or any files 
associated with this message, is strictly prohibited. If you have received this 
message in error, please notify us at once Mail to: [EMAIL PROTECTED] 
---------- 
 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to