Can I ask a stupid question about some fundamental things?
My output from icecast is a 128kbps mp3 stream. My friend streaming to
input.harbor has an upload speed of 13mbps, at least according to
speedtest.net.
Even my weak brain can understand that 13mbps is way more than 128kbps. So
why can't the buffer keep up?
Is it all the transcoding and buffers between clocks in liquidsoap, add
some latency due to my friend's soundcard, etc, all add up to a lot of
latency?
On Sun, Jan 4, 2015 at 4:17 PM, Tony Miller <[email protected]> wrote:
> So I haven't had much luck with buffer.adaptative so far, it seems to make
> the stream choppy, and crashes after the harbor disconnects. Granted, I may
> be using it totally wrong. Anyone care to check out the github issue I made?
> https://github.com/savonet/liquidsoap/issues/204
>
> Are there any other ways to solve buffering problems? Could I just create
> huge buffers between different the clocks?
>
> On Sun, Dec 21, 2014 at 6:57 PM, John Plsek <[email protected]> wrote:
>
>> with my understanding of mksafe, yes, underruns = silence
>>
>> On 21 December 2014 at 19:30, Tony Miller <[email protected]> wrote:
>>
>>> So using mksafe will just output silence if there are buffer dropouts
>>> right?
>>>
>>> Yeah I'd like to fix the buffer issues...have no idea where to start
>>> really...
>>>
>>> On Sat, Dec 20, 2014 at 8:05 PM, John Plsek <[email protected]> wrote:
>>>
>>>> of course, ideally you want to fix the buffer issues - nobody is going
>>>> to listen to a crap stream
>>>>
>>>> On 20 December 2014 at 22:04, John Plsek <[email protected]> wrote:
>>>>
>>>>> try
>>>>>
>>>>>
>>>>> output.file(%mp3, "./live_dj_#{time_stamp}.mp3", mksafe(live_dj))
>>>>>
>>>>>
>>>>> I assume live_dj is the stream you want to record
>>>>>
>>>>>
>>>>>
>>>>> On 20 December 2014 at 17:08, Sarah k Alawami <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> There was something in the code's cook book that I read about that.
>>>>>> they did it as a wave file, but perhaps you could adapt it. I could try
>>>>>> and
>>>>>> find it for you, if you don't by tomorrow.
>>>>>>
>>>>>> Blessings.
>>>>>>
>>>>>> On Dec 19, 2014, at 9:24 PM, Tony Miller <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>> My dump files I create with output.file always seem to be separated
>>>>>> into a bunch of smaller files, due to buffer over/under runs the dump
>>>>>> file
>>>>>> gets closed and a new one gets created.
>>>>>>
>>>>>> time_stamp = '%m-%d-%Y, %H:%M:%S'
>>>>>>
>>>>>> output.file(%mp3, "./live_dj_#{time_stamp}.mp3",
>>>>>> live_dj,fallible=true)
>>>>>> Is there some option I could use to keep them all in the same file,
>>>>>> even when buffer over/under runs happen? Perhaps something passed to
>>>>>> reopen_when?
>>>>>>
>>>>>> Or should I try using buffer.adaptative to prevent under/overruns
>>>>>> from happening?
>>>>>>
>>>>>> --
>>>>>> -Tony Miller
>>>>>> github.com/mcfiredrill
>>>>>> @freedrull
>>>>>> freedrool.us
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>>>> from Actuate! Instantly Supercharge Your Business Reports and
>>>>>> Dashboards
>>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration &
>>>>>> more
>>>>>> Get technology previously reserved for billion-dollar corporations,
>>>>>> FREE
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk_______________________________________________
>>>>>> Savonet-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>>>> from Actuate! Instantly Supercharge Your Business Reports and
>>>>>> Dashboards
>>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration &
>>>>>> more
>>>>>> Get technology previously reserved for billion-dollar corporations,
>>>>>> FREE
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Savonet-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration &
>>>> more
>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>
>>>>
>>>
>>>
>>> --
>>> -Tony Miller
>>> github.com/mcfiredrill
>>> @freedrull
>>> freedrool.us
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>
>
> --
> -Tony Miller
> github.com/mcfiredrill
> @freedrull
> freedrool.us
>
--
-Tony Miller
github.com/mcfiredrill
@freedrull
freedrool.us
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users