Page 1 of 1

Output to RTMP from GUI?

Posted: 02 Feb 2022 14:42
by sentarn99
I have an RTP URL which opens and plays OK in the VLC GUI.

I want to stream this out to RTMP (to SRS server).

Eventually I intend to do this on the command line, but I want to try it out first on the GUI.

When I go to stream, I have the RTP URL as input, and then on the "Destination Setup" page I can choose from:
  • File
  • HTTP
  • MS-WMSP (MMSH)
  • RTSP
  • RTP / MPEG Transport Stream
  • RTP Audio/Video Profile
  • UDP (legacy)
  • Icecast
Which of these should be use to stream to an RTMP server? Or is RTMP stream output only possible on the command line with cvlc?

Thanks.

Re: Output to RTMP from GUI?

Posted: 02 Feb 2022 17:12
by RĂ©mi Denis-Courmont
None. Yes.

Re: Output to RTMP from GUI?

Posted: 16 Mar 2022 21:13
by Tampa
I'm doing something like that, but seem to hit a brick wall with an error I cannot find a solution to.

Code: Select all

cvlc -I dummy playlist.xspf --loop --sout-all --sout-keep --sout '#transcode{vcodec=h264,acodec=aac,ab=128}:duplicate{dst=std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://localhost:38000/live}}'
Trying to push an rtmp stream through nginx rtmp, but I only get:

[00007f41f40033d0] avio access out error: Wrote only 0 bytes: Broken pipe

and no output I can open with vlc from the outside. Is there some trick on what parameters it needs?