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 HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ #3334

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

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

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 HTTP-TS or HLS with MP3 audio.

  1. SRS Version: SRS 4.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__ {
    http_remux {
        enabled     on;
        mount       [vhost]/[app]/[stream].ts;
    }
}

Replay:

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

  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
  1. Play by HTTP-TS: http://localhost:8080/live/livestream.ts
  2. Play failed.

Expect (Expected Behavior)

Play HTTP-TS/HLS with MP3 audio successfully.

TRANS_BY_GPT3

@winlinvip winlinvip self-assigned this Dec 25, 2022
@winlinvip winlinvip changed the title MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0+ MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). Dec 25, 2022
@winlinvip winlinvip changed the title MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player) Dec 25, 2022
@winlinvip winlinvip changed the title MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player) MP3: Play HTTP-TS 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 HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0+ MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ Dec 25, 2022
@winlinvip winlinvip changed the title MP3: Play HTTP-TS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ Play HTTP-TS 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 HLS For HLS, MPEG-DASH or CMAF. Feature It's a new feature. 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