This is my first post on this forum. I am trying to get a bayer raw8 video feed into a rtp pipeline. I built this pipeline as an RGB baseline and it works fine:
gst-launch-1.0 videotestsrc ! 'video/x-raw, format=(string)RGB, width=(int)1504, height=(int)1504, framerate=(fraction)120/1' ! videoconvert ! omxh264enc control-rate=2 bitrate=15000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000
I used this to build an appsrc application to take video from my camera and this works fine too.
Then I changed the image format to bayer/rggb. Again, the pipeline works well:
gst-launch-1.0 videotestsrc ! video/x-bayer,format=rggb,width=1504,height=1504,framerate=120/1 ! bayer2rgb ! videoconvert ! omxh264enc control-rate=2 bitrate=15000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000
However, when I implemented this modified pipeline into my appsrc code, I got the following error.
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingError: Internal data flow error.
Any ideas on what is going on or how I can troubleshoot this? My appsrc code is attached for reference but it won't compile without the camera software. I am a 2 week old noob to gstreamer...
gst-app-src_bayer.cppgst-app-src_rgb.cpp