Hi, You may also consider to user jetson_multimedia_api. We have compared the two cases:
For your reference.