Hello everyone. I have a Tapo C100 wireless camera and it uses rtsp. I guess i cant use it to stream to mainsail, so i used a RTSP to Web with this https://github.com/deepch/RTSPtoWeb
but after i got it working i still cant share stream to mainsail. Is there a better way to do this? I guess i can use ffmpeg but i really have no idea how. Kinda new to this.
By the way Klipper and Mainsail is on a dedicated mini pc so performance hit would not be a problem. Thank you in advance.
#Tapo C100 with Mainsail.
27 messages · Page 1 of 1 (latest)
Maybe i can use vlc to transcode the stream from rtsp to mjpeg? I have ubuntu server installed on the pc
Can somebody tell me how to use vlc? Cant seem to find a way that works
From my main pc i can connect with vlc to stream with rtsp://username:[email protected]:554/stream1
How can i use the vlc in the mini pc to transcode the stream?
As i understand crowsnest should work with rtsp already? How do i need to configure the crowsnest.conf for it to work?
I have been at this for 15 hours straight and i think im just too dumb to make it work
Hey, what type of stream do you generate with RTSPtoWeb? Mainsail should be able to use WebRTC or HLS
I generate both. But there is no way to get the adress from there.
Tried everything still couldnt get them
I mean streams links from the hls and WebRTC streams.
Kinda feel super dumb
I didn't use that tool yet and I'm by far no specialist on that topic. I can give some advice what I would try (without knowing what you already did and what your setup looks like atm) or you can wait for someone else who might be more experienced.
If you want some suggestions from me, please provide some more information about your whole setup, like what is your main PC and where do you host RTSPtoWeb.
My main PC is just a basic ryzen+radeon setup, but my klipper and RTSPtoWeb host is a MSI windobox with I5 3337u and 8gb ram. Does that help?
RTSPtoWeb worked and i got into their web interface and could see the HLS and WebRTC streams but i couldnt get links from them.
Also tried vlc transcoding without success and the same with ffmpeg.
Can you open http://192.168.101.27:554/stream1 in your browser?
Wait, you need a login? I don't think Mainsail support that. Can you disable that login?
If you get http://192.168.101.27:554/stream1 working, without adding something in the front and just at the back like http://192.168.101.27:554/stream1?username:password or something like that, then it should work with Mainsail
Or something like that ?token=you_key should be available somehow maybe
Sadly i cant disable password and havent seen an option to enable token.
I have tried everything but it still doesnt work
So just using the IP-camera option inside mainsail UI didn't work too?
Sadly no.
According to this site https://drklipper.de/doku.php?id=klipper_faq:51_-_crowsnest_v4_guide (RTSP Stream (VLC)) there seems to be a way to pass username and password. But the description is for VLC, I can't get this to work with Crowsnest. Is there somewhere a solution out there for this type of cameras?
You did not understand what he was writing there.
The guide is a tutorial for picams. It says that you can start with Crowsnest a RTSP stream and then view it in VLC.
It doesn't say anything about adding a rtsp stream to Crowsnest and then viewing it in Mainsail.
You cannot just mix and match tutorials to your liking, you have to read and understand them.
It might very well be, that I mixed the wrong things together, as I'm pretty new in Klipper and Crowsnest and still trying to understand how the details work. Sorry about.