jsmpeg
jsmpeg copied to clipboard
Memory access out of bounds
I'm trying to proxy FFMPEG over UDP to websocket and have it decode using JSMPEG. I don't understand why its giving me this error
This is my FFMPEG command ffmpeg -f dshow -i video="screen-capture-recorder" -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -ar 44100 -ac 1 -b:a 128k -b:v 1000k -s 960x540 udp://cube.bin.moe:11000
This is how I'm running my UDP server.
From my knowledge everything seems to be going fine, but this is my video output on the page and I'm actually pretty confused as to what I'm doing wrong.
Have you solved the same problem I encountered
UDP doesn't guarantee that the data arrives in order and JSMpeg has no way of dealing with out-of-order packets. Try TCP.
I did, had a similar issue still
---- On Sun, 01 Dec 2019 09:12:36 -0600 [email protected] wrote ----
UDP doesn't guarantee that the data arrives in order and JSMpeg has no way of dealing with out-of-order packets. Try TCP.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Did you try to increase the videoBufferSize
? Does it work without WASM (disableWebAssembly
)?
videoBufferSize
– when streaming, size in bytes for the video decode buffer. Default 512*1024 (512kb). You may have to increase this for very high bitrates.
Did you try to increase the
videoBufferSize
? Does it work without WASM (disableWebAssembly
)?
videoBufferSize
– when streaming, size in bytes for the video decode buffer. Default 512*1024 (512kb). You may have to increase this for very high bitrates.
Will try to do now
Hi there, thanks for JSMPEG. Im not sure, maybe my issue is related. Then I call .destroy() method from my react app, i handle this issue.
Hi there. I solved my problem. This is my mistake in react component code.
Hi @Imjamper , did u use jsmpeg for live streaming ?