AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Hls_variant _low BANDWIDTH=288000 # Low bitrate, sub-SD resolutionĭash_path /mnt/dash/ # dash fragments path Hls_variant _mid BANDWIDTH=448000 # Medium bitrate, SD resolution Hls_variant _high BANDWIDTH=1152000 # High bitrate, higher-than-SD resolution Hls_variant _hd720 BANDWIDTH=2048000 # High bitrate, HD 720p resolution Hls_variant _src BANDWIDTH=4096000 # Source bitrate, source resolution # Instruct clients to adjust resolution according to bandwidth Live on # Allows live input from above applicationĭeny play all # disable consuming the stream from nginx as rtmp c copy -f flv rtmp://localhost:1935/show/$name_src c:v libx264 -c:a aac -b:v 256k -b:a 64k -vf "scale=480:trunc(ow/a/2)*2" -tune zerolatency -preset superfast -crf 23 -f flv rtmp://localhost:1935/show/$name_low # these settings respect the aspect ratio.Įxec_push /usr/local/bin/ffmpeg -i rtmp://localhost:1935/$app/$name -async 1 -vsync -1 # the source into 4 different streams with different bitrates # This single ffmpeg command takes the input and transforms # for each received stream, transcode for adaptive streaming # This application is to accept incoming stream Listen 1935 # Listen on standard RTMP port The nginx configuration is this: worker_processes auto I think there is a problem with permissions somewhere at the nginx but I dont know where. If I navigate to the path of one chunk of video I can download the file (an the manifest too), so the route is ok. Failed to load resource: the server responded with a status of 403 (Forbidden)įor all files in the folder with the video sources, at /mnt/dash/ (the nginx configuration points that /mnt/dash is the place for video sources). I have downloaded a docker container with an DASH-MPEG server Here, I have read the documentation, but when in tried to serve a custom dash video (with diferent video resolutions and the mpd file for DASH) I get the following. 7th December 2020 docker, hyphen, linux, nginx, video-streaming
0 Comments
Read More
Leave a Reply. |