本文介绍了使用cerbero在Windows中从源代码构建gstreamer ....生成gst-libav-1.0的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是第一次从源代码编译gstreamer,我正面临着在Windows中构建gst-libav-1.0的困难.

I am first time compiling gstreamer from source code and I am facing difficulty in building gst-libav-1.0 in windows.

我点击了gstreamer网站上给出的链接.仅创建避免使用.cerbero.cbc(因为它会带来更多问题,但默认情况下会在网站上说)从源代码编译gstreamer-gstreamer网站

I followed link given in the gstreamer website. only creation of .cerbero.cbc is avoided (as it gives lots more problems ,but default will work it say in site) compiling gstreamer from source code-- gstreamer website

问题

1)运行构建命令后,出现

1) After running build command I am getting error of

2)当我设置enable nvenc,cuda ... etc时显示:

2) when I set the enable nvenc , cuda ...etc its showing :

我在下面提到的文件"gst-libav-1.0.recipe"中添加了上述选项

I have added above option in file "gst-libav-1.0.recipe" at below mentioned place

class Recipe(custom.GStreamer): 
    name = 'gst-libav-1.0' 
    # TODO - check license - plugin is certainly LGPLv2+, but need to check 
    #        the linked libs 
    licenses = [License.LGPLv2Plus] 
    config_sh = 'sh ./autogen.sh --noconfigure && ./configure' 
    configure_options = "--enable-lgpl --disable-examples --enable-static " 

如何在libav的构建中启用此选项?

How can I enable this option in the build of libav ?

注意:我已添加在构建

Note: I have added logs generated while building

"Python.exe ./cerbero-uninstalled 
buildone gst-libav-1.0 "

a)gst-libav-1.0-compile.log gst-libav-1.0-compile.log

a) gst-libav-1.0-compile.log gst-libav-1.0-compile.log

b)error.txt error.log

b) error.txt error.log

推荐答案

您必须使用Python 2.7来编译GStreamer-看起来您正在使用Python3

You have to use Python 2.7 to compile GStreamer - it looks like you're using Python3

这篇关于使用cerbero在Windows中从源代码构建gstreamer ....生成gst-libav-1.0的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 01:14