Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#11519 closed Bug Report - General (fixed)

Mono PCM audio track on DVD gives audio decoding errors

Reported by: peper03@… Owned by: jyavenard
Priority: minor Milestone: 0.26.1
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When trying to play a mono PCM audio track from a DVD, I hear nothing and see lots of audio decoding errors in the traces.
The problem appears to be hardware-related (or configuration) as the same DVD plays ok in a virtual machine on a different physical machine.

Myth is set to use 'ALSA:default'. pulseaudio is running. aplay -l produces:
List of PLAYBACK Hardware Devices
card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]

Subdevices: 1/1
Subdevice #0: subdevice #0

card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]

Subdevices: 1/1
Subdevice #0: subdevice #0

Analogue audio output is being used.

The DVD is available in stuartm's DVD repository (LangSPU_MultiFormat.iso). The French audio track is stored as mono PCM (due to #11376, select 'E/F/D' from the menu and then change to French).

Attachments (1)

monopcm_audio_playback.txt (88.8 KB) - added by peper03@… 12 months ago.
Log output from mythfrontend

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by peper03@…

Log output from mythfrontend

comment:1 Changed 11 months ago by Jean-Yves Avenard <jyavenard@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 40db16fc3b486042469df8e84290e5d42fc6036f/mythtv:

If AV codec context doesn't match the context for which it was first opened, close/re-open it.

There's something suspiciously wrong about the way we handle change of streams. This is at best a work-around.

Fixes #11519

comment:2 Changed 11 months ago by Jean-Yves Avenard <jyavenard@…>

In cada8b8323f392c511b20474f558a5281494ceab/mythtv:

If AV codec context doesn't match the context for which it was first opened, close/re-open it.

There's something suspiciously wrong about the way we handle change of streams. This is at best a work-around.

Fixes #11519
(cherry picked from commit 40db16fc3b486042469df8e84290e5d42fc6036f)

comment:3 Changed 11 months ago by jyavenard

  • Milestone changed from unknown to 0.26.1

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.