Search found 15 matches

by kristoffer
Wed Apr 09, 2014 12:17 pm
Forum: User Contributions
Topic: Stream mpeg/h264/avi; whatever you'd like from ZM
Replies: 0
Views: 2653

Stream mpeg/h264/avi; whatever you'd like from ZM

Someone directed me to a feature of ZM that i think is cool, streaming video through FFmpeg so that the format can be mpeg, avi or whatever FFmpeg handles. Personally i want to use it to avoid streaming mjpeg since that takes alot of bandwidth. It didn't work for me though; zms process just crashed....
by kristoffer
Thu Apr 03, 2014 4:30 pm
Forum: ZoneMinder 1.26.x
Topic: HELP!! Tried to Change to a different skin
Replies: 1
Views: 933

Re: HELP!! Tried to Change to a different skin

try adding ?skin=classic to your url like:
https://<hostname>/zm/index.php?skin=classic
by kristoffer
Wed Apr 02, 2014 8:04 am
Forum: Feature Requests
Topic: Limit motion detect FPS
Replies: 7
Views: 3597

Re: Limit motion detect FPS

thanks, But wouldn't i limit the recorded FPS too? To elaborate abit; i use Mocord mode for a few cameras. All cameras record at 5FPS constantly; both in alarmed state and normal. I want to keep recording videos at 5FPS, so that when i watch them they at least reminds me of a video :) But imo; the m...
by kristoffer
Tue Apr 01, 2014 4:51 pm
Forum: User Contributions
Topic: FFMPEG stability fixes. (video going red, "red-screen")
Replies: 7
Views: 4123

Re: FFMPEG stability fixes. (video going red, "red-screen")

That guide would install a pre-compiled package, so yes you'd need to uninstall that. If you value your existing videos, i'd recommend you to setup a test-environment to begin with. http://www.zoneminder.com/wiki/index.php/Documentation#Building describes how to compile zoneminder; however, to me th...
by kristoffer
Tue Apr 01, 2014 3:56 pm
Forum: User Contributions
Topic: FFMPEG stability fixes. (video going red, "red-screen")
Replies: 7
Views: 4123

Re: FFMPEG stability fixes. (video going red, "red-screen")

The patch is intended to modify the source-code of ZoneMinder.

Did you download the source of ZoneMinder and compiled it yourself, or did you install some package?
by kristoffer
Tue Apr 01, 2014 9:12 am
Forum: Feature Requests
Topic: Limit motion detect FPS
Replies: 7
Views: 3597

Limit motion detect FPS

IMO my server is chewing a bit much CPU. This seems to be mostly because of motion-detection.
Is there perhaps a way to limit the motion detection to only process 1 FPS; even though i still want to record at 5FPS?
by kristoffer
Fri Mar 21, 2014 9:00 am
Forum: User Contributions
Topic: FFMPEG stability fixes. (video going red, "red-screen")
Replies: 7
Views: 4123

Re: FFMPEG stability fixes. (video going red, "red-screen")

I've been thinking that. Thanks for the startup pointers.
by kristoffer
Fri Mar 21, 2014 8:58 am
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 12359

Re: New problem - camera goes red

Good to hear it worked for you too. The av_err2str functions is probably a ffmpeg 2 thing then. I'm using ffmpeg 2. It was really easy to install on my CentOS using the guide at http://tecadmin.net/install-ffmpeg-on-linux/ The reason i installed ffmpeg 2 was that i hoped that ffmpeg was the cause of...
by kristoffer
Wed Mar 19, 2014 6:25 pm
Forum: ZoneMinder 1.26.x
Topic: New problem - camera goes red
Replies: 45
Views: 12359

Re: New problem - camera goes red

I've been having some stability issues with ffmpeg reading rtsp streams; seems to be similar problems as other ppl in this thread.
I've posted my way of fixing it at http://www.zoneminder.com/forums/viewto ... =9&t=22024
by kristoffer
Wed Mar 19, 2014 6:19 pm
Forum: User Contributions
Topic: RTSP stream reaching EOF
Replies: 4
Views: 4132

Re: RTSP stream reaching EOF

To anyone reading this topic and is having similar issues, i made a new thread at http://www.zoneminder.com/forums/viewto ... =9&t=22024 which includes the fix in this topic, and also fixes a few other ffmpeg-issues.
by kristoffer
Wed Mar 19, 2014 6:18 pm
Forum: User Contributions
Topic: FFMPEG stability fixes. (video going red, "red-screen")
Replies: 7
Views: 4123

FFMPEG stability fixes. (video going red, "red-screen")

I'm using FFMPEG to stream video from a IP-camera to ZoneMinder using rtsp. I had issues with this; screen is going red at random times. It also goes red if i restart my camera. And it stays red. Forever (even though i didn't verify that :D) At first i changed the code to just exit the capture daemo...
by kristoffer
Tue Mar 11, 2014 3:39 pm
Forum: User Contributions
Topic: RTSP stream reaching EOF
Replies: 4
Views: 4132

Re: RTSP stream reaching EOF

After testing the code for a few days, it seems my camera now survives red-screens. I'm still having issues when restarting the camera, but I'll debug that in another thread. The finished code became int avResult = av_read_frame( mFormatContext, &packet ); if ( avResult < 0 ) { if (avResult == AVERR...
by kristoffer
Fri Mar 07, 2014 12:47 pm
Forum: User Contributions
Topic: RTSP stream reaching EOF
Replies: 4
Views: 4132

Re: RTSP stream reaching EOF

So i checked my logs, and it seems I've had some "red-screens" this morning. The difference today is that the video didn't go red! the zmc daemon quitted itself with the "Current stream reached EOF." message, and afterwards its restarted by zmdc. So my fix above seems to work for short interruptions...
by kristoffer
Fri Mar 07, 2014 10:29 am
Forum: User Contributions
Topic: RTSP stream reaching EOF
Replies: 4
Views: 4132

Re: RTSP stream reaching EOF

While waiting for the EOF to happen again i thought i'd see what happens if i restart the camera. The new code did trigger; the log showed "Current stream reached EOF.", and the process exited, and a new process was started. However i never got the video back, so the above codechange is not enough t...
by kristoffer
Thu Mar 06, 2014 5:46 pm
Forum: User Contributions
Topic: RTSP stream reaching EOF
Replies: 4
Views: 4132

RTSP stream reaching EOF

Hello, I wish to report a bug. One of the my cameras i use (a Qihan IP-101) supports only streaming video over RTSP. To get that up and running in ZoneMinder i use the "ffmpeg" source-type. A few times a day the image go red, and it does not come back until i either restart zoneminder, or deactivate...