[mythtv] prebuffer audio related?

Steven mythmail at richardstraat.homedns.org
Fri Oct 29 08:33:58 UTC 2004


> 
> Can you run mythtv with "-v all" and see what the debug info is when 
> setting up the audio driver, and how it's different in each case?
> 
> This has got to be something quite straightforward
> 
I realy hope it is.

Using ALSA:pcm.front :

2004-10-29 10:00:56 Position map filled from Encoder to: 3
2004-10-29 10:00:56 SyncPositionMap liveTV, from Encoder: 4 entries
2004-10-29 10:00:56 detectInterlace(Ignore Scan, Interlaced Scan, 25, 
576) ->Int
erlaced Scan
2004-10-29 10:00:56 Interlaced: Interlaced Scan  video_height: 576  fps: -1
Input #0, mpeg, from 'rbuf://10.0.0.2:6543/mnt/livetv/ringbuf1.nuv':
   Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
avcodec_find_decoder id 02 returning 0x4080f820
avcodec_find_decoder id 09 returning 0x4080fe20
2004-10-29 10:00:56 Partial position map found
2004-10-29 10:00:56 Commercial Detection initialized: width = 720, 
height = 576,
  fps = 25, method = 4
2004-10-29 10:00:56 Killing AudioOutputDSP
2004-10-29 10:00:56 Opening audio device 'pcm.front'.
2004-10-29 10:00:56 in SetParameters(format=2, channels=2, rate=48000, 
buffer_ti
me=500000, period_time=100000
2004-10-29 10:00:56 get_buffer_size returned 16384
2004-10-29 10:00:56 set_period_time_near returned 170666
2004-10-29 10:00:56 get_period_size returned 8192
2004-10-29 10:00:56 Audio fragment size: 4096
2004-10-29 10:00:56 Ending reconfigure


Using /dev/dsp

2004-10-29 09:49:50 Position map filled from Encoder to: 3
2004-10-29 09:49:50 SyncPositionMap liveTV, from Encoder: 4 entries
2004-10-29 09:49:50 detectInterlace(Ignore Scan, Interlaced Scan, 25, 
576) ->Int
erlaced Scan
2004-10-29 09:49:50 Interlaced: Interlaced Scan  video_height: 576  fps: -1
Input #0, mpeg, from 'rbuf://10.0.0.2:6543/mnt/livetv/ringbuf1.nuv':
   Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
avcodec_find_decoder id 02 returning 0x4080f820
avcodec_find_decoder id 09 returning 0x4080fe20
2004-10-29 09:49:50 Partial position map found
2004-10-29 09:49:50 Commercial Detection initialized: width = 720, 
height = 576,
  fps = 25, method = 4
2004-10-29 09:49:50 Killing AudioOutputDSP
2004-10-29 09:49:50 Opening audio device '/dev/dsp'.
2004-10-29 09:49:50 Opening OSS audio device '/dev/dsp'.
2004-10-29 09:49:50 Audio fragment size: 4096
2004-10-29 09:49:50 kickoffOutputAudioLoop: pid = 9567
2004-10-29 09:49:50 Ending reconfigure
2004-10-29 09:49:50 audio thread waiting for buffer to fill 
fragment_size=4096,
audiolen=0


It looks to me like it is setting/getting less parameters from the audio 
device using OSS emulation.

Steven


More information about the mythtv-dev mailing list