[mythtv] DVB radio stutters on playback

John Pilkington J.Pilk at tesco.net
Thu Jan 24 12:14:54 UTC 2008


Bradley Bell wrote:
> Last I heard audio-only wasn't supported at all in mythtv, so it's kind 
> of a miracle that it works at all sometimes.
> I get the same results as you with radio and music channels on my hd-5500.
>
> -Brad
>
>
> Robin Gilks wrote:
>   
>> Rather than open a ticket, I feel I may be configuring things wrong so
>> heres the problem...
>>
>> I'm running r15547 trunk on a combined be/fe and a separate fe. I can
>> record DVB radio OK (checked with mplayer) but playback on both frontends
>> results in stutters.
>>
>> I wondering if I have to set up a special handler in the playback profiles
>> to deal with a horizontal and vertical resolutions of 0 (since there is no
>> video - as reported by mplayer) but I can't find anything appropriate from
>> the drop down lists. Or do I have to stick to a particular sync method
>> (obviously can't sync to video as there isn't any!!)
>>
>> I get exactly the same symptoms on both Live and recorded radio.
>>
>> A LiveTV frontend log of playback,audio results in the following (snippet)
>>
>>
>> 2008-01-24 23:44:19.371 AO: 22784 bytes free on soundcard
>> 2008-01-24 23:44:19.375 AO: 23184 bytes free on soundcard
>> 2008-01-24 23:44:19.379 NVP: Waiting for prebuffer.. 4
>> UUAAUAAAAAAAAAUUAUUAUUAAAAAAUAA
>> 2008-01-24 23:44:19.379 AO: 23584 bytes free on soundcard
>> 2008-01-24 23:44:19.383 AO: 23936 bytes free on soundcard
>> 2008-01-24 23:44:19.387 AO: 24320 bytes free on soundcard
>> 2008-01-24 23:44:19.391 AO: 24704 bytes free on soundcard
>> 2008-01-24 23:44:19.395 AO: 25104 bytes free on soundcard
>> 2008-01-24 23:44:19.399 AO: 25472 bytes free on soundcard
>> 2008-01-24 23:44:19.403 AO: 25856 bytes free on soundcard
>> 2008-01-24 23:44:19.407 AO: 26240 bytes free on soundcard
>> 2008-01-24 23:44:19.411 AO: 26640 bytes free on soundcard
>> 2008-01-24 23:44:19.411 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.415 AO: 20864 bytes free on soundcard
>> 2008-01-24 23:44:19.419 AO: 21264 bytes free on soundcard
>> 2008-01-24 23:44:19.423 AO: OutputAudioLoop: Play Event
>> 2008-01-24 23:44:19.423 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.423 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.423 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.423 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.424 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.424 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.424 AO: audio waiting for space on soundcard: have
>> 3312 need 6144
>> 2008-01-24 23:44:19.426 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.431 AO: audio waiting for space on soundcard: have
>> 3968 need 6144
>> 2008-01-24 23:44:19.439 AO: audio waiting for space on soundcard: have
>> 4736 need 6144
>> 2008-01-24 23:44:19.447 AO: audio waiting for space on soundcard: have
>> 5504 need 6144
>> 2008-01-24 23:44:19.455 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.455 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.455 AO: audio waiting for space on soundcard: have 160
>> need 6144
>> 2008-01-24 23:44:19.463 AO: audio waiting for space on soundcard: have 896
>> need 6144
>> 2008-01-24 23:44:19.471 AO: audio waiting for space on soundcard: have
>> 1664 need 6144
>> 2008-01-24 23:44:19.479 AO: audio waiting for space on soundcard: have
>> 2448 need 6144
>> 2008-01-24 23:44:19.487 AO: audio waiting for space on soundcard: have
>> 3200 need 6144
>> 2008-01-24 23:44:19.495 AO: audio waiting for space on soundcard: have
>> 3968 need 6144
>> 2008-01-24 23:44:19.503 AO: audio waiting for space on soundcard: have
>> 4736 need 6144
>> 2008-01-24 23:44:19.511 AO: audio waiting for space on soundcard: have
>> 5504 need 6144
>> 2008-01-24 23:44:19.519 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.519 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.519 AO: audio waiting for space on soundcard: have 176
>> need 6144
>> 2008-01-24 23:44:19.527 AO: audio waiting for space on soundcard: have 896
>> need 6144
>> 2008-01-24 23:44:19.535 AO: audio waiting for space on soundcard: have
>> 1664 need 6144
>> 2008-01-24 23:44:19.543 AO: audio waiting for space on soundcard: have
>> 2448 need 6144
>> 2008-01-24 23:44:19.551 AO: audio waiting for space on soundcard: have
>> 3200 need 6144
>> 2008-01-24 23:44:19.559 AO: audio waiting for space on soundcard: have
>> 3968 need 6144
>> 2008-01-24 23:44:19.567 AO: audio waiting for space on soundcard: have
>> 4736 need 6144
>> 2008-01-24 23:44:19.575 AO: audio waiting for space on soundcard: have
>> 5504 need 6144
>> 2008-01-24 23:44:19.584 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.584 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.585 AO: audio waiting for space on soundcard: have 320
>> need 6144
>> 2008-01-24 23:44:19.595 AO: audio waiting for space on soundcard: have
>> 1280 need 6144
>> 2008-01-24 23:44:19.603 AO: audio waiting for space on soundcard: have
>> 2048 need 6144
>> 2008-01-24 23:44:19.611 AO: audio waiting for space on soundcard: have
>> 2880 need 6144
>> 2008-01-24 23:44:19.612 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.614 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.616 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.616 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.617 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.617 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.618 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.619 AO: audio waiting for space on soundcard: have
>> 3584 need 6144
>> 2008-01-24 23:44:19.622 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.624 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.624 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.627 AO: audio waiting for space on soundcard: have
>> 4416 need 6144
>> 2008-01-24 23:44:19.635 AO: audio waiting for space on soundcard: have
>> 5120 need 6144
>> 2008-01-24 23:44:19.643 AO: audio waiting for space on soundcard: have
>> 5936 need 6144
>> 2008-01-24 23:44:19.651 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.651 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.651 AO: audio waiting for space on soundcard: have 544
>> need 6144
>> 2008-01-24 23:44:19.659 AO: audio waiting for space on soundcard: have
>> 1328 need 6144
>> 2008-01-24 23:44:19.667 AO: audio waiting for space on soundcard: have
>> 2048 need 6144
>> 2008-01-24 23:44:19.675 AO: audio waiting for space on soundcard: have
>> 2864 need 6144
>> 2008-01-24 23:44:19.683 AO: audio waiting for space on soundcard: have
>> 3584 need 6144
>> 2008-01-24 23:44:19.691 AO: audio waiting for space on soundcard: have
>> 4416 need 6144
>> 2008-01-24 23:44:19.699 AO: audio waiting for space on soundcard: have
>> 5120 need 6144
>> 2008-01-24 23:44:19.707 AO: audio waiting for space on soundcard: have
>> 5952 need 6144
>> 2008-01-24 23:44:19.715 AO: Broadcasting free space avail
>> 2008-01-24 23:44:19.715 WriteAudio: Preparing 6144 bytes (3072 frames)
>> 2008-01-24 23:44:19.715 AO: audio waiting for space on soundcard: have 560
>> need 6144
>> 2008-01-24 23:44:19.723 AO: audio waiting for space on soundcard: have
>> 1344 need 6144
>> 2008-01-24 23:44:19.731 AO: audio waiting for space on soundcard: have
>> 2048 need 6144
>> 2008-01-24 23:44:19.739 AO: audio waiting for space on soundcard: have
>> 2880 need 6144
>> 2008-01-24 23:44:19.743 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.744 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.745 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.747 AO: audio waiting for space on soundcard: have
>> 3600 need 6144
>> 2008-01-24 23:44:19.748 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.748 NVP::AddAudioData():p2: Audio buffer overflow,
>> audio data lost!
>> 2008-01-24 23:44:19.756 AO: audio waiting for space on soundcard: have
>> 4432 need 6144
>>
>>
>>     
>
>
>   
I have used MythTV to record from BBC Radio channels over many months, 
but recently 'Viewing' these recordings has caused a frontend segfault.  
I reported this on myth-users on 21 Jan:
> http://www.gossamer-threads.com/lists/mythtv/users/311181
This still happens  with ATrpms build  0.21-174_trunk_r15447.  I don't 
have any old recordings in their raw state, but I'm pretty sure this has 
only been happenning for the last two or three weeks.  It used to be 
possible to apply a cutlist during transcoding too, but that now fails 
as well.   I thought there used to be a dummy video stream, but that 
isn't there now.

John P





More information about the mythtv-dev mailing list