-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add Dash ABR support in nginx #26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the commit message to sth like "Add ABR support for RTMP->DASH"
@@ -29,9 +29,14 @@ rtmp { | |||
live on; | |||
dash on; | |||
dash_path /var/www/dash; | |||
dash_fragment 3; | |||
dash_playlist_length 60; | |||
dash_fragment 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to change "dash_fragment" and "dash_playlist_length" parameters?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dash_fragment 4; # 4 second is generaly a good choice for live
dash_playlist_length 120; # keep 120s of tail
@@ -225,9 +225,38 @@ ffmpeg -i rtmp://10.67.117.70/live/bbb_sunflower_1080p_30fps_normal -vf scale=25 | |||
rtmp://nginx/hls/big_buck_bunny_1280x720 -vf scale=854:480 -c:v libx264 -b:v 6M -f flv \ | |||
rtmp://nginx/hls/big_buck_bunny_854x480 -abr_pipeline | |||
``` | |||
|
|||
**Note**: for adaptative streaming(using ffmpeg to trancode in 3 variants, and nginx produce one manifest). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to "For live ABR", mention the limitation that it supports 1:3 only.
Signed-off-by: Zhizhen Tang <zhizhen.tang@intel.com>
Signed-off-by: Zhizhen Tang zhizhen.tang@intel.com