Comments (7)
Please provide a copy of the module config that you used. Also, have you confirmed ffmpeg has been installed and have run npm install
inside the module's directory?
from mmm-rtspstream.
{
module: 'MMM-RTSPStream',
position: 'middle_center',
config: {
autoStart: true,
rotateStreams: false,
rotateStreamTimeout: 10,
showSnapWhenPaused: false,
moduleWidth: 354,
moduleHeight: 240,
player: 'ffmpeg',
stream1: {
name: 'Front Door',
url: 'http://192.168.1.177:65520/videostream.asf?user=mirror&pwd=mirroradmin&resolution=64&rate=0',
snapshotUrl: '',
snapshotRefresh: 10, // Seconds
frameRate: "30",
port: 9999,
}
}
},
above is the config that im using. Ive got it now to where the default stream will work but when i change it to mine i just get a gray box in the middle of the screen, even though the feed works in VLC.
from mmm-rtspstream.
Unfortunately I have not yet tested this with an http://
protocol. It's on my TO-DO list, but I don't have one to test with. What model camera are you trying to connect to?
- You can try adding
protocol: "udp",
in the stream1 config section to test if itsudp
and nottcp
. - Are you getting any errors in the console / pm2 logs? Add
hideFfmpegOutput: false
afterport: 9999,
to get theffmpeg
errors to appear in the MM2 logs - Can you access the stream directly using a webpage? Have you confirmed if you need a plugin to play the video? If no plugin is required, you could try and use the MMM-iFrame module for now until I add direct streaming capabilities to the module.
- You can try playing with the
ffmpeg
command line arguments yourself and see if you get any errors. The default is:
ffmpeg -rtsp_transport tcp -r 30 -i {{YOUR URL}} -f mpegts -codec:v mpeg1video -bf 0 -
- If you're willing to do some experimentation you can install the
dev
branch which usesomxplayer
for the local screen (no video will be accessible from a browser on another computer, but it uses the GPU so it will run much faster). More details in this thread. To
cd ~/MagicMirror/modules/MMM-RTSPStream
git checkout wip
# Update node modules
npm install
from mmm-rtspstream.
I have the same problem (blank window in position middle_enter) but with rtsp. The stram works (see config), tested with Ispy and VLC. So Portforwarding, Firewall etc must be ok
Here is my config:
config: {
autoStart: true,
rotateStreams: false,
rotateStreamTimeout: 10,
showSnapWhenPaused: false,
moduleWidth: 354,
moduleHeight: 240,
stream1: {
name: 'DLinkStream',
url: 'rtsp://xxxx:[email protected]:554/play1.sdp',
snapshotUrl: '',
snapshotRefresh: 0, // Seconds
frameRate: "30",
port: 9999,
}
}
from mmm-rtspstream.
Solved the problem now: I had to change the port from 8088 to 8099...
from mmm-rtspstream.
@psteimann which port? I'm having the same issue...
from mmm-rtspstream.
The Port in the config.js on the top of the file. I had an error starting MM concerning the port while starting it in the shell with npi start magic mirror..check out first if you get errors.
if it still does not work: I also installed the master branch, described in another issue here, used another player as suggested and corrected the position...
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
- 2 Amcrest Cameras, only one works HOT 3
- [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.