How can I use cameraundistort with rtsp stream? #1005
-
I would like to pull a rtsp stream from an IP camera. The image from the ipcamera is fisheye. I would like to use cameraundistort with the KVS pipeline. How can I achieve that? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You're probably looking for the gstreamer element The use case described sounds like we want to take the video from the camera, transform it, then send it to KVS. Suppose we use the sample pipeline from here. We need to inject a According to its documentation, dewarp only accepts RGBA in and RGBA out. So, we will need to convert it from: h264 (camera) -> RGBA (dewarp) -> h264 -> kvssink Something along these lines might do it.
( |
Beta Was this translation helpful? Give feedback.
You're probably looking for the gstreamer element
dewarp
, as the documentation for cameraundistort mentions that it performs camera calibration.The use case described sounds like we want to take the video from the camera, transform it, then send it to KVS.
Suppose we use the sample pipeline from here. We need to inject a
dewarp
element in it.According to its documentation, dewarp only accepts RGBA in and RGBA out. So, we will need to convert it from: h264 (camera) -> RGBA (dewarp) -> h264 -> kvssink
Something along these lines might do it.