How to compile with vlc support?
How to compile with vlc support?
I did
# apt-get install libVLC5
# cmake -C zm_conf.cmake -DENABLE_MMAP=yes .
Returns -- Optional libraries not found: cURL libVLC
# apt-get install libVLC5
# cmake -C zm_conf.cmake -DENABLE_MMAP=yes .
Returns -- Optional libraries not found: cURL libVLC
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: How to compile with vlc support?
VLC source type support is enabled by default, as long as you have the dependencies needed for it (libvlc-dev)
You are probably missing a dev package, try libvlc5-dev or libvlc5-devel
And -DENABLE_MMAP=yes is a workaround that is not required anymore since v1.26.5.
You are probably missing a dev package, try libvlc5-dev or libvlc5-devel
And -DENABLE_MMAP=yes is a workaround that is not required anymore since v1.26.5.
Kfir Itzhak.
Re: How to compile with vlc support?
Thanks. I couldn't find any libvlc5-dev or libvlc5-devel, but I found libvlc-dev, and it compiled with that.
Unfortunately, the channel doesn't start up. This is the error from the log:
2014-03-05 17:49:15.460351 zmc_m8 1070 FAT Unable to create libvlc instance due to: (null) /usr/local/src/zoneminder/src/zm_libvlc_camera.cpp 143
Unfortunately, the channel doesn't start up. This is the error from the log:
2014-03-05 17:49:15.460351 zmc_m8 1070 FAT Unable to create libvlc instance due to: (null) /usr/local/src/zoneminder/src/zm_libvlc_camera.cpp 143
Re: How to compile with vlc support?
Hi,
Same error ( FAT [Unable to create libvlc instance due to: (null)]) in Ubuntu 12.04 and ZM1.27. Monitor in mmpeg works, same camera trying to get a rstp using vlc fails.
Any clue?
PacoLM
Same error ( FAT [Unable to create libvlc instance due to: (null)]) in Ubuntu 12.04 and ZM1.27. Monitor in mmpeg works, same camera trying to get a rstp using vlc fails.
Any clue?
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: How to compile with vlc support?
I was finally able to find all the dependencies for vlc here:
# apt-get install libvlc-dev libvlc5 libvlccore-dev libvlccore5 vlc-data vlc
Then I was able to get the vlc channels up.
However, they lockup after a few hours. So I'm back to ffmpeg.
Let me know if you have better luck.
# apt-get install libvlc-dev libvlc5 libvlccore-dev libvlccore5 vlc-data vlc
Then I was able to get the vlc channels up.
However, they lockup after a few hours. So I'm back to ffmpeg.
Let me know if you have better luck.
Re: How to compile with vlc support?
Hi,
The camera now works in VLC mode. I will post results.
Thanks,
PacoLM
The camera now works in VLC mode. I will post results.
Thanks,
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: How to compile with vlc support?
Hi Basil,
In my ZM test system with Ubuntu Precise, only with one monitor working in vlc mode, tt worked fine for more than one day.
PacoLM
In my ZM test system with Ubuntu Precise, only with one monitor working in vlc mode, tt worked fine for more than one day.
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: How to compile with vlc support?
There could be many differences in our setups.
For example, what bitrate, fps and resolution do you run the camera?
For example, what bitrate, fps and resolution do you run the camera?
Re: How to compile with vlc support?
Config of my camera:
FPS:30 FPS
Resolution: 640x368
Bitrate: should be 640x386x30, isn't it?
PacoLM
FPS:30 FPS
Resolution: 640x368
Bitrate: should be 640x386x30, isn't it?
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: How to compile with vlc support?
On mine I configure the overall bitrate on the control panel of the camera.
I'm sending 1280x960, 32 bit color, 4,096 kbps, 20 fps, CBR, I-frame interval of 80.
I shutdown and reset after failures 3 times to make sure it wasn't fluke. It just keeps failing. And fails on multiple cameras.
FFMPEG is working, although it smears up a few times a day. I haven't tried bringing the resolution down, I could try it for a test, but I can't leave it that way. I actually need more res for security uses.
I'm sending 1280x960, 32 bit color, 4,096 kbps, 20 fps, CBR, I-frame interval of 80.
I shutdown and reset after failures 3 times to make sure it wasn't fluke. It just keeps failing. And fails on multiple cameras.
FFMPEG is working, although it smears up a few times a day. I haven't tried bringing the resolution down, I could try it for a test, but I can't leave it that way. I actually need more res for security uses.
Re: How to compile with vlc support?
I have to lower down the resolution due to the quality of the cable, is not a CAT6, I have a regular cable. When I was setting up the system, I tried with a shorter CAT6 cable and also worked for hours.
Hope it helps,
Thanks,
PacoLM
Hope it helps,
Thanks,
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: How to compile with vlc support?
OK, now you have my curiosity. I'm going to take a channel and set it down to 640x360 for tonight and see what happens.
However, I am running 5e cable, and I test them, and they are on a layer II switch with QOS giving priority to video and VoIP... I don't think it's the cable.
However, I am running 5e cable, and I test them, and they are on a layer II switch with QOS giving priority to video and VoIP... I don't think it's the cable.
Re: How to compile with vlc support?
After a couple of days of running 3 HD cameras on vlc, 1 of them has locked up twice, while 2 seemed to run ok.
Unfortunately zm doesn't seem to know the camera freezes and takes no action, so the image is stuck all day until I catch it and restart the channel.
I can't live with that so I'm back on ffmpeg again.
Unfortunately zm doesn't seem to know the camera freezes and takes no action, so the image is stuck all day until I catch it and restart the channel.
I can't live with that so I'm back on ffmpeg again.