Problems about tk1 HW encoder

hello! I wanna get some examples about tk1 HW encoder that using c or c++, not using command line, please give me some suggestions,thanks

Hi,
On TK1, we support gstreamer. You may refer to
https://devtalk.nvidia.com/default/topic/1015571/jetson-tx2/what-is-maximum-video-encoding-resolution-in-pixels-/post/5253760/#5253760

On TX1/TX2/Xavier, we have tegra_multimedia_api.

hello! I wanna get some examples about tk1 HW decoder that using c or c++ by gstreamer, not using command line,please give me some suggestions

Hi,
The same code is based on launching a string and you can modify the string to use omxh264dec.
https://devtalk.nvidia.com/default/topic/1015571/jetson-tx2/what-is-maximum-video-encoding-resolution-in-pixels-/post/5253760/#5253760