dash.js

MPEG-DASH video stream with just single mp4 file

瘦欲@ 提交于 2020-05-10 03:32:05
问题 I'm researching for a week to find a simple and platform independent method to stream a mp4 file to any browser. In case of browser incompatibility progressive stream(direct download) method will be used. My scenario is like this: single mp4 file (not segmented and multiplexed(Audio+Video) ) HTTP Byte-Range serving supported progressive stream (direct file download) supported in case of browser incompatibility After studying Apple HLS, Adobe Flash Stream, Microsoft Smooth, RTSP and MPEG-DASH

Live streaming: node-media-server + Dash.js configured for real-time low latency

不羁的心 提交于 2020-04-10 03:33:06
问题 We're working on an app that enables live monitoring of your back yard. Each client has a camera connected to the internet, streaming to our public node.js server. I'm trying to use node-media-server to publish an MPEG-DASH (or HLS) stream to be available for our app clients, on different networks, bandwidths and resolutions around the world. Our goal is to get as close as possible to live "real-time" so you can monitor what happens in your backyard instantly. The technical flow already

webm dash encoding… What are the correct ffmpeg parameters?

落花浮王杯 提交于 2019-12-18 12:03:06
问题 I'm stumped with encoding videos into a dash compliant format. I'm going from .mp4 to .webm Firstly, I am running OS X and ffmpeg 2.5.4. Here's the encoding commands I am using in my test (I got these from here): ffmpeg -i IMG_0113.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 25k -g 1 -tile-columns 4 -frame-parallel 1 -an -f webm -dash 1 video_160x90_25k.webm ffmpeg -i IMG_0113.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 50k -g 1 -tile-columns 4 -frame-parallel 1 -an -f webm -dash 1 video_160x90_50k.webm ffmpeg

How to generate multi rate mpeg-dash stream by ffmpeg

帅比萌擦擦* 提交于 2019-12-08 01:38:39
问题 I want to create dash stream with multi-bitrate and serve it. I also want to use the quality selector of dash.js player. like the picture: what flags and configuration I need for generating .mpd file? 回答1: With the following command, you create two streams and after that, you can put them into adoption sets instead of seperate streams: ffmpeg -i $INPUT.mp4 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 \ -b:v:0 250k -filter:v:0 "scale=-2:240" -profile:v:0 baseline -b:v:1 \ 750k -filter:v:1

How to generate multi rate mpeg-dash stream by ffmpeg

自作多情 提交于 2019-12-06 05:15:55
I want to create dash stream with multi-bitrate and serve it. I also want to use the quality selector of dash.js player. like the picture: what flags and configuration I need for generating .mpd file? Parham Alvani With the following command, you create two streams and after that, you can put them into adoption sets instead of seperate streams: ffmpeg -i $INPUT.mp4 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 \ -b:v:0 250k -filter:v:0 "scale=-2:240" -profile:v:0 baseline -b:v:1 \ 750k -filter:v:1 "scale=-2:480" -profile:v:1 main -use_timeline 1 \ -use_template 1 -window_size 5 -adaptation_sets

Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED

匆匆过客 提交于 2019-12-04 05:16:03
问题 I'm trying to play a dash mpd file with dash.js.I used axinom tutorial for guidance which suggested the command below for generating the mpd file. mkdir dash_unprotected MP4Box -dash 4000 -rap -frag-rap -sample-groups-traf -profile dashavc264:live -bs-switching no -segment-name dash_$RepresentationID$_$Number$ -url-template video-700k.mp4 video-1000k.mp4 video-1500k.mp4 video-2000k.mp4 audio.mp4 -out "dash_unprotected/manifest.mpd" The resulting mpd file <?xml version="1.0"?> <!-- MPD file

webm dash encoding… What are the correct ffmpeg parameters?

房东的猫 提交于 2019-11-30 05:32:28
I'm stumped with encoding videos into a dash compliant format. I'm going from .mp4 to .webm Firstly, I am running OS X and ffmpeg 2.5.4. Here's the encoding commands I am using in my test (I got these from here ): ffmpeg -i IMG_0113.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 25k -g 1 -tile-columns 4 -frame-parallel 1 -an -f webm -dash 1 video_160x90_25k.webm ffmpeg -i IMG_0113.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 50k -g 1 -tile-columns 4 -frame-parallel 1 -an -f webm -dash 1 video_160x90_50k.webm ffmpeg -i IMG_0113.mp4 -vn -acodec libvorbis -ab 128k -dash 1 audio_128k.webm ffmpeg -f webm_dash_manifest