shinobi master and dev aren't able to get input from jpeg cameras
@moeiscool tried to fix this for me in dev (thanks) , but even with his fix in dev, it still does not work for me.
I can't get simple jpeg pull cameras to work, even though they work with zoneminder. I can simply paste the URL from shinobi settings in a brower and see the jpeg, but when I setup shinobi as jpeg source, and the right URL, I get nothing.
For both cameras, I just went to "Full URL Path The full Stream URL.", took the URL in there, pasted in a browser tab and I get a snapshot.
here is an ID on both if that helps:
sauron:/tmp$ identify snapshot.jpg CGIProxy.jpeg
snapshot.jpg JPEG 1280x960 1280x960+0+0 8-bit sRGB 230686B 0.000u 0:00.000
CGIProxy.jpeg JPEG 1920x1080 1920x1080+0+0 8-bit sRGB 143060B 0.000u 0:00.000
gargamel:/home/Shinobi# git branch
* dev
master
gargamel:/home/Shinobi# git pull
Already up-to-date.
gargamel:/home/Shinobi# git log | head -11 | tail -3
Date: Thu Jun 18 00:51:06 2020 -0700
JPEG Input Type capture from Camera Thread (Fix JPEG Input Stream)
and probe works:
Complete Stream URL
streams :
0 :
index : 0
codec_name : mjpeg
codec_long_name : Motion JPEG
profile : Baseline
codec_type : video
codec_time_base : 0/1
codec_tag_string : [0][0][0][0]
codec_tag : 0x0000
width : 1280
height : 960
coded_width : 1280
coded_height : 960
has_b_frames : 0
pix_fmt : yuvj422p
level : -99
color_range : pc
color_space : bt470bg
chroma_location : center
refs : 1
r_frame_rate : 25/1
avg_frame_rate : 0/0
time_base : 1/25
start_pts : 0
start_time : 0.000000
duration_ts : 1
duration : 0.040000
bits_per_raw_sample : 8
disposition :
default : 0
dub : 0
original : 0
comment : 0
lyrics : 0
karaoke : 0
forced : 0
hearing_impaired : 0
visual_impaired : 0
clean_effects : 0
attached_pic : 0
timed_thumbnails : 0
format :
nb_streams : 1
nb_programs : 0
format_name : image2
format_long_name : image2 sequence
start_time : 0.000000
duration : 0.040000
size : 254670
bit_rate : 50934000
probe_score : 50
END
but the camera does not
LTH8DDcbtP : edimax3115w2
Camera is not streaming 4 minutes ago
msg : Restarting Process