Motionplus Ignoring v4l2_params palette=15 Keep Feeding Video With yuv420p #94
Replies: 3 comments 2 replies
-
You are mixing concepts. The video_params and palette option is for decoding. The |
Beta Was this translation helpful? Give feedback.
-
No. It is used internally. You could use the movie_extpipe option and pipe it off to a ffmpeg command where ffmpeg would convert it from yuv into nv12. Or try a different HW codec such as |
Beta Was this translation helpful? Give feedback.
-
The ezcap and v4l2_device usually do not provide encoded data that can simply be copied into the movie container. (But you can try....use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have set both
v4l2_params
andvideo_params
to havepalette=15
but seems motion plus ignoring it and keep usingyuv420p
to feed encoder hevc_qsv. As you can see from the log, the camera V4L2 device supports Width: 1920, Height 1080 @ Framerate 1/60 and it seems set successfully using that[NTC][VID][00:ml00:CAM3] v4l2_pixfmt_set: Using palette YUYV (1920x1080)
. But when creating video file, it keeps usingyuv420p
resulting errorSpecified pixel format yuv420p is not supported by the hevc_qsv encoder.
. In factyuyv422
is supported by the hardware encoder.CAM3 config:
Full log:
Beta Was this translation helpful? Give feedback.
All reactions