|
始YUV420 NV12格式的:
gst-launch-1.0 v4l2src device=/dev/my_device io-mode=4 ! video/x-raw, format=NV12, width=3840, height=2160, framerate=60/1 ! omxh265enc qp-mode=auto gop-mode=basic gop-length=60 b-frames=0 target-bitrate=60000 num-slices=8 control-rate=constant prefetch-buffer=true low-bandwidth=false filler-data=true cpb-size=1000 initial-delay=500 ! queue ! mpegtsmux alignment=7 name=mux ! filesink location="/media/usb/test.ts"
最近做测试,想写一个虚拟的v4l2驱动节点,只支持一种原始格式就行,NV12 ,在ZYNQ平台上,第一次写,写了好几版都不对,有朋友写过吗?可以指导下?
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|