# Python API: Using AppSink

**URL:** <https://forums.developer.nvidia.com/t/python-api-using-appsink/120067>\
**Category:** DeepStream SDK\
**Created:** [April 17, 2020, 1:27am UTC](https://forums.developer.nvidia.com/t/python-api-using-appsink/120067 "2020-04-17T01:27:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [April 17, 2020, 3:04am UTC](https://forums.developer.nvidia.com/t/python-api-using-appsink/120067/3 "2020-04-17T03:04:49Z")

</div>

Hi,  
It may not be possible in python. It is supported in C code. You can access the buffers through NvBuffer APIs. There is a sample and please check

> [@How to run RTP Camera in deepstream on Nano](https://forums.developer.nvidia.com/t/how-to-run-rtp-camera-in-deepstream-on-nano/78790/29):
>
> Hi, We are checking the issue. Since we do not have the IP cameras you have, please help run attached app and share the print: bufferformat: NvBufferColorFormat\_NV12 Please modify rtsp location in the code and execute the steps: $ export MMAPI\_INCLUDE=/usr/src/tegra\_multimedia\_api/include $ export MMAPI\_CLASS=/usr/src/tegra\_multimedia\_api/samples/common/classes $ export USR\_LIB=/usr/lib/aarch64-linux-gnu $ g++ -Wall -std=c++11 decode.cpp -o decode $(pkg-config --cflags --libs gstreamer-app-…

---

_[View the full topic](https://forums.developer.nvidia.com/t/python-api-using-appsink/120067)._
