CVLC: RTSP in -> transcode & rotate -> RTSP out
Posted: 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:
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 and
however not sure on how to proceed as trying to chain either #transcode and #rtp modules i get an error
can you help on this?
thank you in advance
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 ****
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
Code: Select all
--sout=#transcode{vcodec="h264",vb="1500",acodec="mp4a",ab="96","channels=2",samplerate="44100",vfilter="transform"}
Code: Select all
main stream output error: stream chain failed for `transcode{vfilter='rotate'}:#rtp{sdp
thank you in advance