jhiesey / videostream

Play html5 video when from a file-like object
MIT License
247 stars 73 forks source link

VP8/Webm support? #45

Open tzarebczan opened 6 years ago

tzarebczan commented 6 years ago

How difficult would it be to add streaming support for VP8/webm support? Here's a sample video: https://transfer.sh/AQ8Gp/the-metagame-batman-arkham_1.mp4

jhiesey commented 6 years ago

Supporting VP8 in a webm container would require a major overhaul. At this point I'm inclined to wait until AV1 is more widely supported and then support that. It seems like there is some support for AV1 in mp4 containers, and some for webm containers, so we'll have to see which one gains widespread adoption.

Of course if someone is willing to fund further work on videostream I can add VP8 sooner :)

gmarty commented 5 years ago

Would something like https://github.com/jscodec/jswebm help with parsing webm container? If so, what type of changes are needed in the main script to support both webm and mp4?