TX2 reset codec

How can I reset the video codec on jetson xavier ?

Moving to Jetson TX2 forum.

May I know you’re asking issue for TX2 or Xavier?

If the methods are different, I would like to know how to deal with both.

Thank you

Hi,
We don’t have the interface of resetting hardware encoder/decoder. Generally you would need to close the device node and re-open it. Please refer to the samples:

/usr/src/jetson_multimedia_api/samples/unittest_samples/decoder_unit_sample
/usr/src/jetson_multimedia_api/samples/unittest_samples/encoder_unit_sample