Opened 3 years ago

Last modified 3 years ago

#12807 new Bug Report - General

HLS encodes audio in video segments

Reported by: Mitch Capper <mitch.capper@…> Owned by: cpinkham
Priority: minor Milestone: unknown
Component: MythTV - HTTP Streaming Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

HLS specs out the audio/video segments separately. The MythTV .av files contain the audio track as well. This would seem like a slight overhead waste. Before trying to fix it I figured see if there was any legitimate use for this.

Change History (1)

comment:1 Changed 3 years ago by Mitch Capper <mitch.capper@…>

dekarl commented that he thought audio separate streams may have been new in 1.4. It is supported in older (specifically mentioned in 1.3 http://tools.ietf.org/html/draft-pantos-http-live-streaming-13) with older ones still supporting alternate audio streams (back to 1.0 http://tools.ietf.org/html/draft-pantos-http-live-streaming-10).

I guess maybe it is best to remove the audio-only stream from the playlist? As mythtv doesn't support multiple audio/video bitrates encoding the audio in the video file and not providing a second audio only track does not seem detrimental (this also would explain why some clients show two audio tracks for HLS live streaming).

If we want 100% back compat it could be a flag in the initial AddLiveStream? request.

Note: See TracTickets for help on using tickets.