CVLC: RTSP in -> transcode & rotate -> RTSP out

About encoding, codec settings, muxers and filter usage
albenex
New Cone
New Cone
Posts: 2
Joined: 18 Jul 2021 19:06

CVLC: RTSP in -> transcode & rotate -> RTSP out

Postby albenex » 18 Jul 2021 19:34

Hi All,
I'm using my raspberry pi3 in order to collect some LAN RTSP streams, transcode them, apply some credential and stream out.
here my working command line string:

Code: Select all

cvlc rtsp://admin:*****@192.168.199.114:554/av0 --sout '#rtp{sdp=rtsp://192.168.199.12:55405/cam5.sdp}' --sout-avcodec-strict -2 --sout-rtsp-user **** --sout-rtsp-pwd ****
For one of these streams i need also to apply a 180° rotation.

now i want to add rotation.
as per https://wiki.videolan.org/transcode/#Rotation_example i should add something like

Code: Select all

--transform-type=180
and

Code: Select all

--sout=#transcode{vcodec="h264",vb="1500",acodec="mp4a",ab="96","channels=2",samplerate="44100",vfilter="transform"}
however not sure on how to proceed as trying to chain either #transcode and #rtp modules i get an error

Code: Select all

main stream output error: stream chain failed for `transcode{vfilter='rotate'}:#rtp{sdp
can you help on this?

thank you in advance :roll:

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 26 guests