Record Video in 60fps

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

Record Video in 60fps

1,542 次查看
itaigolan
Contributor II

I'm using an imx8mp on a variscite dart board and a basler camera. I'm trying to record a video in 60fps and I tried this command from the Linux users guide:

 

gst-launch-1.0 v4l2src device=/dev/video2 num-buffers=300 ! video/x-raw,width=1920,height=1080,framerate=60/1 ! queue ! vpuenc_h264 ! h264parse ! mp4mux ! filesink location=output.mp4

 

This command seems to record the video in 15fps instead of 60 despite the camera showing the video in 60 fps. Does anyone know how I can increase the framerate of the recording?

0 项奖励
回复
3 回复数

1,439 次查看
joanxie
NXP TechSupport
NXP TechSupport

I tested this on my board,this information is from output.mp4

joanxie_0-1714009218954.png

 

0 项奖励
回复

1,529 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls run the command as below and share with me the result

v4l2-ctl --list-formats-ext -d /dev/video2

0 项奖励
回复

1,510 次查看
itaigolan
Contributor II

ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'YUYV' (YUYV 4:2:2)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
[1]: 'NV12' (Y/UV 4:2:0)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
[2]: 'NV16' (Y/UV 4:2:2)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
[3]: 'BA12' (12-bit Bayer GRGR/BGBG)
Size: Stepwise 176x144 - 4096x3072 with step 16/8

0 项奖励
回复