[mythtv-commits] Ticket #5900: AO: Generalise upmix and AC-3 encoding

MythTV mythtv at cvs.mythtv.org
Tue Mar 3 06:34:50 UTC 2009


#5900: AO: Generalise upmix and AC-3 encoding
------------------------------+---------------------------------------------
 Reporter:  foobum at gmail.com  |        Owner:  ijr    
     Type:  patch             |       Status:  new    
 Priority:  minor             |    Milestone:  unknown
Component:  mythtv            |      Version:  head   
 Severity:  medium            |   Resolution:         
  Mlocked:  0                 |  
------------------------------+---------------------------------------------

Comment(by anonymous):

 Tried the patch, it's setting the wrong device when going into time
 stretch. Shouldn't be disabling passthru and shouldn't try to use
 ALSA:default instead of ALSA:iec958

 2009-03-03 01:31:01.669 TV: Attempting to change from None to Watching
 WatchingPreRecorded
 2009-03-03 01:31:01.703
 RemoteFile(myth://192.168.1.150:6543/2251_20090227195900.mpg)
 2009-03-03 01:31:01.703 TV: StartPlayer(0, Watching WatchingPreRecorded,
 main) -- begin
 2009-03-03 01:31:02.234 AFD: Opened codec 0x7f8d54b1f350, id(MPEG2VIDEO)
 type(Video)
 2009-03-03 01:31:02.234 AFD: codec AC3 has 2 channels
 2009-03-03 01:31:02.234 AFD: Opened codec 0x7f8d54b22e50, id(AC3)
 type(Audio)
 2009-03-03 01:31:02.234 AFD: Audio Track #1 is A/V stream #1 and has 2
 channels in the English language(6647399).
 2009-03-03 01:31:02.234 AFD: Selected track 1: English AC3 2ch (A/V Stream
 #1)
 2009-03-03 01:31:02.234 AFD: Initializing audio parms from audio track #1
 2009-03-03 01:31:02.234 AFD: Audio format changed
                         from id(NONE)    -1Hz -1ch   0bps    to id( AC3)
 48000Hz  2ch  16bps pt
 2009-03-03 01:31:02.238 AO: Killing AudioOutputDSP
 2009-03-03 01:31:02.238 Opening audio device 'default
 '. ch 2(2) sr 48000
 2009-03-03 01:31:02.238 Setting IEC958 status: non-audio
 2009-03-03 01:31:02.239 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
 2009-03-03 01:31:02.241 in SetParameters(format=2, channels=2, rate=48000,
 buffer_time=400000, period_time=25000)
 2009-03-03 01:31:02.241 get_buffer_size returned 16384
 2009-03-03 01:31:02.241 set_period_time_near returned 25000
 2009-03-03 01:31:02.241 get_period_size returned 1200
 2009-03-03 01:31:02.245 Opening mixer default
 2009-03-03 01:31:02.247 Setting Master volume to 98
 2009-03-03 01:31:02.247 Volume range is 0 to 31, mult=3.22581
 2009-03-03 01:31:02.247 channel 0 vol set to 30
 2009-03-03 01:31:02.247 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.247 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.247 ALSA: channel 0 playback switch set to 1
 2009-03-03 01:31:02.248 Setting Master volume to 98
 2009-03-03 01:31:02.248 Volume range is 0 to 31, mult=3.22581
 2009-03-03 01:31:02.248 channel 1 vol set to 30
 2009-03-03 01:31:02.248 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.248 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.248 ALSA: channel 1 playback switch set to 1
 2009-03-03 01:31:02.249 Setting PCM volume to 4
 2009-03-03 01:31:02.249 Volume range is 0 to 31, mult=3.22581
 2009-03-03 01:31:02.249 channel 0 vol set to 1
 2009-03-03 01:31:02.249 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.249 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.249 ALSA: channel 0 playback switch set to 1
 2009-03-03 01:31:02.249 Setting PCM volume to 4
 2009-03-03 01:31:02.249 Volume range is 0 to 31, mult=3.22581
 2009-03-03 01:31:02.250 channel 1 vol set to 1
 2009-03-03 01:31:02.250 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.250 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.250 ALSA: channel 1 playback switch set to 1
 2009-03-03 01:31:02.250 Volume range is 0 to 100, mult=1
 2009-03-03 01:31:02.250 AO: Audio fragment size: 6144
 2009-03-03 01:31:02.251 AO: Audio Stretch Factor: 1
 2009-03-03 01:31:02.251 AO: Ending reconfigure
 2009-03-03 01:31:02.251 AO: no change exiting
 2009-03-03 01:31:02.251 AO: kickoffOutputAudioLoop: pid = 20131
 2009-03-03 01:31:02.251 AO: OutputAudioLoop: Play Event
 2009-03-03 01:31:02.390 AO: no change exiting
 2009-03-03 01:31:02.390 AO: Pause 1
 2009-03-03 01:31:02.391 AO: OutputAudioLoop: audio paused
 2009-03-03 01:31:02.484 OSD Theme Dimensions W: 640 H: 480
 2009-03-03 01:31:02.877 AO: Pause 1
 2009-03-03 01:31:02.877 TV: StartPlayer(0, Watching WatchingPreRecorded,
 main) -- end ok
 2009-03-03 01:31:02.878 TV: Changing from None to Watching
 WatchingPreRecorded
 2009-03-03 01:31:02.878 New DB connection, total: 3
 2009-03-03 01:31:02.879 AO: OutputAudioLoop: audio paused
 2009-03-03 01:31:02.880 Using realtime priority.
 2009-03-03 01:31:02.881 Connected to database 'mythconverg' at host:
 192.168.1.150
 2009-03-03 01:31:02.884 Video timing method: RTC
 2009-03-03 01:31:02.947 AO: Pause 0
 2009-03-03 01:31:02.948 AO: OutputAudioLoop: Play Event



 2009-03-03 01:31:08.636 AFD: Disabling pass through
 2009-03-03 01:31:08.636 AFD: Initializing audio parms from audio track #1
 2009-03-03 01:31:08.636 AFD: Audio format changed
                         from id( AC3) 48000Hz  2ch  16bps pt to id( AC3)
 48000Hz  2ch  16bps
 2009-03-03 01:31:08.636 AO: SetEffDsp: 4800000
 2009-03-03 01:31:08.636 AO: Killing AudioOutputDSP
 2009-03-03 01:31:08.638 AO: OutputAudioLoop: Stop Event
 2009-03-03 01:31:08.639 AO: kickoffOutputAudioLoop exiting
 2009-03-03 01:31:08.639 Opening audio device 'default
 '. ch 2(2) sr 48000
 2009-03-03 01:31:08.639 Setting IEC958 status: audio
 2009-03-03 01:31:08.639 Opening ALSA audio device 'default
 '.
 ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default

 2009-03-03 01:31:08.639 AudioOutput Error: snd_pcm_open(default
 ): No such file or directory
 2009-03-03 01:31:08.639 AO, ERROR: Aborting reconfigure
 2009-03-03 01:31:08.639 Aborting reconfigure
 2009-03-03 01:31:08.639 AO: Using time stretch 0.95
 2009-03-03 01:31:12.271 Marking recording as unwatched
 2009-03-03 01:31:12.312 TV: Attempting to change from Watching
 WatchingPreRecorded to None
 2009-03-03 01:31:12.343 AO: Killing AudioOutputDSP
 2009-03-03 01:31:12.343 Setting IEC958 status: audio
 2009-03-03 01:31:12.360 TV: Changing from Watching WatchingPreRecorded to
 None
 2009-03-03 01:31:14.213 NetworkControl: Socket disconnected
 2009-03-03 01:31:15.193 Deleting UPnP client...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5900#comment:25>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list