[我已在Windows 10上安装了最新版本的gstreamer(v1.16.2),并进行了完整安装并测试了一些简单的示例,我检查了一些常见的元素是否丢失。
使用类似命令:
gst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=GRAY8 ! videoconvert ! autovideosink
我收到此日志:
GST_INIT gst.c:810:init_post: initialized GStreamer successfully
GST_PIPELINE gstparse.c:337:gst_parse_launch_full: parsing pipeline description 'videotestsrc ! capsfilter caps=video/x-raw,format=GRAY8 ! videoconvert ! autovideosink '
GST_ELEMENT_FACTORY gstelementfactory.c:462:gst_element_factory_make: no such element factory "videotestsrc"!
GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "videotestsrc"
GST_ELEMENT_FACTORY gstelementfactory.c:462:gst_element_factory_make: no such element factory "capsfilter"!
GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "capsfilter"
GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@0000000000000000]
GST_ELEMENT_FACTORY gstelementfactory.c:462:gst_element_factory_make: no such element factory "videoconvert"!
GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "videoconvert"
GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@0000000000000000]
GST_ELEMENT_FACTORY stelementfactory.c:462:gst_element_factory_make: no such element factory "autovideosink"!
GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "autovideosink"
GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@0000000000000000]
我还检查了安装程序是否创建了指向C:\ gstreamer \ 1.0 \ x86_64的新环境变量GSTREAMER_1_0_ROOT_X86_64,并且还将bin文件夹添加到Path] >。
MSI安装程序是否需要任何其他步骤才能在Windows计算机上注册其插件?
我已在Windows 10上安装了最新版本的gstreamer(v1.16.2),并进行了完整安装并测试了简单的示例,我检查了是否缺少几个常见元素。使用命令...
最后我找到了问题及其解决方案。至少在Windows上... Gstreamer生成带有已注册插件列表的bin文件。该文件存储在此路径中