Output to RTMP from GUI?

About encoding, codec settings, muxers and filter usage
sentarn99
New Cone
New Cone
Posts: 4
Joined: 01 Aug 2017 01:01

Output to RTMP from GUI?

Postby sentarn99 » 02 Feb 2022 14:42

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Output to RTMP from GUI?

Postby Rémi Denis-Courmont » 02 Feb 2022 17:12

None. Yes.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Tampa
Blank Cone
Blank Cone
Posts: 13
Joined: 26 Feb 2017 01:15

Re: Output to RTMP from GUI?

Postby Tampa » 16 Mar 2022 21:13

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?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests