|
发表于 2024-8-23 10:00:26
只看该作者
11#
我这边测试没有问题啊
- root@firefly:/# GST_DEBUG=fpsdisplaysink:6 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=1920,height=1080 ! queue ! fpsd>
- Setting pipeline to PAUSED ...
- 0:00:00.642663648 1047 0x5572920ed0 DEBUG fpsdisplaysink fpsdisplaysink.c:440:fps_display_sink_start:<fpsdisplaysink0> Use text-overlay? 0
- Pipeline is live and does not need PREROLL ...
- Setting pipeline to PLAYING ...
- New clock: GstSystemClock
- 0:00:02.235007308 1047 0x5572979000 DEBUG fpsdisplaysink fpsdisplaysink.c:372:display_current_fps:<fpsdisplaysink0> Updated max-fps to 58.0
- 91143
- 0:00:02.235276225 1047 0x5572979000 DEBUG fpsdisplaysink fpsdisplaysink.c:376:display_current_fps:<fpsdisplaysink0> Updated min-fps to 58.0
- 91143
- 0:00:02.751517360 1047 0x5572979000 DEBUG fpsdisplaysink fpsdisplaysink.c:372:display_current_fps:<fpsdisplaysink0> Updated max-fps to 60.0
- 11788
- 0:00:06.851622522 1047 0x5572979000 DEBUG fpsdisplaysink fpsdisplaysink.c:372:display_current_fps:<fpsdisplaysink0> Updated max-fps to 60.0
- 12887
- 0:00:22.651553194 1047 0x5572979000 DEBUG fpsdisplaysink fpsdisplaysink.c:372:display_current_fps:<fpsdisplaysink0> Updated max-fps to 60.0
- 17665
复制代码
我用的固件版本是
- root@firefly:/# cat proc/version
- Linux version 4.19.232 (llq@tchip14) (rk356x/firefly: f7165816db073abb32bfe4f754a317d687c7bbcf) (sdk version: rk356x_linux_release_20230710_v1.3.2f.xm
- l) (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)), GNU ld (GNU Toolchain for the A-profile Archi
- tecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #796 SMP Mon Jul 17 10:36:36 CST 2023
复制代码 |
|