VLC Gui generated string to cvlc

*nix specific usage questions
Alexndr
New Cone
New Cone
Posts: 1
Joined: 05 May 2022 19:43

VLC Gui generated string to cvlc

Postby Alexndr » 05 May 2022 19:49

Hello! Im new to vlc and im trying to re stream an HLS stream to rtsp. Using the gui im able to restream using vcodec mpeg 4. But I want to runs this in the command line. When using the gui I get this string at the end:

:sout=#transcode{vcodec=mp4v,vb=800,scale=Auto,acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{sdp=rtsp://:554/s} :no-sout-all :sout-keep

Can someone help me to convert this to cvlc?

tguillem
Developer
Developer
Posts: 87
Joined: 04 May 2015 16:38
VLC version: ALL
Operating System: Linux/WIndows/Mac OS

Re: VLC Gui generated string to cvlc

Postby tguillem » 06 May 2022 07:43

"vlc <PATH_TO_INPUT_FILE_OR_STREAMURL> --sout=#transcode{vcodec=mp4v,vb=800,scale=Auto,acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{sdp=rtsp://:554/s} --no-sout-all --sout-keep"

Basically, replace all " :" by " --"


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests