mpeg-dash

How to encrypt WebM or MP4 file using ClearKey and then play it

好久不见. 提交于 2019-12-21 20:39:51
问题 I'm currently researching the subject of encrypting and playing encrypted videos in browser. I already have some successes with castlabs' DRMToday and Shaka Player while using Widevine. Now I'm trying to encrypt video without external services using ClearKey and play it in Chrome (using whatever js player which can handle). I did manage to encrypt single mp4 file using MP4Box (and mse-eme for creating crypt configuration) but I have no idea how to play it in browser. HTML5's Video didn't even

how to play mpd file

僤鯓⒐⒋嵵緔 提交于 2019-12-21 05:33:07
问题 . I am trying to understand how mpd file plays and i am referring to the following data set: http://www-itec.uni-klu.ac.at/ftp/datasets/mmsys12/Valkaama/MPDs/Valkaama_1s_act_isoffmain_DIS_23009_1_v_2_1c2_2011_08_30.mpd In mpd file format there is segment base consists of mp4 chunk and within it has chunk list with extension .m4s.I downloaded mpd file using : http://www-itec.uni-klu.ac.at/ftp/datasets/mmsys12/Valkaama/valkaama_1s/valkaama_1s_50kbit/valkaama_50kbit_dash.mp4 and m4s chunk by

How to create multi bit rate dash content using ffmpeg dash muxer

≯℡__Kan透↙ 提交于 2019-12-21 04:42:11
问题 ffmpeg documentation says that we can use dash muxer to create dash segments and manifest file with just a single command, like: ffmpeg -re -i <input> -map 0 -map 0 -c:a libfdk_aac -c:v libx264 -b:v:0 800k -b:v:1 300k -s:v:1 320x170 -profile:v:1 baseline -profile:v:0 main -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -ar:a:1 22050 -use_timeline 1 -use_template 1 -window_size 5 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash /path/to/out.mpd Saying I have some HD video

Create MPEG-DASH Initialization segment

倖福魔咒の 提交于 2019-12-18 16:16:38
问题 I am looking to convert between HLS and MPEG Dash. I do not access to the original fully concatenated video file, only the individual HLS segments. In doing this transformation to MPEG Dash I need to supply an initialziation segment for the Dash manifest .mpd file. My questions are: What is the structure of a Dash video initialization segment? How can I generate/create one without the need for the original full file? Perhaps a solution would involve getting MP4Box to convert the '.ts' HLS

Given a MPEG DASH .mpd URL, is that possible to down all media segments through youtube_dl?

痴心易碎 提交于 2019-12-18 10:36:07
问题 I'm looking for a MPEG DASH downloader and youtube_dl just hit on me. Given a .mpd URL, is that possible to use youtube_dl to download all media segments then? 回答1: To download all video and audio segments and mux them into a single file, call youtube-dl thus: youtube-dl -f bestvideo+bestaudio http://URL/TO/manifest.mpd The option -f <id1>[,<id2>]... is used to select which stream (or streams) of segments to save. The -f bestvideo+bestaudio in this example makes youtube-dl save only the best

Flush & Latency Issue with Fragmented MP4 Creation in FFMPEG

为君一笑 提交于 2019-12-17 15:47:08
问题 I'm creating a fragmented mp4 for html5 streaming, using the following command: -i rtsp://172.20.28.52:554/h264 -vcodec copy -an -f mp4 -reset_timestamps 1 -movflags empty_moov+default_base_moof+frag_keyframe -loglevel quiet - "-i rtsp://172.20.28.52:554/h264" because the source is h264 in rtp packets stream from an ip camera. For the sake of testing, the camera is set with GOP of 1 (i.e. all frames are key frames) "-vcodec copy" because I don't need transcoding, only remuxing to mp4. "

Live streaming dash content using mp4box

空扰寡人 提交于 2019-12-17 08:54:22
问题 I'm trying to live stream H.264 content to HTML5 using the media source extensions API. The following method works pretty well: ffmpeg -i rtsp://10.50.1.29/media/video1 -vcodec copy -f mp4 -reset_timestamps 1 -movflags frag_keyframe+empty_moov -loglevel quiet out.mp4 and then: mp4box -dash 1000 -frag 1000 -frag-rap out.mp4 I can take the MP4Box output ( out_dashinit.mp4 ) and send it through Web Sockets, chunk by chunk, to a JavaScript client that feeds it to the media source API. However,

Delete a TextTrack from a video

一曲冷凌霜 提交于 2019-12-14 01:46:27
问题 Is there a good way to delete a single TextTrack added via JavaScript to a HTML5 <video> tag? The following code is a simple demo of how to add a track, but I haven't found a good way to remove one: document.querySelector('video#myVideo').addTextTrack(...); 回答1: There is no mechanism to remove an added text-track (probably a flaw (?) in the current specification. There is also an onremovetrack event but...). The only thing we can do is to disable or hide it. Make sure you keep a reference to

MPEG-DASH on Windows 8 Javascript app

喜欢而已 提交于 2019-12-13 05:08:29
问题 Does anybody know if there are any samples or documentation for playing dash streaming in Windows 8 javaScript based applications or Windows phone 8 ? 回答1: I don't know if it fits for your solution, bit libdash is a C++ library also available for windows: http://www.bitmovin.net/libdash.html There is also a sample player based on ffmpeg. This should also work on win 8. 回答2: I found this: http://mingfeiy.com/windows-azure-media-services-in-build-2013-dynamic-packaging-dash-support-live

MP4 to DASH (bash script)

和自甴很熟 提交于 2019-12-12 09:58:37
问题 I have a web site in which users can upload video files. I want to stream all of them using DASH to obtain an adaptive bitrate streaming. So I wrote a bash script (to run by cron) that converts all mp4 files to DASH, but it doesn't work properly: what is wrong? For example, using the following script, I obtained: https://www.informatica-libera.net/dash_faq/stream.mpd It validates, but it doesn't play. I tested it on: http://dash-mse-test.appspot.com/dash-player.html?url=https%3A%2F%2Fwww