Search found 7 matches

by mattpepin
Mon Mar 28, 2016 1:00 pm
Forum: ZoneMinder 1.29.x
Topic: Save h264 streams directly to disk without any processing
Replies: 8
Views: 7454

Re: Save h264 streams directly to disk without any processing

Yes. Maxfps has to be blank or else it doesn't work.
by mattpepin
Mon Mar 28, 2016 3:10 am
Forum: ZoneMinder 1.29.x
Topic: Save h264 streams directly to disk without any processing
Replies: 8
Views: 7454

Re: Save h264 streams directly to disk without any processing

Success! I'll clean up my patches and send a pull request.
by mattpepin
Sun Mar 27, 2016 1:13 pm
Forum: ZoneMinder 1.29.x
Topic: Save h264 streams directly to disk without any processing
Replies: 8
Views: 7454

Re: Save h264 streams directly to disk without any processing

Update: It almost works. No analysis is done and videos are saved. It only uses about 1-2% CPU. However, videos recorded this way are corrupt. They play fine and the duration is good, but only keyframes are shown properly. I can only see about the top third of other frames, the rest is blue.
by mattpepin
Sat Mar 26, 2016 3:00 pm
Forum: ZoneMinder 1.29.x
Topic: Save h264 streams directly to disk without any processing
Replies: 8
Views: 7454

Re: Save h264 streams directly to disk without any processing

OK, I did not succeed yet but here's what I tried before playing with the source code. First, I tried reducing maxfps. It reduced CPU usage but it caused my TCP streams to disconnect every 30s-1min30. I guess the TCP buffer was filling up. It doesn't happen when maxfps is empty. It worked but all my ...
by mattpepin
Sat Mar 26, 2016 2:48 am
Forum: ZoneMinder 1.29.x
Topic: Save h264 streams directly to disk without any processing
Replies: 8
Views: 7454

Re: Save h264 streams directly to disk without any processing

I'm playing with the source right now. I'm trying to figure out a simple way to disconnect the JPEG image generation. I'll report back.
by mattpepin
Fri Mar 25, 2016 5:38 pm
Forum: ZoneMinder 1.29.x
Topic: Save h264 streams directly to disk without any processing
Replies: 8
Views: 7454

Save h264 streams directly to disk without any processing

I'm using the latest git/feature-h264-videostorage version. If I use a ffmpeg camera and enable H264 passthrough recording and use a record monitor, each full-hd stream consumes about 50% CPU. If I save it myself using ffmpeg with this: ffmpeg -i rtsp://mycam -vcodec copy -acodec copy a.mp4 I get 1 ...