imx6dl中如何同时存储gui和video的数据呀

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

imx6dl中如何同时存储gui和video的数据呀

1,971 次查看
819265478
Contributor I

项目需求,使用gstreamer录制video视频时同时储存gui(fb0)的数据,请问能做到吗?如何做呢?

0 项奖励
回复
5 回复数

1,743 次查看
819265478
Contributor I

imx6dl支持这样操作吗,有人吗

0 项奖励
回复

1,743 次查看
joanxie
NXP TechSupport
NXP TechSupport

what do you mean? do you need 1) encoding video to the file 2) save the data in the fb0? if yes, where will you want to save the fb0 data?

你是需要同时录制视频和保存FB0数据是吗?你想把数据保存在哪里?具体想要什么操作

0 项奖励
回复

1,743 次查看
819265478
Contributor I

就是屏幕录制,我们的产品包含视频 和gui的叠加数据,想同时录制下来,目前我只能使用gst单独录制视频的,gui的不知如何操作?

比如我在ubuntu上测试了

gst-launch-1.0ximagesrc remote=1 use-damage=0 ! video/x-raw,framerate=25/1 !videoconvert ! vp8enc ! matroskamux ! filesink location=/home/luke/test.mkv

但是在imx6dl上跑是失败的,如下:

root@imx6qsabresd:/App# gst-launch-1.0 ximagesrc num-buffers=1 pngenc ! filesink location=test.png
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0: Could not open X display for reading
Additional debug info:
../../../gst-plugins-good-1.8.1/sys/ximage/gstximagesrc.c(160): gst_ximage_src_open_display (): /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0:
NULL returned from getting xcontext
Setting pipeline to NULL ...
Freeing pipeline ...

0 项奖励
回复

1,743 次查看
liuxiaoming
Contributor I

Is your board based on the X11 backend? The ximagesrc element could only be used on the X11 backend system, not on framebuffer backend system.

0 项奖励
回复

1,743 次查看
819265478
Contributor I

是的,我们是framebuffer的,这样有办法做到吗?

0 项奖励
回复