On 07/05/2026 13:46, Erikas Bitovtas wrote:
Try:

v4l2-ctl --verbose --set-fmt-video-
out=width=1280,height=720,pixelformat=NV12 --set-selection-output
target=crop,top=0,left=0,width=1280,height=720 --set-fmt-
video=pixelformat=H264 --stream-mmap --stream-out-mmap --stream-from=/
media/cyclists_1280x720_92frames.yuv --stream-to=/tmp/
cyclists_1280x720_92frames.h264 -d /dev/video1

v4l2-ctl --verbose --set-fmt-video-
out=width=1280,height=720,pixelformat=NV12 --set-selection-output
target=crop,top=0,left=0,width=1280,height=720 --set-fmt-
video=pixelformat=HEVC --stream-mmap --stream-out-mmap --stream-from=/
media/cyclists_1280x720_92frames.yuv --stream-to=/tmp/
cyclists_1280x720_92frames.hevc -d /dev/video1

Sorry, but I couldn't find the file you were referring to. Do you happen
to have a link where I could download it? Thank you in advance.
---
bod


wget https://media.xiph.org/video/derf/y4m/crowd_run_1080p50.y4m
ffmpeg -i crowd_run_1080p50.y4m -vf scale=1280:720 -pix_fmt nv12 -frames:v 92 -f rawvideo cyclists_1280x720_92frames.yuv

v4l2-ctl --verbose --set-fmt-video-out=width=1280,height=720,pixelformat=NV12 --set-selection-output target=crop,top=0,left=0,width=1280,height=720 --set-fmt-video=pixelformat=H264 --stream-mmap --stream-out-mmap --stream-from=cyclists_1280x720_92frames.yuv --stream-to=/tmp/cyclists_1280x720_92frames.h264 -d /dev/video1

---
bod

Reply via email to