1. this solution should work on windows machine
2. node.js application
3. create one method called generateMpdFile(localVideoFileOnDisk)
-- input : string, to a local file, this file is a video file
-- output : mpd file, generated by the method body (the generated location does not matter to me...)
4. ffmpeg usage (exe files) is permitted.
5. NO ACTUAL TRANSCODING SHOULD BE DONE!
6. the MPD should be generated into segments of 2 seconds, with 2 video streams (240p / 720p) and 1 audio stream (2ch, aac, 22khtz).
so far for the scope of this project.
the bigger picture how i am going to use this solution later on:
basically (eventually) i want to build an online JIT (just in time) / on demand/ vod transcoder.
this transcoder (i'll implement the actual transcoding) will return this mpd file and i'm going to serve it statically. when a client get this file and requests to get an actual chunk (2 second segment in an HTTP-GET request) THEN (and only then) i'm going to do the actual transcoding.
the reason why i want to do this like that is because i dont want to wait for the entire transcoding to dash to complete before playback starts, i'm going to return first the mpd file so that the player shall know the basic stuff (like the streams, segments, DURATION etc) then the client shall be able to jump to the desired location in the video and only then start the playback (pretty usefull to save time and allow online transcoding for an unsupported video playback).
About the recuiterMember since May 20, 2018 Info Groups
from Cundinamarca, Colombia