Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
@costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
can someone use vlc instead of omxplayer with your module?If yes whats the pro and con on that?
I know on the develop branch you can.
Pro: it kept the original aspect ratio.
con: it didn’t work more than once. -
@costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
can someone use vlc instead of omxplayer with your module?If yes whats the pro and con on that?
Yes, its still experimental but was working fine for me. If you’re on a Raspberry Pi, it works best if you’re using the newest distro of Raspbian because VLC has Hardware Acceleration enabled.
Your mileage may vary between omxplayer and VLC. OMXPlayer is finicky and doesn’t rotate streams well (will be working on that)–VLC should in theory be much more stable and easy to use, but some people have had issues getting it to respond correctly on the Pi.
Back up a few pages on this thread to find out how to install the
develop
branch. -
@shbatm I hope your module will be perfect one day until then I have unfortunately to give up with the channel switching function and set a static Radio/TV stream. :thumbs_up_medium-light_skin_tone:
-
Hi @shbatm ,
how is the bug fixing job doing right now? :)
I’ve done in the meantime some testing both with VLC and OMXplayer options by using different streaming sources like mp3 podcasts, mp4 live channels & some IP cameras (that I’ve got at home).
I can confirm that something is wrong in the module code because the EXACT same issue (wrong stream selected while switching) is happening with the above sources. :confused_face:
-
@shbatm you there mate? :smiling_face_with_open_mouth_cold_sweat:
-
@cr4z33 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
you there mate?
Gotta earn some money to pay for all my expensive hobbies… Currently 100 miles from land for the next week so debugging will be… Slow.
In the meantime, can you please send/share/chat me a copy of your config with both this module and the controlling module sections at least? Also, have you tried using a different module, like my branch of MMM-Remote-Control w api to control the streams? Is it always the same number of streams wrong, or is it for sure random?
-
Have now made everything new. Raspe new SD card new. MagicMirror Software nue and RTSP module made new. I had 2 cameras. That ran for a few hours and then a camera picture was black, although PM2 status was online. After rebooting everything went again for a few hours.
have omxRestart set to 2 hours in both cameras that did not help synonymous.
Raspberry Pi 3 RTSP Stream Viewer
Now I’ve configured according to the instructions and this is stable for 3 days. Is independent of Magicmirror running in the foreground.
have a Raspi and there runs Raspberry Pi 3 RTSP Stream Viewer with 4 cameras for 5 days very stable. I also tested on Raspi zero, and it worked. -
@shbatm I’ve sent you the config link by private chat. ;)
Honestly I don’t want to use MMM-Remote-Control or other solutions but voice control in the end so no I didn’t try.
All I can say is that the issue happens with whatever source I use and the chosen (wrong) stream is ALWAYS random.
If using VLC multiple streams start at the same time while if using OMXplayer a single (wrong) stream is selected.
Last thing I am using your dev version of the module.You should get the issue if using the same config and modules. :slightly_smiling_face:
-
Switched to VLC but issue is now the stream doesn’t fit window…
-
I recommend in your custom.css file:
.MMM-RTSPStream .innerWrapper {
border: 0;
}No more border. :)