I am new to GStreamer and try to use it with C++ by inputing 10 -Bit Images into appsrc.
Therefore I am taking Images from my grayscale camera which supports 10/12 bit.
Following this, I do some Image processing and push those Images into appsrc.
What I use:
- Jetson TX2
- Gstreamer Version 1.83
Input -> 10 bit Images saved in GRAY16_LE
output -> I420_10LE (H265 encoder)
My Pipeline idea:
appsrc —GRAY16_LE—> videoconvert —Video/x-raw, Format=I420_10LE—> nvvdiconv Video/x-raw(Memory:NVMM), Format=I420_10LE—> omxh265enc ---->matroskamux —> filesink
By doing this, I am getting the following Errors:
gst_nvvconv_prepare_isurface: invalid in_pxt_fmt
gst_nvvconv_transform: Failed to prepare inter surfaces
Does this mean it does not support the conversion from I420_10LE Video/x-raw, Format=I420_10LE to Video/x-raw(Memory:NVMM), Format=I420_10LE? So no conversion between Video/x-raw and Video/x-raw(Memory:NVMM) are allowed. How to construct the Pipeline correctly?
Thank you in advance.