[mythtv] DVD dropping back to the frontend at the menu. PCM_DVD problem?

Neil Salstrom salstrom at gmail.com
Thu Nov 29 01:34:55 UTC 2012


On Wed, Nov 28, 2012 at 11:17 AM, Paul Harrison <mythtv at sky.com> wrote:
> I'm interested to see if you still see the 'AFD: codec PCM_DVD has 0
> channels' messages in 0.25 so I think the default verbose setting will do.
> Do you also see the 0 channels messages for any DVD's with AC3 audio as
> well?
>
> If you still see the 0 channels messages then I know what has changed. You
> could try commenting out lines 210 to 213 here
> https://github.com/MythTV/mythtv/blob/fixes/0.26/mythtv/external/FFmpeg/libavcodec/pcm.c#L210
>
> That check doesn't appear in 0.25 but does in 0.26 and is what is causing
> the codec to fail to init. Exactly how we fix that properly is anyone's
> guess but if it works it points us in the right direction :)
>
>
> Paul H.
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev

Ok...  They both report 0 channels.  Looks like you are on to something!

Here is mythfrontend version: fixes/0.25 [v0.25.3-15-g76d9c3e]

2012-11-28 17:24:36.042284 I  DVDRB: Opened DVD device at
myth://Videos@[::1]:6543/KIDS_YOGA_DVD.iso
2012-11-28 17:24:36.042301 I  DVDRB: There are 4 titles on the disk
2012-11-28 17:24:36.080624 E  ALSA: snd_pcm_info_get_card: Operation
not permitted
2012-11-28 17:24:36.090855 N  AudioPlayer: Enabling Audio
2012-11-28 17:24:36.147345 I  DVDRB: Resetting DVD device.
2012-11-28 17:24:36.148052 I  AFD: Opened codec 0x8828600,
id(MPEG2VIDEO) type(Video)
2012-11-28 17:24:36.148056 I  AFD: codec PCM_S16BE has 2 channels
2012-11-28 17:24:36.148064 I  AFD: Opened codec 0x3e11be0,
id(PCM_S16BE) type(Audio)
2012-11-28 17:24:36.148107 I  AO: Opening audio device 'default' ch
2(2) sr 48000 sf signed 16 bit reenc 0
2012-11-28 17:24:36.213871 E  ALSA: no playback control PCM found on
mixer device default
2012-11-28 17:24:36.213878 E  ALSA: Unable to open audio mixer. Volume
control disabled
2012-11-28 17:24:36.220778 I  Clearing OpenGL painter cache.
2012-11-28 17:24:36.780281 I  VDPAU: Created 2 output surfaces.
2012-11-28 17:24:36.780299 I  VDPAU: Version 1
2012-11-28 17:24:36.780304 I  VDPAU: Information NVIDIA VDPAU Driver
Shared Library  310.14  Tue Oct  9 12:17:03 PDT 2012
2012-11-28 17:24:36.780310 I  VDPAU: Created VDPAU render device 1920x1200
2012-11-28 17:24:36.785485 N  Player(0): Forcing decode extra audio
option on (Video method requires it).
2012-11-28 17:24:36.821288 I  Player(0): Video timing method: USleep
with busy wait
2012-11-28 17:24:36.822122 I  TV: Created player.
2012-11-28 17:24:36.822132 I  TV: Changing from None to WatchingDVD
2012-11-28 17:24:36.831717 I  TV: Main UI disabled.
2012-11-28 17:24:36.831723 I  TV: Entering main playback loop.
2012-11-28 17:24:36.832086 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:24:36.832166 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:24:36.832256 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:24:36.832306 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:24:36.832416 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:24:36.844565 I  VDPAU: Added 2 output surfaces (total 4, max 4)
2012-11-28 17:24:37.082459 N  AudioPlayer: Enabling Audio
2012-11-28 17:24:37.093251 I  AFD: codec PCM_DVD has 0 channels
2012-11-28 17:24:37.093268 I  AFD: Opened codec 0x7f4168057c70,
id(PCM_DVD) type(Audio)
2012-11-28 17:24:37.104516 I  AO: Opening audio device 'default' ch
2(2) sr 48000 sf signed 32 bit reenc 0
2012-11-28 17:24:37.278027 E  ALSA: no playback control PCM found on
mixer device default
2012-11-28 17:24:37.278033 E  ALSA: Unable to open audio mixer. Volume
control disabled
2012-11-28 17:24:37.278158 I  ScreenSaverX11Private: DPMS Reactivated 1
2012-11-28 17:24:40.733019 W  AFD: Warning, audio codec 0x7f4168057c70
id(PCM_S16BE) type (Audio) already open, leaving it alone.
2012-11-28 17:24:40.733024 I  AFD: codec PCM_S16BE has 2 channels
2012-11-28 17:24:40.733047 I  AFD: Opened codec 0x7f4168093dd0,
id(DVD_SUBTITLE) type(Subtitle)
2012-11-28 17:24:40.777395 W  AFD: Warning, audio codec 0x7f4168057c70
id(PCM_S16BE) type (Audio) already open, leaving it alone.
2012-11-28 17:24:40.777402 I  AFD: codec PCM_S16BE has 2 channels
2012-11-28 17:24:40.777432 I  AFD: Opened codec 0x7f416806d820,
id(DVD_SUBTITLE) type(Subtitle)
2012-11-28 17:24:40.810876 W  AFD: Warning, audio codec 0x7f4168057c70
id(PCM_S16BE) type (Audio) already open, leaving it alone.
2012-11-28 17:24:40.810882 I  AFD: codec PCM_S16BE has 2 channels
2012-11-28 17:24:40.810909 I  AFD: Opened codec 0x7f4168051a60,
id(DVD_SUBTITLE) type(Subtitle)
2012-11-28 17:24:50.877011 N  AudioPlayer: Enabling Audio
2012-11-28 17:24:50.877751 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:24:51.162458 I  AFD: codec PCM_DVD has 0 channels
2012-11-28 17:24:51.162467 I  AFD: Opened codec 0x7f4168057c70,
id(PCM_DVD) type(Audio)
2012-11-28 17:25:01.388923 I  TV: Attempting to change from WatchingDVD to None

Here is mythfrontend version: fixes/0.26 [v0.26.0-42-g10479af-dirty]

2012-11-28 17:27:38.705046 I  DVDRB: Opened DVD device at
myth://Videos@10.128.45.85:6543/Yoga/KIDS_YOGA_DVD.iso
2012-11-28 17:27:38.705088 I  DVDRB: There are 4 titles on the disk
2012-11-28 17:27:39.079990 I  Pulse: PulseAudio suspend OK
2012-11-28 17:27:39.117178 N  AudioPlayer: Enabling Audio
2012-11-28 17:27:39.268699 I  DVDRB: Resetting DVD device.
2012-11-28 17:27:39.272273 I  AFD: Opened codec 0x1091b140,
id(MPEG2VIDEO) type(Video)
2012-11-28 17:27:39.272295 I  AFD: codec PCM_S16BE has 2 channels
2012-11-28 17:27:39.273440 I  AFD: Opened codec 0x108db480,
id(PCM_S16BE) type(Audio)
2012-11-28 17:27:39.273646 I  AO: Opening audio device
'hdmi:CARD=NVidia,DEV=3' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2012-11-28 17:27:39.402422 I  Clearing OpenGL painter cache.
2012-11-28 17:27:40.192919 I  VDPAU: Created 2 output surfaces.
2012-11-28 17:27:40.192977 I  VDPAU: Version 1
2012-11-28 17:27:40.192997 I  VDPAU: Information NVIDIA VDPAU Driver
Shared Library  295.75  Fri Aug 24 13:10:34 PDT 2012
2012-11-28 17:27:40.193024 I  VDPAU: Created VDPAU render device 1920x1080
2012-11-28 17:27:40.207683 N  Player(0): Forcing decode extra audio
option on (Video method requires it).
2012-11-28 17:27:40.287717 I  Player(0): Video timing method: USleep
with busy wait
2012-11-28 17:27:40.288011 I  TV: Created player.
2012-11-28 17:27:40.288065 I  TV: Changing from None to WatchingDVD
2012-11-28 17:27:40.290806 I  TV: Main UI disabled.
2012-11-28 17:27:40.291092 I  TV: Entering main playback loop.
2012-11-28 17:27:40.292140 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:27:40.292571 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:27:40.292980 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:27:40.293442 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:27:40.294586 I  ScreenSaverX11Private: DPMS Deactivated 1
2012-11-28 17:27:40.304044 I  VDPAU: Added 2 output surfaces (total 4, max 4)
2012-11-28 17:27:40.569090 N  AudioPlayer: Enabling Audio
2012-11-28 17:27:40.588974 I  ScreenSaverX11Private: DPMS Reactivated 1
2012-11-28 17:27:40.590741 I  AFD: codec PCM_DVD has 0 channels
2012-11-28 17:27:40.590823 E  AFD: Could not open codec
0x7f0774949c60, id(PCM_DVD) type(Audio) aborting. reason -22
2012-11-28 17:27:40.590881 E  AFD: No context
2012-11-28 17:27:40.590938 E  decoding error
			eno: Success (0)


More information about the mythtv-dev mailing list