Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5005

Graphics, sound and multimedia • Re: TC358743 HDMI to CSI-2 install instructions

$
0
0
GStreamer's v4l2h264enc has been updated to take the encode level from the caps rather than from extra-controls.

Code:

gst-launch-1.0 v4l2src ! "video/x-raw,framerate=30/1,format=UYVY" ! v4l2h264enc extra-controls="controls,video_bitrate=256000;" ! 'video/x-h264,level=(string)4,profile=high' ! h264parse ! queue ! matroskamux ! filesink location=foo.mkv
The encoder validates the level against the resolution and framerate provided, and will refuse to start if it isn't sufficient. If you haven't specified it in the caps, GStreamer defaults to level 1 (128×96@30fps).

Statistics: Posted by 6by9 — Tue Feb 20, 2024 11:51 am



Viewing all articles
Browse latest Browse all 5005

Trending Articles