1. ubuntu截取屏幕编码成h264并写文件
gst-launch-1.0 ximagesrc remote=1 ! videoconvert ! video/x-raw,format=NV12 ! queue ! mpph264enc ! filesink location=123.h264
1. ubuntu截取屏幕编码成h264并写文件
gst-launch-1.0 ximagesrc remote=1 ! videoconvert ! video/x-raw,format=NV12 ! queue ! mpph264enc ! filesink location=123.h264