[mythtv] CVS and dvb audio problems

Staffan Pettersson staffan.pettersson at sverige.nu
Sat Feb 19 22:55:09 UTC 2005


Hi Mark

Yes i'm using a recent cvs 4-5 days old, had to upgrade from 0.17 due to after a
channel change, audio was either playing to fast or in slomotion.

I have switch from ps to ts in mythsetup, that fixed problems with audio
dissepearing, The only problem i have now is passing ac3 audio and get all mpeg
audio channels to work at the same time. 

Here is my situation.

If i use ALSA:default output, I get sound on all channels, even those with mono
audio. The problem there is that if i enable ac3 passthrough, i get i
sparkling/cracking sound on those channels that contain a ac3 track.

If i use ALSA:spdif output, it passes ac3 audio to my reciever and all other
channels that has a stereo mpeg track workes. The ones with mono audio does not.
i get this if i log mythfrontend:

2005-02-18 00:25:26.448 Channels count (1) not available: Invalid
> argument


Best regards
Staffan


Citerat från Mark Anderson <markjanderson at mail.com>:

> 
> 
> > Hi
> >
> > I successfully got ac3 audio working in myth using ALSA:spdif output 
> > device :=)
> > But it produced other problems.
> >
> > 1, If i tune to a channel with ac3 audio and then change to a mpeg
> audio
> > channel, mythfrontend does'nt seem to reinit audio and no sound is 
> > produced.
> >
> This sounds like a problem that was fixed before the .17 release. Are
> you 
> sure you are using the latest CVS? I don't see the "streams_changed" log
> 
> line which you need to see to get the audio to re-init. Please confim
> you 
> are using a recent CVS.
> 
> Cheers
> Mark
> 
> > Mythfrontend log:
> > 2005-02-18 00:58:54.626 Broadcasting free space avail
> > 2005-02-18 00:58:54.631 Broadcasting free space avail
> > 2005-02-18 00:58:54.634 Broadcasting free space avail
> > 2005-02-18 00:58:54.638 Broadcasting free space avail
> > 2005-02-18 00:58:54.643 Broadcasting free space avail
> > 2005-02-18 00:58:54.646 Broadcasting free space avail
> > 2005-02-18 00:58:54.650 Broadcasting free space avail
> > 2005-02-18 00:58:54.654 Broadcasting free space avail
> > 2005-02-18 00:58:54.658 Broadcasting free space avail
> > 2005-02-18 00:58:54.662 Broadcasting free space avail
> > 2005-02-18 00:58:54.666 Broadcasting free space avail
> >
> > 2. If a use ALSA:spdif, i never gets sound on two channels that have
> very 
> > low
> > bitrate (Discovery channel and Animal planet)
> >
> > Can it be a configuration error from my part?
> > I´m using a sblive with latest alsa drivers.
> >
> > Here is a mythfrontend log for the 2 problem:
> >
> > 2005-02-18 00:25:26.442 Killing AudioOutputDSP
> > 2005-02-18 00:25:26.443 OutputAudioLoop: Stop Event
> > 2005-02-18 00:25:26.443 kickoffOutputAudioLoop exiting
> > 2005-02-18 00:25:26.446 Opening audio device 'spdif'.
> > 2005-02-18 00:25:26.448 in SetParameters(format=2, channels=1,
> rate=48000,
> > buffer_time=500000, period_time=125000)
> > 2005-02-18 00:25:26.448 Channels count (1) not available: Invalid
> argument
> > 2005-02-18 00:25:26.448 Aborting reconfigure
> > 2005-02-18 00:25:26.448 _AddSamples bytes=2304, used=1, free=511999,
> > timecode=9525488
> > 2005-02-18 00:25:26.449 _AddSamples bytes=2304, used=2305,
> free=509695,
> > timecode=9525512
> > 2005-02-18 00:25:26.449 _AddSamples bytes=2304, used=4609,
> free=507391,
> > timecode=9525536
> > 2005-02-18 00:25:26.449 Auto-selecting audio track #1 (stream #1).
> > 2005-02-18 00:25:26.449 It has 1 channels and we needed at least 1
> > 2005-02-18 00:25:26.449 Initializing audio parms from audio track #0.
> > 2005-02-18 00:25:26.449 SetEffDsp: 4800000
> > 2005-02-18 00:25:26.455 _AddSamples bytes=2304, used=6913,
> free=505087,
> > timecode=9525560
> > 2005-02-18 00:25:26.827 _AddSamples bytes=2304, used=9217,
> free=502783,
> > timecode=9525584
> > 2005-02-18 00:25:26.836 _AddSamples bytes=2304, used=11521,
> free=500479,
> > timecode=9525608
> > 2005-02-18 00:25:26.842 _AddSamples bytes=2304, used=13825,
> free=498175,
> > timecode=9525632
> > 2005-02-18 00:25:26.842 _AddSamples bytes=2304, used=16129,
> free=495871,
> > timecode=9525656
> > 2005-02-18 00:25:26.848 _AddSamples bytes=2304, used=18433,
> free=493567,
> > timecode=9525680
> > 2005-02-18 00:25:26.849 _AddSamples bytes=2304, used=20737,
> free=491263,
> > timecode=9525704
> > 2005-02-18 00:25:26.856 _AddSamples bytes=2304, used=23041,
> free=488959,
> > timecode=9525728
> > 2005-02-18 00:25:26.862 _AddSamples bytes=2304, used=25345,
> free=486655,
> > timecode=9525752
> > 2005-02-18 00:25:26.862 _AddSamples bytes=2304, used=27649,
> free=484351,
> > timecode=9525776
> > 2005-02-18 00:25:26.868 _AddSamples bytes=2304, used=29953,
> free=482047,
> > timecode=9525800
> > 2005-02-18 00:25:26.870 _AddSamples bytes=2304, used=32257,
> free=479743,
> > timecode=9525824
> > 2005-02-18 00:25:26.877 _AddSamples bytes=2304, used=34561,
> free=477439,
> > timecode=9525848
> > 2005-02-18 00:25:26.883 _AddSamples bytes=2304, used=36865,
> free=475135,
> > timecode=9525872
> > 2005-02-18 00:25:26.884 _AddSamples bytes=2304, used=39169,
> free=472831,
> > timecode=9525896
> > 2005-02-18 00:25:26.889 _AddSamples bytes=2304, used=41473,
> free=470527,
> > timecode=9525920
> > 2005-02-18 00:25:26.891 _AddSamples bytes=2304, used=43777,
> free=468223,
> > timecode=9525944
> > 2005-02-18 00:25:26.898 _AddSamples bytes=2304, used=46081,
> free=465919,
> > timecode=9525968
> > 2005-02-18 00:25:26.904 _AddSamples bytes=2304, used=48385,
> free=463615,
> > timecode=9525992
> > 2005-02-18 00:25:26.905 _AddSamples bytes=2304, used=50689,
> free=461311,
> > timecode=9526016
> > 2005-02-18 00:25:26.911 _AddSamples bytes=2304, used=52993,
> free=459007,
> > timecode=9526040
> >
> > /Staffan
> > ...................................................................
> >
> >  LÄGG TILL DIN LÄNK GRATIS PÅ LOKALNYHETERNA.SE!
> >  Klicka här och välj din kommun! - http://www.lokalnyheterna.se
> >
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
> > 
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 

...................................................................

  LÄGG TILL DIN LÄNK GRATIS PÅ LOKALNYHETERNA.SE!
  Klicka här och välj din kommun! - http://www.lokalnyheterna.se 




More information about the mythtv-dev mailing list