在Windows上为python 2.7安装gstreamer 1.0。

时间:2015-06-30 21:43:03

标签: python python-2.7 gstreamer pygst

我一直在尝试在Windows上安装gstreamer 1.0以用作python 2.7模块。我从这里安装了sdk http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows,这允许我import pygst,但它只允许我使用gstreamer 0.1(如果我尝试pygst.require('1.0')我得到一个pygst.RequiredVersionError only version&#39 ; 0.10'可用)。

我看了一遍gstreamer 1.0版本的sdk没有运气,所以我希望我可以根据我的需要改变0.1 sdk。

我已经从这里http://gstreamer.freedesktop.org/data/pkg/windows/1.5.2/下载了gstreamer 1.0,但在修复RequiredVersionError /获取正确的sdk之后,我真的不确定该如何处理它。任何帮助表示赞赏。

1 个答案:

答案 0 :(得分:2)

使用Python 3.4.3。

  1. 从下载: http://sourceforge.net/projects/pygobjectwin32/files/?source=navbar

  2. 在Windows public async Task<WorkItemDetail> GetWorkItemDetailAsync(int userNumber, int userNumberExternal, string applicationId, short computerNumber, DateTime wiDate, int wiSequence, int wiDetailSequence, bool includeImage) { using (HttpClient client = base.CreateHttpClient()) { WorkItemDetail workitemdetail = new WorkItemDetail(); var service_result = await client.GetAsync(string.Format("api/work-item-detail?userNumber={0}&userNumberExternal={1}&applicationId={2}&computerNumber={3}&wiDate={4}&wiSequence={5}&wiDetailSequence={6}&includeImage={7}", userNumber, userNumberExternal, applicationId, computerNumber, wiDate, wiSequence, wiDetailSequence, includeImage)); await ValidateResponseAsync(service_result); workitemdetail = await service_result.Content.ReadAsAsync<WorkItemDetail>(); return workitemdetail; } }

  3. 中安装
  4. 在程序.py中:

    pygi-aio-3.14.0_rev22-setup.exe
  5. 享受更多......