[mythtv-commits] Ticket #5900: AO: Generalise upmix and AC-3 encoding
MythTV
mythtv at cvs.mythtv.org
Fri Nov 14 12:12:44 UTC 2008
#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 Markus Schulz <msc at antzsystem.de>):
mythmusic dont work (@trunk), there was no audio output unless i disable
the upmixer (STRG+U).
mythvideo works fine.
logoutput for starting playback in mythmusic with "-v audio":
2008-11-14 13:05:08.787 AO: Creating AC-3 Encoder
2008-11-14 13:05:08.787 DEnc: Init codecid=AC3, br=448000, sr=48000, ch=6
re=0
2008-11-14 13:05:08.788 DigitalEncoder::Init fs=1536, bpf=12 ofb=18432
2008-11-14 13:05:08.788 AO: Using resampler. From: 44100 to 48000
2008-11-14 13:05:08.788 Opening audio device 'default'. ch 2(2) sr 48000
2008-11-14 13:05:08.788 Setting IEC958 status bits
2008-11-14 13:05:08.789 Opening ALSA audio device 'default'.
2008-11-14 13:05:08.789 in SetParameters(format=2, channels=2, rate=48000,
buffer_time=400000, period_time=25000)
2008-11-14 13:05:08.790 get_buffer_size returned 16384
2008-11-14 13:05:08.790 set_period_time_near returned 21333
2008-11-14 13:05:08.790 get_period_size returned 1024
2008-11-14 13:05:08.794 Opening mixer default
2008-11-14 13:05:08.796 Setting Master volume to 100
2008-11-14 13:05:08.796 Volume range is 0 to 100, mult=1
2008-11-14 13:05:08.796 channel 0 vol set to 100
2008-11-14 13:05:08.796 Volume range is 0 to 100, mult=1
2008-11-14 13:05:08.796 Volume range is 0 to 100, mult=1
2008-11-14 13:05:08.796 ALSA: channel 0 playback switch set to 1
2008-11-14 13:05:08.796 Setting Master volume to 100
2008-11-14 13:05:08.796 mixer unable to find control Master 1
2008-11-14 13:05:08.797 Setting PCM volume to 92
2008-11-14 13:05:08.797 Volume range is 0 to 100, mult=1
2008-11-14 13:05:08.798 channel 0 vol set to 92
2008-11-14 13:05:08.798 ALSA: channel 0 playback switch set to 1
2008-11-14 13:05:08.798 Setting PCM volume to 92
2008-11-14 13:05:08.798 Volume range is 0 to 100, mult=1
2008-11-14 13:05:08.798 channel 1 vol set to 92
2008-11-14 13:05:08.798 ALSA: channel 1 playback switch set to 1
2008-11-14 13:05:08.798 Volume range is 0 to 100, mult=1
2008-11-14 13:05:08.798 AO: Audio fragment size: 6144
2008-11-14 13:05:08.799 AO: create upmixer
2008-11-14 13:05:08.801 AO: Create upmixer done with surround mode 2
2008-11-14 13:05:08.801 AO: Audio Stretch Factor: 1
2008-11-14 13:05:08.802 AO: Ending reconfigure
2008-11-14 13:05:08.802 AO: kickoffOutputAudioLoop: pid = 21254
2008-11-14 13:05:08.802 AO: OutputAudioLoop: Play Event
2008-11-14 13:05:08.804 AO: OutputAudioLoop: Play Event
I don't see where he sets the IEC958 status bits like in mythvideo:
2008-11-14 13:09:02.646 AO: Creating AC-3 Encoder
2008-11-14 13:09:02.646 DEnc: Init codecid=AC3, br=448000, sr=48000, ch=6
re=0
2008-11-14 13:09:02.647 DigitalEncoder::Init fs=1536, bpf=12 ofb=18432
2008-11-14 13:09:02.647 Opening audio device 'default'. ch 2(2) sr 48000
2008-11-14 13:09:02.647 Setting IEC958 status bits
2008-11-14 13:09:02.648 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
2008-11-14 13:09:02.649 in SetParameters(format=2, channels=2, rate=48000,
buffer_time=400000, period_time=25000)
hope this helps.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5900#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list