-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
MP3: Support mp3 for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. #296
Labels
Milestone
Comments
midoks
pushed a commit
to midoks/srs
that referenced
this issue
Apr 1, 2017
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
winlinvip
changed the title
支持mp3音频编码
MP3: Support mp3 codec for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. 支持MP3编码。
Dec 24, 2022
winlinvip
changed the title
MP3: Support mp3 codec for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. 支持MP3编码。
MP3: Support mp3 for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. 支持MP3编码
Dec 24, 2022
winlinvip
changed the title
MP3: Support mp3 for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. 支持MP3编码
MP3: Support mp3 for RTMP/HLS/FLV/TS/HLS etc. 支持MP3编码
Dec 24, 2022
winlinvip
added
Enhancement
Improvement or enhancement.
Feature
It's a new feature.
labels
Dec 24, 2022
winlinvip
changed the title
MP3: Support mp3 for RTMP/HLS/FLV/TS/HLS etc. 支持MP3编码
MP3: Support mp3 for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc.
Dec 24, 2022
winlinvip
added a commit
to winlinvip/srs
that referenced
this issue
Dec 24, 2022
1. Refresh HLS audio codec if changed in stream. 2. Refresh TS audio codec if changed in stream. 3. Fix mp3 demux bug in SrsFormat::audio_mp3_demux. 4. Use 3(MPEG1) not 4(MPEG2) as PMT stream type, follow FFmpeg.
winlinvip
added a commit
that referenced
this issue
Dec 25, 2022
* MP3: Fix bug for TS or HLS with mp3 codec. v4.0.269 (#296) 1. Refresh HLS audio codec if changed in stream. 2. Refresh TS audio codec if changed in stream. 3. Fix mp3 demux bug in SrsFormat::audio_mp3_demux. 4. Use 3(MPEG1) not 4(MPEG2) as PMT stream type, follow FFmpeg. 5. MP3: Update utest for mp3 sample parsing. 6. MP3: Ignore empty frame sample. 7. UTest: Fix utest failed, do not copy files.
winlinvip
added a commit
that referenced
this issue
Dec 25, 2022
winlinvip
added a commit
that referenced
this issue
Dec 25, 2022
winlinvip
added a commit
that referenced
this issue
Dec 25, 2022
winlinvip
added a commit
that referenced
this issue
Dec 25, 2022
winlinvip
added a commit
that referenced
this issue
Dec 25, 2022
winlinvip
added a commit
that referenced
this issue
Dec 26, 2022
winlinvip
added a commit
that referenced
this issue
Dec 26, 2022
winlinvip
added a commit
that referenced
this issue
Dec 26, 2022
winlinvip
added a commit
that referenced
this issue
Dec 26, 2022
winlinvip
added a commit
that referenced
this issue
Dec 26, 2022
winlinvip
added a commit
that referenced
this issue
Dec 26, 2022
winlinvip
added a commit
that referenced
this issue
Jan 1, 2023
winlinvip
added a commit
that referenced
this issue
Jan 1, 2023
winlinvip
added a commit
that referenced
this issue
Jan 3, 2023
winlinvip
added a commit
that referenced
this issue
Jan 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
SRS 3/4 supports MP3 over RTMP/HTTP-FLV/HTTP-TS, however there is some bugs need to be fixed.
Usage
Start SRS server:
Publish RTMP stream with mp3 audio:
Play live stream:
rtmp://localhost/live/livestream
http://localhost:8080/live/livestream.flv
http://localhost:8080/live/livestream.mp3
http://localhost:8080/live/livestream.ts
http://localhost:8080/live/livestream.m3u8
webrtc://localhost/live/livestream
Status
I tested the ability for MP3 over serval protocols, found that some is ok but others fail, and listed the test result bellow.
The text was updated successfully, but these errors were encountered: