Closed pliablepixels closed 9 years ago
@liucougar -- the live view for monitor 2 in ZM produces this
<img id="liveStream" src="http://<yourip>/cgi-bin/nph-zms?mode=jpeg&monitor=2&scale=100&maxfps=5&buffer=1000&connkey=471868&rand=1446368423" alt="Monitor-2_nojpeg" width="352" height="288">
Why is ZM still using jpeg mode in nph-zms and image tags? Should this not be a video feed?
@liucougar, looks like chrome cannot play the videos created by ZM For example:
http://<yourip>/zm/events/2/15/11/01/01/54/03/754-video.mp4
Safari can play the above
Chrome however has no problem with
http://static.videogular.com/assets/videos/videogular.mp4
It seems chrome does not allow H264 encoded mp4 playback, at least encoded in specific 264 profiles - any thoughts?
An easy test would be to simply try and access the raw mp4 link from chrome and get to an encoding format that works with it
well, as it turns our it does work on Chrome/ubuntu. Maybe a mac/Chrome issue then
On further testing with Steve G. it looks like the problem is only with the videos in your instance. His videos play just fine on OS X/Chrome too - can you check if any changes you made broke anything?
closing this issue so I can add it to auto changelog for 0.85 tag. Please create a new issue for video support.
live view in the branch is still using the old way (so it loads jpegs too)
i tried FF/IE/chrome under windows 7, and the video loads fine for me. this also works fine in my chrome under linux.
I think the problem you are seeing in mac/chrome is not within zoneminder itself, it's either caused by ffmpeg version (I have 2.5.8), or the camera (my camera is hikvision)
working with @liucougar