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

Add Dash ABR support in nginx #26

Merged
merged 1 commit into from
Apr 26, 2019
Merged

Add Dash ABR support in nginx #26

merged 1 commit into from
Apr 26, 2019

Conversation

TangZhiZhen
Copy link
Contributor

Signed-off-by: Zhizhen Tang zhizhen.tang@intel.com

Copy link
Contributor

@czhou26 czhou26 left a 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;
Copy link
Contributor

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?

Copy link
Contributor Author

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).
Copy link
Contributor

@czhou26 czhou26 Apr 26, 2019

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants