Record Video in 60fps

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Record Video in 60fps

1,488件の閲覧回数
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,385件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

joanxie_0-1714009218954.png

 

0 件の賞賛
返信

1,475件の閲覧回数
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,456件の閲覧回数
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 件の賞賛
返信