Project

General

Profile

Bug #1690

Return of the Missing Audio Elements

Added by Prof Yaffle over 8 years ago.

Status:
New
Priority:
Normal
Category:
Muxers
Target version:
-
Start date:
2013-04-09
Due date:
% Done:

0%

Estimated time:
Found in version:
3.5.74~g8bceacd
Affected Versions:

Description

John/Adam -

I thought this had been fixed, perhaps by commit ec76be3f, but I had it again earlier this week.

The issue appears when using mkv and when a broadcaster switches from, say, stereo to 5.1 AAC sound - for example, between the continuity announcement and the main film. The BBC HD channels appear to do this on both satellite and terrestrial.

Anyway, tvheadend initially identifies the stereo stream, but seems unable to record the other channels when they appear later on in the programme. VLC can see the stream changing (from Stereo to 3F2R/LFE) but the other channels don't come through, so you're left with only 40%ish of the soundtrack - all dialogue is missing. I've tried it on XBMC, VLC, BSPlayer - no dice on anything.

Cutting the file within the 5.1 "limits" (i.e. deleting all stereo segments) with mkvmerge doesn't help. Attempting to re-encode with Handbrake or FAAD/aften doesn't help either (it may well be that those extra channels simply aren't there).

I seem to recall that it's a limitation of the mkv container (although Adam will correct me here - he's done it once or twice already on this topic! :) ), and I thought that John had worked around this - perhaps by using chapter markers, which is why I identified the above commit. Raising here in case something's gone awry, but it may just be that mkv isn't the right container for variable streams and users need to know that.

Some relevant history:

https://tvheadend.org/boards/5/topics/6808

https://tvheadend.org/boards/5/topics/8194

Also available in: Atom PDF