H.264/H.265 encoding using Jetson Nano GPU

Hi Dusty_nv,

Thanks for you reply and the link for “ACCELERATED GSTREAMER USER GUIDE”

There is something I don’t really understand.

Assuming, I have a video input.mov and I want an encoded video ouput.mp4,

How can I modify the following command line with input and ouput videos above?

Ps: I tried to replace ‘videotestsrc’ by ‘input.mov’ and ‘location=output.mp4’ but it didn’t work out.

gst-launch-1.0 videotestsrc !
‘video/x-raw, format=(string)I420, width=(int)640,
height=(int)480’ ! omxh264enc !
‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse !
qtmux ! filesink location=test.mp4 -e

thanks,