Git Product home page Git Product logo

Comments (3)

shbatm avatar shbatm commented on September 24, 2024

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.

shbatm avatar shbatm commented on September 24, 2024

This should now be fixed after 442e471 and using PM2 to run OMXPlayer with auto-restart. Please re-open if necessary.

from mmm-rtspstream.

DanielWeeber avatar DanielWeeber commented on September 24, 2024

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}" $OMXPLAYER_BIN "$@"
1|omx_stre | /usr/bin/omxplayer: line 67: 1916 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
1|omx_stre | /usr/bin/omxplayer: line 67: 2330 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
1|omx_stre | /usr/bin/omxplayer: line 67: 2700 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
1|omx_stre | /usr/bin/omxplayer: line 67: 6312 Terminated LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"

//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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.