Opened 2 years ago

Last modified 14 months ago

#3575 reopened Feature Request

Support for HLS alternate audio/subtitles

Reported by: ábel kőszeghy Owned by: underground78
Priority: normal Milestone:
Component: Internal Filters Version: 1.7.0
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 (9)

comment:1 Changed 2 years ago by underground78

  • Cc underground78 added
  • Component changed from General to Internal Filters
  • Evaluation set to diagnosed
  • Severity changed from major to normal
  • Status changed from new to evaluated
  • Summary changed from HTTP Live Streaming audio support to Support for HLS alternate audio/subtitles
  • Type changed from Bug to Feature 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 17 months 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 16 months 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 16 months ago by kasper93

  • Evaluation diagnosed deleted
  • Milestone set to next release
  • Resolution set to fixed
  • Status changed from evaluated to closed

Will be in the nightly builds as of version 1.7.5.38.

comment:5 Changed 16 months ago by kasper93

  • Owner set to underground78

comment:6 Changed 16 months ago by underground78

  • Cc underground78 removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

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

Last edited 16 months ago by underground78 (previous) (diff)

comment:7 Changed 14 months ago by xhmikosr

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

comment:8 Changed 14 months ago by xhmikosr

  • Milestone next release deleted

comment:9 Changed 14 months ago by underground78

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

Note: See TracTickets for help on using tickets.