Page 1 of 1

Trouble with h.264 on high-end axis camera

Posted: Sat Jun 05, 2010 12:12 am
by thadwooster
I have an axis p3344, I'm able to use it with mjpeg with ZM just fine. I also have several axis 207MWs which I am able to use RTSP/RTP with MPEG4 with no problem. If I try to use the p3344 with RTSP it fails with the following errors over and over:

Code: Select all

Jun  4 17:09:36 zmdc[5600]: INF ['zmc -m 7' starting at 10/06/04 17:09:36, pid = 11674]
Jun  4 17:09:36 zmdc[11674]: INF ['zmc -m 7' started at 10/06/04 17:09:36]
Jun  4 17:09:36 zmc_m7[11674]: INF [Debug Level = 0, Debug Log = <none>]
Jun  4 17:09:36 zmdc[5600]: INF ['zmc -m 7' crashed, signal 6]
Jun  4 17:09:36 zmdc[5600]: INF ['zma -m 7' starting at 10/06/04 17:09:36, pid = 11678]
Jun  4 17:09:36 zmdc[11678]: INF ['zma -m 7' started at 10/06/04 17:09:36]
I've tried compiling ZM with the latest ffmpeg and libx264 from git, my current error output is:

Code: Select all

Jun  6 15:06:19 zmc_m7[13962]: ERR [Error while decoding frame 0]
Jun  6 15:06:19 zmc_m7[13962]: ERR [256: 5c 81 9b a0 1a 02 3a 90 3a 4b b7 e5 0e 04 b5 ef 7c 6c 27 5f af 19 1f 5e ff 5f 8f f5 5f aa e4 0a 04 b7 d6 4c e2 02 22 b5 aa fc 59 02 35 5a d2 c9 9f b1 22 6a ab 5f 89 1a 2b 7e be 14 18 22 f7 75 fc 85 df c6 94 b5 f8 4e 5c 5e b8 4a 12 d7 bd ac 20 1d 09 6b ef c4 86 07 56 bb f5 ae 24 8f 7f 0e 94 67 7d fa f5 ae 1c 0c 04 7c dd 3f b7 ca 06 17 5e bc 0b 03 34 bd 77 bd 5f 84 02 25 df c7 87 9d af 90 78 8a ea aa bd 8d 09 fa 4f f1 84 1f 7f 5d 64 ce 34 a4 f5 c6 31 7d ba 6d f8 d4 3b d3 5e b5 f8 4e eb 8b d7 8c 15 ce 7e 72 8a af 7b 7c 2a 1a 1f ea bd fe 12 05 e1 2b 6a bd fc 14 04 bd 71 75 c8 08 47 57 bb 7d 55 66 ff ff 41 3d f5 fe 26 93 fd fc 67 a7 7f be bd 05 05 75 5d 5f 61 51 1d 7d 72 0b 13 6b 5a f9 45 0c 9b fe fe ef 6b 8c 20 ed 7d f7 2f 7f c6 94 76 fb df d7 1a 13 11 ed 3d a5]
I believe this problem is because the cheaper axis cameras use MPEG4 whereas the p3344 uses h.264. In another post on the forums someone had suggested compiling ffmpeg with libx264, which I did. I rebuilt ffmpeg and zoneminder with libx264 support and it has had no effect.
I've been unable to use RTSP with the axis p3344 both in 32-bit and 64-bit debian with ZM 1.24.2. If anyone knows how to get ZM to work with h.264 I'd love to hear how.

Thanks!

Re: Trouble with h.264 on high-end axis camera

Posted: Sat Mar 12, 2011 3:43 pm
by barchia64
thadwooster wrote:I have an axis p3344, I'm able to use it with mjpeg with ZM just fine. I also have several axis
cut!

Code: Select all

Jun  6 15:06:19 zmc_m7[13962]: ERR [Error while decoding frame 0]
Jun  6 15:06:19 zmc_m7[13962]: ERR [256: 5c 81 9b a0 1a 02 3a 90 3a 4b b7 e5 0e 04 b5 ef 7c 6c 27 5f af 19 1f 5e ff 5f 8f f5 5f aa e4 0a 04 b7 d6 4c e2 02 22 b5 aa fc 59 02 35 5a d2 c9 9f b1 22 6a ab 5f 89 1a 2b 7e be 14 18 22 f7 75 fc 85 df c6 94 b5 f8 4e 5c 5e b8 4a 12 d7 bd ac 20 1d 09 6b ef c4 86 07 56 bb f5 ae 24 8f 7f 0e 94 67 7d fa f5 ae 1c 0c 04 7c dd 3f b7 ca 06 17 5e bc 0b 03 34 bd 77 bd 5f 84 02 25 df c7 87 9d af 90 78 8a ea aa bd 8d 09 fa 4f f1 84 1f 7f 5d 64 ce 34 a4 f5 c6 31 7d ba 6d f8 d4 3b d3 5e b5 f8 4e eb 8b d7 8c 15 ce 7e 72 8a af 7b 7c 2a 1a 1f ea bd fe 12 05 e1 2b 6a bd fc 14 04 bd 71 75 c8 08 47 57 bb 7d 55 66 ff ff 41 3d f5 fe 26 93 fd fc 67 a7 7f be bd 05 05 75 5d 5f 61 51 1d 7d 72 0b 13 6b 5a f9 45 0c 9b fe fe ef 6b 8c 20 ed 7d f7 2f 7f c6 94 76 fb df d7 1a 13 11 ed 3d a5]
I believe this problem is because the cheaper axis cameras use MPEG4 whereas the p3344 uses h.264. In another post on the forums someone had suggested compiling ffmpeg with libx264, which I did. I rebuilt ffmpeg and zoneminder with libx264 support and it has had no effect.
I've been unable to use RTSP with the axis p3344 both in 32-bit and 64-bit debian with ZM 1.24.2. If anyone knows how to get ZM to work with h.264 I'd love to hear how.

Thanks!
I "thadwooster" !

I've the same your problem... on a Axis M1054, and I hoped that should find a reply with a solution.. but I don't find any. perhaps did you solved it?

Thanks