Фриланс-проекты › Opencv, odroid, onvif, eclipse - video stream
Opencv, odroid, onvif, eclipse - video stream
Есть 2 задачи по екслипсоподоьной прошивке для камеры:
1. Did you ever have OpenCv report message Invalid UE golomb code when reading FFMPEG stream, and do you know about solution ?
I can provide access to the lap top by teamviewer..I have eclipse opened with the project and program running in console toward camera attached
This is my camera stream rtsp://admin:[email protected]:554/11
Works fine from vlc player on the pc
Found this link
https://github.com/opencv/opencv/issues/9739
cv::cudacodec::VideoReader unable to Play rtsp stream · Issue #9739 · opencv/opencv
https://github.com
Maybe it is the issue
You should check if the codec and pixel format of your stream (as shown in vlc) are they supported in the InputMediaStream_FFMPEG::open method.
What i found out in my case was that while vlc detected the pixel format of stream as YUV420P, ffmpeg detected it as YUVJ420P so i made the below mentioned change here
case AV_PIX_FMT_YUV420P:
case AV_PIX_FMT_YUVJ420P:
*chroma_format = ::VideoChromaFormat_YUV420;
break;
As far as I can see for OpenCv capture extra configuration needed when FFMPEG stream
2. onvif:
Also need onvif control:
It is to be able to adjust contrast, light condition etc. from remote linux in the camera using onvif
I have a filter in front of lens removing reflections in night time...It demands that I can adjust light, and contrast etc for daylight/nightlight
Since recognition engine is in linux I need to do it based on what I see or not see
automatically..But I just need you to implement the feature to be able to over onvif
Исходники приложил.
Для тестов предоставлю ПК по teamviewer с развернутым проектом и подключенным оборудованием.
If it is easier to make camera give mjpeg stream without described issue instead of FFMPEG - that is ok solution for me
Приложения 1
-
фрилансер больше не работает на сервисе
-
Олександр Лахтін
— заказчик проекта
Исходники приложил к проекту.
-
Какая версия OpenCV используется? Не заметил этого ни в описании, ни в исходниках. Если старая, возможно, поможет обновление.
Попробуйте другой протокол вместо RTSP.
-
Олександр Лахтін
— заказчик проекта
Радует, что обсуждение идёт, жаль только, что ставку сделать никто так и не решился.
-
Вам необходимо автоматически переключать дневное и ночное время?
-
Олександр Лахтін
— заказчик проекта
При необходимости мы можем немного уменьшить частоту кадров. Не нужно 25-30 кадров в секунду.
-
Это сложный вопрос. Такие ошибки не всегда могут устранить даже разработчики. Попробуйте поднять вопрос на Гитхабе, может подскажут.