Hi,
Thanks for the report! I have just commited a patch (752306de0af9) which
fixes the bug. The problem was that the file contains some headers *after*
the data and we did not follow the indication for the size of data given by
the header. So, the headers at the end were played as audio...
Cheers,
Samuel.
On Mon, Sep 10, 2012 at 1:05 PM, azerty88 <[email protected]> wrote:
> Hello.
>
> It's been a while since my last mail. Sorry for not replying to answers to
> my previous question. I'll get back to it later, but now I have more urgent
> problem. I have a WAV file which I want to stream. This particular file
> plays without any trouble in winamp or foobar, but when I stream it with
> liquidsoap there is always an artifact at the end of the file. It's like
> split second noise. I've converted the file to mp3 with Lame and the .mp3
> file works just fine. I tought that wav is corrupted so I fixed headers
> with qwavheaderdump, but this didn't help. One interesting thing I've
> observed is that after fixing headers and using lame on this fixed file
> lame produced a broken mp3 file in the same way as from liquidsoap stream.
>
> Here is link to original wav: http://mat.umk.pl/~yamiro/sample.wav
>
> And here is simpliest script I used to test the file. Using LS 1.0.1, Lame
> 3.98.4
>
> #!/usr/local/bin/liquidsoap
>
> set("log.file.path", "/tmp/radio.log")
> set("log.stdout", true)
>
> music = audio_to_stereo(playlist.safe("/mnt/music"))
> output.icecast(%mp3, host="localhost", port=8000, mount="radio", music)
>
>
> Any help appreciated.
>
> Thx
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users