Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(HLS): Pick up an audio track from the original video #7343

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

avelad
Copy link
Member

@avelad avelad commented Sep 19, 2024

Close #5836

@avelad
Copy link
Member Author

avelad commented Sep 19, 2024

Stream to test it: https://ztnr.rtve.es/ztnr/1694255.m3u8

@avelad avelad added type: enhancement New feature or request component: HLS The issue involves Apple's HLS manifest format priority: P4 Nice to have / wishful thinking labels Sep 19, 2024
@avelad avelad added this to the v4.12 milestone Sep 19, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 67.82%

@@ -22,6 +22,8 @@ v5.0

v4.12 - 2024 Q4
- Performance improvements
- HLS - Pick up an audio track from the original video
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description doesn't make sense to me. From this text (also in the PR title), I would not know what changed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR allows play the primary audio muxed with the video and also allow the alternate audio in a specific playlist. Do you have any suggestion to a better title?

Copy link
Member Author

@avelad avelad Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example:

#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audios",NAME="Castellano",LANGUAGE="spa",CHANNELS="2",DEFAULT=YES,AUTOSELECT=YES
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audios",NAME="Original",LANGUAGE="qaa",CHANNELS="2",DEFAULT=NO,URI="https://rtvelivestream.akamaized.net/rtvesec/24h/24h_main_dvr_a_14.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audios",NAME="Audio Descripcion",LANGUAGE="ads",CHANNELS="2",DEFAULT=NO,CHARACTERISTICS="public.accessibility.describes-video",URI="https://rtvelivestream.akamaized.net/rtvesec/24h/24h_main_dvr_a_15.m3u8"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2025472,RESOLUTION=1024x576,CODECS="avc1.640029,mp4a.40.2",AUDIO="audios"
https://rtvelivestream.akamaized.net/rtvesec/24h/24h_main_dvr_576.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3012608,RESOLUTION=1280x720,CODECS="avc1.640029,mp4a.40.2",AUDIO="audios"
https://rtvelivestream.akamaized.net/rtvesec/24h/24h_main_dvr_720.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1155072,RESOLUTION=640x360,CODECS="avc1.640029,mp4a.40.2",AUDIO="audios"
https://rtvelivestream.akamaized.net/rtvesec/24h/24h_main_dvr_360.m3u8

NAME="Castellano" --> muxed in the video
NAME="Original" --> has a playlist
NAME="Audio Descripcion" --> has a playlist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P4 Nice to have / wishful thinking type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[HLS] Player is not able to pick up an audio track from the original video
3 participants