Gstreamer formats(H264) Query

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gstreamer formats(H264) Query

396 次查看
mark-calaway
Contributor II

We are looking to record video with H264 format but we have the following command which is recording .ogv format only.
"gst-launch-1.0 -v v4l2src device=/dev/video3 ! videoconvert ! theoraenc ! queue ! filesink location=imx8-record.ogv"
Is there any H264 format for recording other than theora video format? We have to play the video in the IMX9QXP board.

0 项奖励
回复
1 回复

388 次查看
joanxie
NXP TechSupport
NXP TechSupport

if you need encode h264 video, you can use the below command to generate mp4 file

$ gst-launch-1.0 videotestsrc ! video/x-raw, format=NV12, width=640, height=480 ! v4l2h264enc ! \
filesink location=test.mp4

0 项奖励
回复