Open AbhinavA10 opened 4 years ago
Right now rtsp/rtmp is not supported due to the external libraries is unable to integrate with ffmpeg.wasm, I am still looking for possibilities.
@jeromewu jeromewu Is it possible to Screen Capture API and MediaStream Recording API to record the screen and then use FFmpeg.wasm or ffmpeg.js to stream any RTMP server like youtube, Facebook at once?
Same request here, see https://github.com/ffmpegwasm/ffmpeg.wasm/issues/61
Hi, does ffmpeg.wasm support rtmp stream as input now?
I am encountering a connection refused problem now:
(async () => { await ffmpeg.load(); await ffmpeg.run( '-re', '-i', 'rtmp://x.xx.xx.xxx:1935/live/stream_id', ... ); })();
However, I got following error:
[fferr] [tcp @ 0x1a67100] Starting connection attempt to x.xx.xx.xxx port 1935 [fferr] [tcp @ 0x1a67100] Connection attempt to x.xx.xx.xxx port 1935 failed: Connection refused [fferr] [tcp @ 0x1a67100] Connection to tcp://x.xx.xx.xxx:1935 failed: Connection refused [fferr] [rtmp @ 0x1a66c40] Cannot open connection tcp://x.xx.xx.xxx:1935 [fferr] rtmp://x.xx.xx.xxx:1935/live/stream_id: Connection refused [ffout] FFMPEG_END
I have no problem connecting to the rtmp stream using ffmpeg itself in command line though. Any help would be greatly appreciated!
Right now rtsp/rtmp is not supported due to the external libraries is unable to integrate with ffmpeg.wasm, I am still looking for possibilities.
@jeromewu is rtmp supported now?
Is rtsp working now or not implemented yet?
somebody can give an answer please?
Describe the bug Unable to use
ffmpeg.run
to use rtsp stream as the input, and output the transcoded stream over an http stream using mpeg1video encoding. Inffmpeg
, I can do the followingHowever, when I try doing the same thing using ffmpeg.wasm, I get the following:
The code I used is below: example_stream.js:
To Reproduce Steps to reproduce the behavior:
npm install "@ffmpeg/ffmpeg"
Expected behavior Output similar to ffmpeg terminal command:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.