Comments (3)
It sounds like OMXPlayer is failing for some reason. I've found OMXPlayer has terrible error reporting. You may try just running OMXPlayer from the command line and seeing if it outputs any errors there:
omxplayer --win "{left}, {top}, {right}, {bottom}" --live --video_queue 4 --fps 30 {url}
You can get the boundaries by running the module and checking the MM server log (should be something like "Starting stream1 with args: ...". Then disable the module and try running it from the console. Let me know if it does the same thing.
Thanks,
shbatm
from mmm-rtspstream.
This should now be fixed after 442e471 and using PM2 to run OMXPlayer with auto-restart. Please re-open if necessary.
from mmm-rtspstream.
If I am being honest: No change. Still massive problems with the stream.
Mostly when restarted it runs fine for a few minutes, then just disappears. Most of the time it will come back after a certain period of time and can either stay for hours or disappear again.
Branch master now.
{
module: "MMM-RTSPStream",
position: "bottom_left",
disabled: true,
header: "Webcam",
config: {
autoStart: true,
rotateStreams: false,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: 'omxplayer',
stream1: {
name: 'Haustür',
url: 'rtsp://user:[email protected]:554/live/ch2',
absPosition:{
top: 1360,
right: 450,
bottom: 1600,
left: 76,
},
},
}
}
//edit: Maybe related?
YER_BIN "$@"
1|omx_stre | /usr/bin/omxplayer: line 67: 3690 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
1|omx_stre | /usr/bin/omxplayer: line 67: 1916 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
1|omx_stre | /usr/bin/omxplayer: line 67: 2330 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
1|omx_stre | /usr/bin/omxplayer: line 67: 2700 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
1|omx_stre | /usr/bin/omxplayer: line 67: 6312 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
//edit2:
I think it has to be a problem with a instable connection to the RTSP stream. If the source webcam is not available (connected via wireless) it crashes.
In my opinion the display of the stream should just continue if its working again instead of crashing and never coming back.
Will investigate further.
//edit3:
To check if its a problem with the stability of the rtsp stream I tried to change the URL to the RTSP url of the Synology Surveillance Station, which can also act as RTSP server. This does not work at all, also not via command line. omxplayer just quits with "have a nice day ;)".
Do you maybe have a Synology yourself to test this? (Right click on camera at Surveillance Station -> IP Cams to get RTSP url).
from mmm-rtspstream.
Related Issues (20)
- After the update the module does not work HOT 5
- Video positioning after turning off the screen from the PIR sensor HOT 2
- [Bug] Installation script TEST_STRING
- [Bug] Rotating cameras does not work with omxplayer HOT 2
- Cannot see full stream HOT 1
- ELIFECYCLE errno 7 after new install HOT 2
- [FEATURE REQUEST] Improve startup/restart behavior - less screen blinking HOT 1
- boarder issue HOT 2
- [Bug] After a random couple of ours the stream stops by itself. HOT 3
- [Bug] RTSP stream is not displayed only a white border HOT 4
- [Bug] VLC Black Screen with PM2 HOT 6
- [Bug] Identifier 'force_visible' is not in camel case HOT 1
- Unable to install
- Module doesn't rotate on vertical Screen HOT 2
- [Bug] rotateStreams not repeating HOT 1
- MMM-RTSPStream. Positioning HOT 1
- [Bug] MagicMirror not starting "Request" not found HOT 4
- /MMM-RTSPStream/config.html can't be reached - MM won't startup HOT 1
- [FEATURE REQUEST] enable vlc muting HOT 8
- Install auto script giving 404 error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-rtspstream.