Related MMAPI, 06_jpeg_decode

Hello,

I’m having trouble building and running sample applications.

https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_jpeg_decode.html

picture directory
I’m having trouble building and running

What am I supposed to do?

Thank you.

Please save the YUV to home dircetory:

nvidia@nvidia-desktop:/usr/src/jetson_multimedia_api/samples/06_jpeg_decode$ ./jpeg_decode num_files 1 ../../data/Picture/nvidia-logo.jpg /home/nvidia/nvidia-logo.yuv
Image Resolution - 1920 x 1080
libv4l2_nvvidconv (0):(802) (INFO) : Allocating (1) OUTPUT PLANE BUFFERS Layout=0
libv4l2_nvvidconv (0):(818) (INFO) : Allocating (1) CAPTURE PLANE BUFFERS Layout=0
App run was successful

/usr/src/ requires root permission.

1 Like

Hello,

Thank you. I got nvidia-logo.yuv

To decode as a bitmap, can I use the extension bmp instead of yuv?
image

Thank you for your support.

Hi,
Bitmap(.bmp) is not supported buby hardware. You may consider to use gstreamer and try avenc_bmp plugin:
https://gstreamer.freedesktop.org/documentation/libav/avenc_bmp.html?gi-language=c

1 Like

Hello,

What is bu hardware?

thank you.

Hi,

Sorry there is a typo. It is corrected.

1 Like