phoboslab / jsmpeg

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

Live Video, no longer works #420

Open winkmichael opened 8 months ago

winkmichael commented 8 months ago

Hello all,

Can anyone use this project for live video anymore? I am able to play .ts files perfectly fine, but no matter what I can't get ffmpeg to publish and have the live video play. I've looked at various forks, one using a python server instead of node and they all seem the same.

Anyone having luck playing live video with mpeg1/2 anymore?

Thanks

phoboslab commented 8 months ago

Still works as expected:

ffmpeg -re -i bjork-all-is-full-of-love.ts -f mpegts -codec:v mpeg1video -codec:a mp2 -b 0 http://127.0.0.1:8081/supersecret

If you have a problem, it just might help to state what exactly the problem is. What did you try? what happened instead? Did you get an error message? If so: which one?