phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.34k stars 1.43k forks source link

MPEG2 support roadmap #321

Open B-R-Bender opened 4 years ago

B-R-Bender commented 4 years ago

First of all - thanks. You do really crazy things! Next - I would like to try to implement MPEG2 support in jsmpeg, it's all because of my data is usually MPEG2 encoded, so I'd like to ask: can you, please, give some suggestions or roadmap, I guess, of what should be done, to make jsmpeg be able to handle MPEG2 encoded streams? Regards, Sergey.

winkmichael commented 4 years ago

For all intense and purposes with respect to this project mpeg1 and mpeg2 are basically the same.

B-R-Bender commented 4 years ago

yeah, I saw Dominic answer that jsmpeg doesn't respect interlaced video or higher bitrate profiles. However I'd like to have ability to play mpeg2 just because my data is streamed in mpeg2 format, so as I see, I've got two options: implement mpeg2 logic in jsmpeg or convert mpeg2 to mpeg1 which is not actually an option because is a stream data :)

whoozle commented 3 years ago

:+1: SD iptv is pain without mpeg2 :(