I have a callback function that provides “const uint8_t* data, size_t length” for each H264 data stream. Is it possible to use Jetson Multimedia API to decode h264 stream into RGB/YUV data? If possible, could someone give me a simple idea how to do this. Thanks
Did you check the MMAPI sample code?
Hi,
Please check the 01 sample:
/usr/src/jetson_multimedia_api/samples/01_video_encode/
H264 stream can be decoded to YUV420 and then convert to 32-bit RGBA. 24-bit RGB/BGR is not supported.
Thanks. I will have a look.
Also, can I use Gstreamer in C++ to solve this problem? Compare with the mmapi, which is better?
Hi,
We support hardware encoding in gstreamer. You may try the sample commands in gstreamer user guide:
Accelerated GStreamer — NVIDIA Jetson Linux Developer Guide 1 documentation
And the C sample:
Latency issue: nvv4l2h265enc accumulates four images before releasing the first - #3 by DaneLLL
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.