Modify

Ticket #9989 (closed Patch - Bug Fix: fixed)

Opened 21 months ago

Last modified 20 months ago

no sound with 5ch AC3 audio with 6 CH audio out

Reported by: markspieth Owned by: jyavenard
Priority: minor Milestone: 0.25
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If a 5 channel AC3 audio program is played with a 5.1 alsa audio output, no sound is heard. This is because alsa does not support 5 ch output. The solution is to upmix 5ch audio to 6 ch if required.

channel affected is OneHD with some sports like Nascar having this format.

patch attached.

Attachments

28-audio5chan (7.5 KB) - added by markspieth 21 months ago.

Change History

Changed 21 months ago by markspieth

comment:1 Changed 20 months ago by jyavenard

Is this with digital audio out (PCM) or analog out ?

On my hdmi output, where 5 channels isn't supported, then it gets converted to AC3 and play 5.0 just fine

comment:2 Changed 20 months ago by jyavenard

could you provide a sample?

I remember recording one of those, but I guess it will be faster with a provided sample.

I see issues with the existing patch, in particular it will break mono-audio playback...

I will redo it and hopefulyl will be done today

comment:3 Changed 20 months ago by jyavenard

Ok, I've found one (the fear factor on One HD)

After a quick glance at your patch I can see the following problems:

  • Mono will be upmixed through freesurround upmixer (and not the mono -> stereo one)
  • If upmixing isn't enabled, then the 5.0 to 5.1 conversion will not occur. And you can't toggle the upmixer as it only works if source is stereo.

comment:4 Changed 20 months ago by Github

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from unknown to 0.25

Allow 5.0 audio playback on hardware not supporting it.

ALSA doesn't support 5.0 audio and myth could only upmix mono and stereo. Extend upmixer to work with 5.0 audio. Based on a patch by Mark Spieth Fixes #9989

Branch: master Changeset: 909b444ede4dd08fe1e468b969aa9928bbc6a131

View

Add a 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.