Hi all, loving this jetson nano board. The last step in my project is transcoding a raw stream mapping of MJPEG images (at ~25fps) to H264 using the hardware capabilities of this board.
I looked at the GStreamer PDF and I don’t see MJPEG video mentioned anywhere, so I went ahead and used the single image transcode as a jumping off point. This is what I’m using:
gst-launch-1.0 filesrc location=video.mkv ! image/jpeg, width=3840, height=2160, framerate=25/1 ! jpegparse ! jpegdec ! 'video/x-raw, format=(string)I420' ! omxh264enc ! matroskamux ! filesink location=video-compressed.mkv -e
The above doesn’t produce an error, but the FPS of the output file is around 1, or incredibly low. It should be 25-30. Also possibly unsolvable, but the transcode takes a while at about 50% real time speed. IIRC I was able to do a H264 to vp8 at 450% real time.
Am I doing something wrong with one of my pipelines?
Thanks in advance for any insights
EDIT: I think it was VP8 not vp9