Comments (4)
the transcode already used abr ratecontrol on VOD
from cdn-transcode-sample.
Refer to https://github.com/ut0mt8/nginx-rtmp-module/.
Add the possibility to make adaptative streaming (show below configuration, using ffmpeg to trancode in 3 variants, and produce one manifest). note the "max" flag which indicate which representation should have max witdh and height and so use it to create the variant manifest. you can also use any encoder to directly push the variant.
example as follows:
rtmp {
server {
listen 1935;
application test {
live on;
exec /usr/bin/ffmpeg -i rtmp://localhost/$app/$name \
-an -c:v libsvt_hevc -s 854x480 -b:v 2048K -bufsize 2048k -f flv rtmp://localhost/dash/$name_low \
-an -c:v libsvt_hevc -s 1280x720 -b:v 4096K -bufsize 4096k -f flv rtmp://localhost/dash/$name_mid \
-an -c:v libsvt_hevc -s 1920x1080 -b:v 8192K -bufsize 8192k -f flv rtmp://localhost/dash/$name_hi
}
application dash {
live on;
dash on;
dash_nested on;
dash_repetition on;
dash_path /dev/shm/dash;
dash_fragment 4; # 4 second is generaly a good choice for live
dash_playlist_length 120; # keep 120s of tail
dash_cleanup on;
dash_variant _low bandwidth="2048000" width="854" height="480";
dash_variant _med bandwidth="4096000" width="1280" height="720";
dash_variant _hi bandwidth="8192000" width="1920" height="1080" max;
}
}
from cdn-transcode-sample.
from cdn-transcode-sample.
ABR support for DASH code is merged and close this issue.
from cdn-transcode-sample.
Related Issues (20)
- [Bug]live url open error, access error: http 503 error HOT 1
- [Feature][Q1'20] Ability to specify Encoder settings via config file HOT 1
- [Feature][Q2'20] OpenNESS investigation and implement
- why dont use OpenResty instead of nginx? what are causes?
- [Bug]vod and av1 live play failed HOT 2
- DASH manifest wrongly generated HOT 2
- Could it be used in production environments? HOT 4
- CDN code compile failed while run "make volume" since this commit "42b45bba" HOT 15
- CDN Transcode deploy failed HOT 2
- make failed due to no m4 , it should be included in the "script/install_dependency.sh" HOT 2
- Integrate the EPA plugins to tune transcoding performance on NUMA cluster systems.
- Certificate verification failure when play live with vlc HOT 5
- batch-5n4c9 pod pull image error HOT 1
- video not playing .getting error 504 Gateway Time-out
- CDN building image is stuck HOT 3
- live-0-6dcff4f549-rvm6h pod failed occasionally HOT 3
- live-service-0-7b57cd67c9-4mms7 pods error with helm installation. HOT 1
- How to setup Kubernetes monitoring environment
- whats the speed as compared to mediaconvert
- recipe to build tc_common docker image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdn-transcode-sample.