alim-zanibekov / ndi_streamer

Tool for re-streaming NDI stream as rtsp/rtmp (via ffmpeg)
MIT License
2 stars 0 forks source link

[AVFormatContext @ 0x149804080] Requested output format 'rtmp' is not known. #1

Open Ahua9527 opened 1 month ago

Ahua9527 commented 1 month ago

Have you not finished writing this yet? Why is [AVFormatContext @ 0x149804080] requested output format 'rtmp' not known My ffmpeg has rtmp, and I have also tried using ffmpeg directly to convert a video file into an rtmp stream and push it to the rtmp server

alim-zanibekov commented 1 month ago

Hi @Ahua9527, can you try replacing opts.output_format with "flv" here and tell me if it works?

https://github.com/alim-zanibekov/ndi_streamer/blob/75b4df473974d957f787a4cb00c74e72044e9227/src/ndi_streamer.c#L84