Transcode Unplayable Local Files
Make unplayable files playable in some way.
Option to transcode files, store them locally somewhere then allow playback
FFMPEG to HLS file, load from there.
Live transcode and stream result to html5 player
Attempted once, worked terribly, e.g. seeking did not work.
Useful links? https://stackoverflow.com/questions/39431714/ffmpeg-transcode-to-live-stream https://github.com/BeeeQueue/stream-transcoder.js (couldn't get this to work) https://trac.ffmpeg.org/wiki/StreamingGuide
@BeeeQueue How did seeking behave besides not working?
When you start transcoding a file using ffmpeg you specify the start time in seconds. I could barely create a solution that found a start time based on the start bytes that browsers send in headers (Range"bytes=12312313-"), but then it always started from the beginning, no matter what I did.
Then there was also an issue with starting to transcode. The initial request from the browser is responded with about 200kb of video with duration included in it, which the player then parses and asks for the rest of the video, starting another transcoding.
I have no idea how the Plex guys do it but their stuff seems to work pretty much flawlessly...
interesting.. I might take a shot at this later