Opened 4 years ago

Last modified 31 hours ago

#3575 assigned Feature Request

Support for HLS alternate audio/subtitles

Reported by: Ábel Kőszeghy Owned by:
Priority: low Milestone:
Component: Internal Filters Version:
Severity: normal Keywords:
Cc: Evaluation:

Description

HTTP live stream only plays video. Specifying the separate audio stream works, but is out of sync

Example: http://chkhu.connectmedia.hu/6090/index.m3u8

m3u8 source:

#EXTM3U
#EXT-X-VERSION:4
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="index_audio",NAME="eredeti",DEFAULT=NO,AUTOSELECT=YES,URI="AUD_MUL.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="index_audio",NAME="magyar",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="hu",URI="AUD_HUN.m3u8"
#EXT-X-STREAM-INF:PROGRAM-ID=16,BANDWIDTH=2699680,RESOLUTION=1280x720,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="index_audio"
VID_1280x720.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=16,BANDWIDTH=2185312,RESOLUTION=1024x576,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="index_audio"
VID_1024x576.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=16,BANDWIDTH=1980768,RESOLUTION=640x360,CODECS="avc1.42e01e,mp4a.40.2",AUDIO="index_audio"
VID_640x360_1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=16,BANDWIDTH=1364128,RESOLUTION=640x360,CODECS="avc1.42e01e,mp4a.40.2",AUDIO="index_audio"
VID_640x360_2.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=16,BANDWIDTH=953536,RESOLUTION=480x270,CODECS="avc1.42e01e,mp4a.40.2",AUDIO="index_audio"
VID_480x270.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=16,BANDWIDTH=645216,RESOLUTION=384x216,CODECS="avc1.42e015,mp4a.40.2",AUDIO="index_audio"
VID_384x216.m3u8

Change History (11)

comment:1 Changed 4 years ago by Underground78

Cc: Underground78 added
Component: GeneralInternal Filters
Evaluation: diagnosed
Severity: majornormal
Status: newevaluated
Summary: HTTP Live Streaming audio supportSupport for HLS alternate audio/subtitles
Type: BugFeature Request

This kind of HTTP Live Streaming doesn't seem supported by FFmpeg currently. There is a feature request opened on FFmpeg bugtracker: https://trac.ffmpeg.org/ticket/2833.

comment:2 Changed 3 years ago by Underground78

Alternative audio support has been added in ffmpeg. Will be available in MPC-HC as soon as LAV Filters is updated.

comment:3 Changed 3 years ago by Underground78 <underground78@…

In 8ba192d8de1d0a7623fc48df2e6f24f4bd02c49c:

Updated LAV Filters to 0.61.2-11-g70ec47a (custom build based on 0.61.2-6-002d1f2)

Important changes:

  • LAV Splitter: Alternate audio support for HLS (ticket #3575)
  • LAV Video: Support VP7 video
  • LAV Video: Use the MediaFondation WMV decoder on Windows 7+ instead of the DMO WMV decoder
  • Updated ffmpeg and libbluray libraries

comment:4 Changed 3 years ago by kasper93

Evaluation: diagnosed
Milestone: next release
Resolution: fixed
Status: evaluatedclosed

Will be in the nightly builds as of version 1.7.5.38.

comment:5 Changed 3 years ago by kasper93

Owner: set to Underground78

comment:6 Changed 3 years ago by Underground78

Cc: Underground78 removed
Resolution: fixed
Status: closedreopened

I will let it open for now since alternate subtitles support hasn't been added yet (in ffmpeg).

Last edited 3 years ago by Underground78 (previous) (diff)

comment:7 Changed 3 years ago by xhmikosr

@underground78: should this be marked as fixed or should we move this to the next milestone?

comment:8 Changed 3 years ago by xhmikosr

Milestone: next release

comment:9 Changed 3 years ago by Underground78

Alternate subtitles support is still missing as far as I know.

comment:10 Changed 15 months ago by Underground78

Owner: Underground78 deleted
Status: reopenedassigned

comment:11 Changed 31 hours ago by clsid2

Priority: normallow
Version: 1.7.0
Note: See TracTickets for help on using tickets.