I have been following the examples in the L4T Multimedia reference (https://docs.nvidia.com/jetson/archives/l4t-multimedia-archived/l4t-multimedia-281/l4t_mm_jpeg_encode.html)
Can somebody tell me where i can find the format for the input file please ?
Thanks
hi,
Please refer to tegra_multimedia_api\samples\05_jpeg_encode and check print_help()
-f <pixfmt> Color format of input to encoder (works only for --encode-fd) [1=YUV420(Default), 2=NV12]
Thanks @DaneLLL. For that example, it seems the file has to be YUV 420 planar with no headers.
Hi,
Yes, it is without headers. For 320x240, the YUV input size is 320x240x1.5.