no h264 passthrough written, images captured
Posted: Thu Mar 22, 2018 9:40 pm
I am running zoneminder 1.31.1~20180 installed by package from iconnor-zoneminder-master installed on ubuntu 16.04.4 in virtual machine on a dell r710 server.
I have 2 hikvision DS-2CD2042WD-I doing modect at 1920x1080 6fps.
I have them sourced as libvlc with rtsp://admin:redacted@redacted:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1 ( came from onvif live view on a windows box )
Filesystem Size Used Avail Use% Mounted on
udev 46G 0 46G 0% /dev
tmpfs 9.1G 8.7M 9.0G 1% /run
/dev/vda1 46G 6.7G 37G 16% /
tmpfs 46G 5.8G 40G 13% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 46G 0 46G 0% /sys/fs/cgroup
tmpfs 9.1G 0 9.1G 0% /run/user/1000
total used free shared buff/cache available
Mem: 90G 1.6G 81G 5.8G 6.6G 82G
Swap: 4.0G 0B 4.0G
10 cpu cores
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Westmere E56xx/L56xx/X56xx (Nehalem-C)
stepping : 1
microcode : 0x1
cpu MHz : 2660.000
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc rep_good nopl pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm retpoline kaiser
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 5320.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Everything is working pretty well, box load stays around 1.5 with 2 cameras. I would like to however record the h264 passthrough video instead of just the jpg stills for alarmed events so I enabled the h264 storage option
I enabled the option and now whenever I go to any events captured by that camera i'm presented with a black screen that says 'The video could not be loaded, either because the server or noetwork failed or because the format is not supported'
If i click into the frames or stills i can see those are fine
attempting to download mp4 results in a 404
going to my hard disk I look for any mp4/avi files in the events directory, and there are none only jpgs
so it seems the database thinks a file exists, but no file exists, and i cannot see any errors in the log output even with debuglog turned on that pertain.
If i switch to x264 encoding, i get video files but they are horribly broken stuttery and the captured jpg assemblage is far superior.
Is there any way to get this h264 passthrough working? the camera already outputs h264 so it seems stupid to waste cpu cycles re-encoding it.
I have 2 hikvision DS-2CD2042WD-I doing modect at 1920x1080 6fps.
I have them sourced as libvlc with rtsp://admin:redacted@redacted:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1 ( came from onvif live view on a windows box )
Filesystem Size Used Avail Use% Mounted on
udev 46G 0 46G 0% /dev
tmpfs 9.1G 8.7M 9.0G 1% /run
/dev/vda1 46G 6.7G 37G 16% /
tmpfs 46G 5.8G 40G 13% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 46G 0 46G 0% /sys/fs/cgroup
tmpfs 9.1G 0 9.1G 0% /run/user/1000
total used free shared buff/cache available
Mem: 90G 1.6G 81G 5.8G 6.6G 82G
Swap: 4.0G 0B 4.0G
10 cpu cores
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Westmere E56xx/L56xx/X56xx (Nehalem-C)
stepping : 1
microcode : 0x1
cpu MHz : 2660.000
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc rep_good nopl pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm retpoline kaiser
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 5320.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Everything is working pretty well, box load stays around 1.5 with 2 cameras. I would like to however record the h264 passthrough video instead of just the jpg stills for alarmed events so I enabled the h264 storage option
I enabled the option and now whenever I go to any events captured by that camera i'm presented with a black screen that says 'The video could not be loaded, either because the server or noetwork failed or because the format is not supported'
If i click into the frames or stills i can see those are fine
attempting to download mp4 results in a 404
going to my hard disk I look for any mp4/avi files in the events directory, and there are none only jpgs
so it seems the database thinks a file exists, but no file exists, and i cannot see any errors in the log output even with debuglog turned on that pertain.
If i switch to x264 encoding, i get video files but they are horribly broken stuttery and the captured jpg assemblage is far superior.
Is there any way to get this h264 passthrough working? the camera already outputs h264 so it seems stupid to waste cpu cycles re-encoding it.