I am trying to display a raw image (1.8MB) using gst-launch-1.0 . I understand that data must be encoded in JPG before this is achieved. If the image was already saved as a jpg file, the story would be quite simple:
gst-launch-1.0.exe -v filesrc location=output.jpg ! decodebin ! imagefreeze ! autovideosink

However, I need to assemble a pipeline to display raw BGRA 800x600 images (looks the same as above), which was photographed on a disk using a 3D application.
This is what I have done so far, but the problem is that it creates a completely black image on the disk:
gst-launch-1.0.exe -v filesrc location=dumped.bin ! video/x-raw,format=BGRA,width=800,height=600,framerate=1/1 ! videoconvert ! video/x-raw,format=RGB,framerate=1/1 ! jpegenc ! filesink location=out.jpg
Can GStreamer complete this task?
source share