-
-
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
v4.x support hevc(h.265) RTMP streaming #1721
Conversation
rtmp/http-flv/hls test passed.
|
Codecov Report
@@ Coverage Diff @@
## develop #1721 +/- ##
===========================================
- Coverage 52.88% 52.59% -0.30%
===========================================
Files 82 82
Lines 26618 26787 +169
===========================================
+ Hits 14078 14089 +11
- Misses 12540 12698 +158 | Impacted Files | Coverage Δ | |' '| Impacted Files | Coverage Δ | | Continue to review full report at Codecov.
|
ts encode and pmt encode utest failed Neet some one to do code review to help fix utest problem. |
Like first, then watch, hahaha 👍
|
666 |
@wnpllrzodiac, could you please provide some additional information on the Usage? Can VLC or FFplay be used to play 265 over HLS? Do we need to patch ffplay for 265 over FLV/RTMP? Could you please add the Usage details? This way, everyone will know how to use it once it's merged.
|
Patch FFmpegAbout ffplay with hecv-rtmp/flv player, please read https://github.com/young-I/CDN-Union_H265 About ffmpeg/ffplay build, please read https://github.com/wnpllrzodiac/FFmpeg
SRS
publishPublish stream by (my ffmpeg hecv branch ONLY support codec copy publish)
play
|
Codecov Report
@@ Coverage Diff @@
## develop #1721 +/- ##
===========================================
- Coverage 52.88% 52.59% -0.30%
===========================================
Files 82 82
Lines 26618 26786 +168
===========================================
+ Hits 14078 14088 +10
- Misses 12540 12698 +158 | Impacted Files | Coverage Δ | |' '| Impacted Files | Coverage Δ | |
|
Thank you very much @wnpllrzodiac for submitting the Patch for 265. This PR enables RTMP to support h.265. Additionally, there is another PR #1747 that supports a more comprehensive protocol. I will first merge 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 branches.
|
May I ask why after using the h256 branch, adding vhost __defaultVhost__ {
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
hls {
enabled on;
hls_path ./objs/nginx/html;
hls_vcodec hevc;
hls_fragment 10;
hls_window 60;
}
rtc {
enabled on;
bframe discard;
}
dvr {
enabled on;
dvr_apply all;
dvr_path /usr/local/srs/srs/trunk/objs/nginx/dvr/defaultVhost/[2006]/[01]/[02]/[app]/[stream]/[timestamp].flv;
dvr_plan session;
time_jitter full;
}
}
|
support hevc(h.265) RTMP streaming
codecID 12