0

i have a quick questions. Have anybody examples or links for the use of ffmpeg with the Media Source Extension for pure JavaScript adaptive VOD-, or Live-Streaming? I mean really pure not HLS or DASH.

I prefer the chunkless, so say inline-container-segmenting:). So that i have a full files like so:

video_1080p_5000k.webm video_720p_5000k.webm video_480p_5000k.webm audio_128k.opus audio_256k.opus and so on ...

What i search are javascript snippets and ffmpeg examples for an pure mse-js-adaptive-vod-player;).

Thx

Edit: A deeper explain why i not use DASH or HLS? I try to understand the deeper functions that JavaScript chunk the Videos on the fly, to prevent and memory low error and make an very simple and basic adaptive streaming.

I can load small Videos and Musicfilse into an blob/string. Cool thing but when i try to use the chunking functions i have many problems with some things. That is why i search compact ffmpeg encoder params and js-examples preferably links to sites with that preferably for all free codecs that i can use.

0

Chunkless and Adaptive is a contradiction. You can concatenate chunks, and request with a byte range however. Both HLS and DASH support that mode.

  • Hello, okay my question ist then how can i made video files with concatenate chunks with ffmpeg and how can i use this with javascript/mse/video-tag or knows anybody a site with examples. But i mean a pure JavaScript/MSE-Solution without HLS or DASH. Why HLS is not free and Dash is the answer but i specially want to use MSE without ready standards. I know No Dash without MSE and when MSE why not Dash;), but i'm intrested in the pure MSE-Technology with an ffmpeg/purejavascript solution:). Pure Adaptive Streaming:). – CyberPunkBln Apr 14 '18 at 22:58
  • What you are saying doesn't make much sense. first of all HLS is not "free" in what sense? if your talking about mpeg2 patents, they have all expired. It is no less free that DASH. "pure" MSE/JS is just fmp4. the same fmp4 used by DASH, and optionally by HLS. DASH just adds an XML manifest file, and HLS an m3u8 manifest file. – SlimSCSI Apr 15 '18 at 0:13
  • Hello, thx for the infos but one objection to fMP4, when i us ogg/webm as Container it is no fMP4, HLS is the one that is not codec agnostic and Dash is, i know. This is why i have asked this Question. I search ffmpeg params which i can encoded every av-codec to use in dash with the right codec params and why i search examples or good links to sites that explain pure MSE/JS? One small thing ist the Overhead against dash-xml and javascript to use it (dash.js is very big), another thing is doing by learning and understandig mse:). But you are right in deep the answer on my questions cbe use dash – CyberPunkBln Apr 15 '18 at 7:34
  • DASH is codec agnostic in theory, but in reality browsers only support AVC and VP9 and a very few HEVC. HLS supports AVC and HEVC. So preactilly, the only difference is VP9. – SlimSCSI Apr 15 '18 at 15:43
  • Just because you use “DASH like”segments (which are also HLS like, and CMAF like) doesn’t mean you need dash.js. You can make your own manifest and js. – SlimSCSI Apr 15 '18 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.