Comments (9)
Forgot the ZoneMinder version, 1.36.33
from zmninja.
We have released 1.7.005 which should address this. Might take some time for it to appear on google play.
from zmninja.
from zmninja.
I've been having the same problem for at least a year. I have tried everything I could possibly think of. I can view live feed in zmninja but not events. The events show up with a thumbnail in the events screen but if I try to play one, it shows a dark gray image with a black play button and a cloud download icon and it never loads. I gave up trying to get help on the forums, no one there knows anything besides "idk works for me"
from zmninja.
I'm the only one even trying to make it work. It's slow going. Feel free to send a log dump here and I'll take a look.
from zmninja.
Here is my zmninja log. This is what happens when I try to play an event.
Feb 5, 2024 04:27:28:575 PM INFO Returning pre-loaded list of 1 monitors
Feb 5, 2024 04:27:28:718 PM INFO EventCtrl called with: E/MID=0 playEvent = false
Feb 5, 2024 04:27:28:724 PM INFO Image padding digits reported as 5
Feb 5, 2024 04:27:54:800 PM INFO Using stream mode single
Feb 5, 2024 04:27:55:007 PM INFO *** Constructed API for detailed events: http://192.168.1.94/zm/api/events/11877.json?
Feb 5, 2024 04:27:57:015 PM INFO >>>Starting checkAllEvents interval...
Feb 5, 2024 04:28:08:160 PM INFO file location:file:///data/user/0/com.pliablepixels.zmninja_pro/files/zmNinjaLog.txt
Feb 5, 2024 04:28:08:187 PM INFO EventModalCtrl: paused
Feb 5, 2024 04:28:08:187 PM INFO EventModalCtrl: paused
attached is a screenshot of what it looks like when this issue happens.
here is everything in my /var/log/zm directory.
zm_logs.zip
If there are any other logs or data you need to get a better idea of what's going on, please let me know. This issue started happening after I updated from Debian 11 to Debian 12 and I've been trying to fix it ever since.
from zmninja.
Note that the latest version of appimage also has this exact same problem for me.
from zmninja.
I think I found something. When I manually access the same api url hat zmninja tries to access from a browser, that url might be: http://192.168.1.22/zm/index.php?view=view_video&mode=mpeg&format=h264&eid=12666. Pasting that url into any browser will result in an unplayable video file and firefox says "no video with supported mime type found". However if I right click "save video as..." and download the video despite it being on a mime error screen, I can acttually play that file on my computer in vlc.
I don't know how to use ffmpeg to convert a video format to a different one with an acceptable mime type (or perhaps no mime, isn't mime a form of drm?) but if I figure that one out, I'll see if I can then manually convert it on the server and access the video from a browser then post the results.
Edit: I can now confirm that this bug is actually being caused by mime issues. Replacing the file "12666-video.hevc.mp4" at the location the video file is stored with a known working one that works when you try to view it in the browser will actually work when view in zmninja 1.7.006. I still have not figured out how to use ffmpeg to convert the original video into one without mime errors but if I do, I'll be able to hack up a script that unborks all the mime borked video files like once a day.
from zmninja.
I solved it. The problem was that my videos were being saved as h265 because my camera was set to pass-through and the camera was outputting h265 which seems to be less compatible with stuff than h264. I fixed this by going into the settings for that camera then going to "recording", the changing video writer from "pass through" to "encode". I then selected libx264 as the encoder and now it finally works.
from zmninja.
Related Issues (20)
- Auth is broken after server switch
- support android 12 HOT 12
- H265 support
- Support for self-signed certificate
- No notification option on Android 13 HOT 3
- FCM Notifications Fail to Send with "Message Count Exceeded" Error.
- no video output on app HOT 3
- H265+ play video
- Incorrect 'cgi-bin' path in settings HOT 1
- Android TV support
- Internal and external connections HOT 2
- Images not showing after installing last zmninja HOT 5
- Cannot save events or snapshots, permission not granted
- Camera Configuration (disable, enable, etc...) Fails within zmNinja Android Application.
- AppImage 1.7.6 from releases not working on debian desktop login validated but API failed - config is fine
- Problems with event playback at high resolutions on some Android devices HOT 2
- How to run on macOS/MacBook M3
- ZMNinja on Android no live video, working perfect on Windows HOT 5
- No longer able to see non-running monitors
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 zmninja.