Open ChieftainY2k opened 6 years ago
hey @ChieftainY2k is this resolved?
Hey, I will check it today with a fresh kios installation.
-- "You pick a job you love, you never work in life."
On 19 June 2018 at 16:09, Cédric Verstraeten notifications@github.com wrote:
hey @ChieftainY2k https://github.com/ChieftainY2k is this resolved?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kerberos-io/machinery/issues/150#issuecomment-398412162, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7HUbknWrngnN8ITO04Dj8iQlY9sPhNks5t-QYXgaJpZM4Ue4sn .
I had the same problem and was due to the presence of ffmpeg ubuntu package (3.x.x) and the kios ffmpeg version (cloned from git) on the same container. I guess is a incompatibility between opencv (cloned as external from kios git) and the ffmpeg version. I suggest to try remove all ffmpeg end opencv packages and recompile.
@rotragit interesting. How can I reproduce this or how did you verified this issue? Is this issue occuring in current docker image?
Yes, get the Dockerfiles I have posted for i386 and add
apt install -y ffmpeg
before the git clone of the machinery.
I tryed to use bionic packages of opencv and ffmpeg removing the subtrees cloned by github, but opencv include in some source files reference to relative path in the source code, so it's doesn't compile at all. I didn't looked at the source files anyway. However if the ubuntu packages for libopencv and ffmpeg are installed before the compilation then compiling goes ok but you get the error reported in the opencv library.
My guess is that the verion of opencv you git clone when compiling is incompatible with latest version of ffmpeg.
I verified the issue removing the ffmpeg package installation from the Dockerfile and all goes right.
I am trying to hook up the machinery to the RTSP stream with the following config:
The ffprobe says the stream is accessible and OK:
But... the machinery says that OpenCV cannot open the ip camera:
What am I doing wrong ? Tested the RTSP stream stream with both ffprobe and VLC , it plays just fine.
The stream is created with the following tools:
raspivid -n -w 640 -h 480 -b 400000 -fps 30 -vf -hf -t 0 -o - | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:9000/stream}' :demux=h264