Hi, I tried to add new monitor which is Axis M3204. But failed.
Does anyone know how to add this type camera?
I have try this, but not work:
Remote protocol: RTSP
Remote method: RTP/RTSP
Remote host name: <userID>:<password>@<ip>
Remote host port: 554
Remote host path: /axis-media/media.amp
I have also tried HTTP configuration, neither can work.
Remote protocol: HTTP
Remote method: simple
Remote host name: <userID>:<password>@<ip>
Remote host port: 80
Remote host path: /axis-cgi/mjpg/video.cgi or [ /view/viewer_index.shtml ]
Thanks!
How to add camera "Axis M3204"
-
- Posts: 4
- Joined: Thu Oct 21, 2010 9:37 am
Can you stream to VLC using ffmpeg like follow:
Where asf is the output format, 25 is the framerate and 150000 is the bitrate.
If that works, then ZoneMinder capturing is also supposed to work.
Did you compile ZoneMinder and FFmpeg from source? It could be that your ZM doesn't have FFmpeg support, which would be strange.
BTW: what distro & version of ZM are you using?
Code: Select all
ffmpeg -i rtsp://root:password@192.168.0.199:554/axis-media/media.amp -f asf -r 25 -b 150000 - | vlc -
If that works, then ZoneMinder capturing is also supposed to work.
Did you compile ZoneMinder and FFmpeg from source? It could be that your ZM doesn't have FFmpeg support, which would be strange.
BTW: what distro & version of ZM are you using?
-
- Posts: 4
- Joined: Thu Oct 21, 2010 9:37 am
No, I can't view video through the code you write.
It shows
[NULL @ 0x8c4ba10]non-existing PPS referenced
[H264 @ 0x8c4ba10]non-existing PPS referenced
The VLC popped up, but no video.
I use Ubuntu 10.04, zm 1.24.2, build from source.
configure --with-webdir=/var/www/zm --with-cgidir=/var/www/cig-bin --with-webuser=atv --with-webgroup=atv ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=atv ZM_DB_PASS=password
I have ffmpeg also.
It shows
[NULL @ 0x8c4ba10]non-existing PPS referenced
[H264 @ 0x8c4ba10]non-existing PPS referenced
The VLC popped up, but no video.
I use Ubuntu 10.04, zm 1.24.2, build from source.
configure --with-webdir=/var/www/zm --with-cgidir=/var/www/cig-bin --with-webuser=atv --with-webgroup=atv ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=atv ZM_DB_PASS=password
I have ffmpeg also.
Just take note that the default Ubuntu installation wiki's does not show you how to compile x264 support with FFmpeg!
I'd reckon that this is your problem here: that your FFmpeg doesn't have libx264 support.
This thread might be helpful: http://ubuntuforums.org/showthread.php?t=786095
I've also posted in that thread on how to compile it on Ubuntu 10.10 x64: http://ubuntuforums.org/showpost.php?p= ... count=1356
I'd reckon that this is your problem here: that your FFmpeg doesn't have libx264 support.
This thread might be helpful: http://ubuntuforums.org/showthread.php?t=786095
I've also posted in that thread on how to compile it on Ubuntu 10.10 x64: http://ubuntuforums.org/showpost.php?p= ... count=1356
This user contribution topic might also be worth looking at: Matroska (.mkv) Event Storage + Axis RTSP/H264 fixes
-
- Posts: 4
- Joined: Thu Oct 21, 2010 9:37 am