Search found 39 matches

by cmisip
Sun May 14, 2017 9:20 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

I have been trying to max out this RPI3. I have found out that I was probably already using libturbojpeg. I was able to build a libturbojpeg 1.5.1 package and it resulted in the following debs: ii libjpeg-dev 1:1.5.1-12 all Development files for the JPEG library [dummy package] ii libjpeg-turbo-prog...
by cmisip
Sat May 13, 2017 2:50 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

Was able to compile the latest source from 5-12-17 with neon optimizations. I added the h264_mmal line as well. I redid the cpu testing for the original unmodified zoneminder and ffmpeg from the repo using pidstat cause the numbers were jumping around a bit for the neon optimized version. I think al...
by cmisip
Fri May 12, 2017 1:44 am
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

I'm really new to this. What is the procedure to download the source from git with the neon optimizations? I have just been downloading the latest source and then downloading each modifed file. I was able to build a package again, just incorporating the latest change to zm_image.cpp. I will run it f...
by cmisip
Wed May 10, 2017 8:09 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

I realized the latest source did not have the neon optimizations. I downloaded the modified files and was able to successfully build a package. However, it does not run. I am getting these errors in the log: zmc_m4[16777]: PNC [Delta grayscale function failed self-test: Results differ from the expec...
by cmisip
Tue May 09, 2017 6:32 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

Well, after running for 6 hours, I got the following from top: 1886 www-data 20 0 187460 47604 44112 R 25.5 5.4 0:18.84 zma 1857 www-data 20 0 187444 47516 44032 S 22.5 5.4 0:16.59 zma 1879 www-data 20 0 225708 56512 48636 S 11.6 6.4 0:09.41 zmc 1850 www-data 20 0 225824 56696 48620 S 11.3 6.4 0:09....
by cmisip
Tue May 09, 2017 11:43 am
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

Compiled the latest source with neon optimizations. zmc' with further reduced cpu utilization and also zma. By the way, this is with sv3c cameras using rtsp feed of 640x360. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17083 www-data 20 0 187460 47400 43908 S 16.2 5.4 0:18.61 zma 17043 www-...
by cmisip
Sat May 06, 2017 9:54 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

I added the fallback to h264 software decoding if h264_mmal is busy. I got the following results with top: With software decoding only for 2 cameras: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 32339 www-data 20 0 186412 47100 43688 S 25.2 5.3 0:56.73 zma 32291 www-data 20 0 189772 53600 4...
by cmisip
Tue May 02, 2017 2:45 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Re: Raspberry pi3 and h264_mmal

Seems to be working. It cut zmc's cpu utilization by 50%. My test system is single camera with h264 so dont have to worry about competing zmc processes for one pipeline. I am running raspbian with the following specs: pi@raspberrypi:/mnt/DISK1/build/zm/mmal $ dpkg -l | grep ffmpeg ii ffmpeg 7:3.2.4-...
by cmisip
Sun Apr 30, 2017 10:32 pm
Forum: ZoneMinder 1.29.x
Topic: Raspberry pi3 and h264_mmal
Replies: 60
Views: 82590

Raspberry pi3 and h264_mmal

Is there any benefit to using h264_mmal ( the hardware accelerated codec for H264 decoding in the RPI ). The latest ffmpeg libavcodec has support for this codec along with h264_omx (h264 hardware encoder codec). There is only one pipeline though, so only one of the zmc processes could use the codec ...