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

Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ #3337

Closed
Tracked by #296
winlinvip opened this issue Dec 25, 2022 · 0 comments · Fixed by #3333
Closed
Tracked by #296

Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ #3337

winlinvip opened this issue Dec 25, 2022 · 0 comments · Fixed by #3333
Assignees
Labels
Feature It's a new feature. HLS For HLS, MPEG-DASH or CMAF. TransByAI Translated by AI/GPT.
Milestone

Comments

@winlinvip
Copy link
Member

winlinvip commented Dec 25, 2022

Description

Failed to play HLS with MP3 audio.

  1. SRS Version: v4.0.268

  2. SRS Config:

listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;
http_server {
    enabled         on;
    listen          8080;
    dir             ./objs/nginx/html;
}
vhost __defaultVhost__ {
    hls {
        enabled     on;
    }
}

Replay:
Make sure to maintain the markdown structure.

Please describe how to replay the bug? (重现Bug的步骤)

Make sure to maintain the markdown structure.

Step 1: Publish RTMP with MP3 audio.

ffmpeg -stream_loop -1  -re -i doc/source.flv -vcodec copy -acodec libmp3lame \
    -f flv rtmp://localhost/live/livestream

Step 2: Play by HLS: http://localhost:8080/live/livestream.m3u8

Step 3: Play failed.

Expect (Expected Behavior)

Make sure to maintain the markdown structure.

Play HLS with MP3 audio successfully.

TRANS_BY_GPT3

@winlinvip winlinvip self-assigned this Dec 25, 2022
@winlinvip winlinvip changed the title Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0+ MP3: Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0+ Dec 25, 2022
@winlinvip winlinvip linked a pull request Dec 25, 2022 that will close this issue
@winlinvip winlinvip changed the title MP3: Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0+ MP3: Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ Dec 25, 2022
@winlinvip winlinvip changed the title MP3: Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ Dec 25, 2022
@winlinvip winlinvip added this to the 4.0 milestone Dec 25, 2022
@winlinvip winlinvip added Feature It's a new feature. HLS For HLS, MPEG-DASH or CMAF. labels Dec 25, 2022
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature It's a new feature. HLS For HLS, MPEG-DASH or CMAF. TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant