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

Support HEVC/H.265 in SRT/RTMP/HLS. #1747

Merged
merged 8 commits into from
Jun 14, 2020
Merged

Support HEVC/H.265 in SRT/RTMP/HLS. #1747

merged 8 commits into from
Jun 14, 2020

Conversation

runner365
Copy link
Contributor

modify assert

@codecov-commenter
Copy link

codecov-commenter commented May 21, 2020

Codecov Report

Merging #1747 into develop will increase coverage by 0.23%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1747      +/-   ##
===========================================
+ Coverage    57.96%   58.20%   +0.23%     
===========================================
  Files          118      114       -4     
  Lines        48585    48244     -341     
===========================================
- Hits         28163    28079      -84     
+ Misses       20422    20165     -257     

| Impacted Files | Coverage Δ | |'

Translated to English while maintaining the markdown structure:

'| Impacted Files | Coverage Δ | |
|---|---|---|
| trunk/src/core/srs_core_autofree.hpp | 88.88% <0.00%> (-11.12%) | ⬇️ |
| trunk/src/kernel/srs_kernel_flv.cpp | 92.98% <0.00%> (-5.06%) | ⬇️ |
| trunk/src/app/srs_app_config.cpp | 68.60% <0.00%> (-0.41%) | ⬇️ |
| trunk/src/app/srs_app_listener.cpp | 12.76% <0.00%> (-0.34%) | ⬇️ |
| trunk/src/app/srs_app_rtc_conn.cpp | 0.00% <0.00%> (-0.09%) | ⬇️ |
| trunk/src/protocol/srs_http_stack.cpp | 95.66% <0.00%> (-0.02%) | ⬇️ |
| trunk/src/app/srs_app_source.cpp | 0.65% <0.00%> (-0.01%) | ⬇️ |
| trunk/src/utest/srs_utest_protocol.cpp | 97.18% <0.00%> (-0.01%) | ⬇️ |
| trunk/src/app/srs_app_gb28181.cpp | 0.00% <0.00%> (ø) | |
| trunk/src/app/srs_app_http_api.cpp | 0.00% <0.00%> (ø) | |'

Translated to English while maintaining the markdown structure:

'| trunk/src/app/srs_app_gb28181.cpp | 0.00% <0.00%> (ø) | |
| trunk/src/app/srs_app_http_api.cpp | 0.00% <0.00%> (ø) | |
| ... and 30 more | |


Continue to review full report at Codecov.

Legend - Click here to learn more
| Δ = absolute <relative> (impact), ø = not affected, ? = missing data |'

Translated to English while maintaining the markdown structure:

'| Δ = absolute <relative> (impact), ø = not affected, ? = missing data |

Powered by Codecov. Last update 01111a0...438289f. Read the comment docs.

TRANS_BY_GPT3

@winlinvip winlinvip changed the title modify assert Support HEVC/H.265 in SRT/RTMP/HLS. May 26, 2020
@winlinvip
Copy link
Member

winlinvip commented May 26, 2020

👍 Please ask Mr. Shi to provide additional information on Usage, which includes how to stream, how to configure SRS, and how to watch.

TRANS_BY_GPT3

@runner365
Copy link
Contributor Author

runner365 commented May 27, 2020

👍 Please Mr. Shi, provide some additional information on Usage, such as how to push the stream, how to configure SRS, and how to watch it.

Hevc has written two wikis, can you help take a look when you're free?
https://github.com/ossrs/srs/wiki/v1_CN_hevc#
https://github.com/ossrs/srs/wiki/v4_CN_SRTCodec

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Jun 14, 2020

Previously, there was PR to support h.265 in RTMP, please refer to #1721.

I will first merge h.265 into the feature/h265 branch, and in the future, I will consider merging it into develop. Students who need it can easily merge it into their own SRS branch.

TRANS_BY_GPT3

@winlinvip winlinvip changed the base branch from develop to feature/h265 June 14, 2020 03:06
winlinvip added a commit that referenced this pull request Jun 14, 2020
@winlinvip winlinvip merged commit cc9063d into ossrs:feature/h265 Jun 14, 2020
@wusopp
Copy link

wusopp commented Jun 30, 2020

+1 Please ask Mr. Shi to provide additional information on Usage, such as how to push the stream, how to configure SRS, and how to watch it.

I have written two wikis about HEVC. If you have time, please help take a look.
https://github.com/ossrs/srs/wiki/v1_CN_hevc#
https://github.com/ossrs/srs/wiki/v4_CN_SRTCodec

May I ask if HTTP-FLV playback is supported? If not, are there any plans for future updates? Thank you.

TRANS_BY_GPT3

winlinvip added a commit that referenced this pull request Jul 3, 2020
winlinvip pushed a commit that referenced this pull request Jul 3, 2020
winlinvip pushed a commit that referenced this pull request Jul 3, 2020
winlinvip pushed a commit that referenced this pull request Jul 11, 2020
winlinvip pushed a commit that referenced this pull request Aug 6, 2020
winlinvip pushed a commit that referenced this pull request Aug 6, 2020
winlinvip pushed a commit that referenced this pull request Aug 18, 2020
winlinvip pushed a commit that referenced this pull request Aug 30, 2020
winlinvip pushed a commit that referenced this pull request Aug 30, 2020
winlinvip pushed a commit that referenced this pull request Aug 31, 2020
winlinvip pushed a commit that referenced this pull request Nov 9, 2020
winlinvip pushed a commit that referenced this pull request Nov 15, 2020
winlinvip pushed a commit that referenced this pull request Aug 14, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Aug 14, 2021
winlinvip pushed a commit that referenced this pull request Aug 14, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Aug 14, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Aug 17, 2021
winlinvip pushed a commit that referenced this pull request Aug 17, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Aug 17, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Sep 23, 2021
winlinvip pushed a commit that referenced this pull request Sep 23, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Sep 23, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Oct 13, 2021
winlinvip pushed a commit that referenced this pull request Oct 13, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Oct 13, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Oct 27, 2021
winlinvip pushed a commit that referenced this pull request Oct 27, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Oct 27, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Oct 30, 2021
winlinvip pushed a commit that referenced this pull request Oct 30, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Oct 30, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
winlinvip pushed a commit that referenced this pull request Dec 4, 2021
winlinvip pushed a commit that referenced this pull request Dec 4, 2021
    * For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

    * Fixed compile error.

    * gb28181 support h265

    Co-authored-by: runner365 <shi.weibd@hotmail.com>
    Co-authored-by: Winlin <winlin@vip.126.com>
winlinvip pushed a commit that referenced this pull request Dec 4, 2021
* For #1747, Support HEVC/H.265 in SRT/RTMP/HLS.

* Fixed compile error.

* 1. optimize when to send hevc vps sps pps header
2. fix hevc I frame dropped by rtc before sending to consumer
3. fix overread in nalu parsing

* ignore unknown payload data, otherwise it will be processed in other place

* free err before return

Co-authored-by: runner365 <shi.weibd@hotmail.com>
Co-authored-by: yinjiaoyuan <yinjiaoyuan@163.com>
@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
TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants