Git Product home page Git Product logo

Comments (5)

johnnyswindle avatar johnnyswindle commented on September 24, 2024

I also tested with the default video stream.....I get a blank square.

`
{
module: "MMM-RTSPStream",
position: "bottom_right",
config: {
autoStart: true,
rotateStreams: false,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: 'omxplayer',
remotePlayer: 'ffmpeg',
showSnapWhenPaused: false,
remoteSnaps: false,
stream1: {
name: 'Test',
url: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
frameRate: 'undefined',
width: undefined,
height: undefined,
},
}
},

`

from mmm-rtspstream.

shervin422 avatar shervin422 commented on September 24, 2024

I also have this issue :(

Any assistance would be greatly appreciated.

from mmm-rtspstream.

shbatm avatar shbatm commented on September 24, 2024

You have remote playback enabled without specifying a web socket port for it. Please try the following and let me know if it works:

Option 1: Disable remote playback by changing remotePlayer: 'ffmpeg', to remotePlayer: 'none'.

Option 2: If you need remote playback (ability to view the stream on a screen not directly attached to the RPi), add a ffmpegPort: 9999 (or some other random port) to your stream config.

from mmm-rtspstream.

johnnyswindle avatar johnnyswindle commented on September 24, 2024

Thank you for the advice. Option 1 worked. Now I just need to figure out how to align the image inside the box. Do I use moduleOffset or absPosition? If moduleOffset is used, to move it right is the number postive or negative? If moduleOffset is used, to move down is it a positive or negative?

To use absPosition will be a big challenge.

Thanks for your patience and for this module

20180425_210839

from mmm-rtspstream.

shbatm avatar shbatm commented on September 24, 2024

For moduleOffset, down and right are positive (IIRC). You can use either; absPosition works better if you have other modules that change size and it's moving the video window or if you use zoom on your mirror config which causes confusion between coordinate systems.

For absPosition, look at your MM log and it should spit out the the position omxplayer is drawing the video, use that as your starting point and adjust from there.

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.