python-gstreamer

    0热度

    1回答

    为什么宽度覆盖最大宽度使得盒子没有响应,就像我单独使用max-width一样。仅供参考我正在使用内联样式,因为我正在编写电子邮件。 <table width="600" align="center" style="max-width: 600px; background-color: blue; padding: 0 10px;"> <tr> <td> <table widt

    0热度

    1回答

    有了这个: import gst self.player = gst.element_factory_make("playbin", "player") self.player.set_property('uri','file:///test.ogg)) self.player.set_state(gst.STATE_PLAYING) 我怎么可能会迫使该test.ogg文件的无限循环?

    79热度

    4回答

    我需要将用户从一个页面重定向到另一个页面,但我需要维护原始的引用字符串。因此,举例来说,如果他们开始了对http://www.othersite.com/pageA.jsp,点击一个链接,将他们带到http://www.mysite.com/pageB.jsp,然后执行302重定向到http://www.mysite.com/pageC.jsp,我需要的引荐字符串包含“http://www.oth

    1热度

    1回答

    我试图用input-selector两个流之间进行切换,但我得到的错误: `AttributeError: 'NoneType' object has no attribute 'get_property'` 这是我的Python代码: def __init__(self): pipeline_string=( 'videotestsrc pattern=0 !

    1热度

    1回答

    我想从GstBaseSink派生的GstXvImageSink访问“last-sample”属性。 我越来越: TypeError: object of type 'GstXvImageSink' does not have property 'last-sample' 有一种特殊的方式来获得在pygtk的从基类的属性或者是这个属性在某种程度上隐藏? 代码: def take_snapshoot(

    0热度

    1回答

    我一直在试图动态地改变gstreamer管道,但它只是在我改变状态时立即停止流。我在这里干什么?这里是我的代码: #!/usr/bin/python import gobject import time gobject.threads_init() import pygst pygst.require("0.10") import gst p = gst.parse_launc

    5热度

    3回答

    对于那些一直在帮助我与这个微博克隆的方式,谢谢!在您的帮助下,我已经设法让大部分工作得以实施,并最终进入追随者功能的最后一步。 现在,我有以下字段的数据集:用户名,鸣叫,日期 数据的一个例子可能看起来像: Username Tweet Date kenny hi! 2011-10-07 19:07:00 stan hello 2011-10-05 18:07:00 ke

    0热度

    1回答

    我有一个gstreamer应用程序,用于创建带有图像的视频。我需要在预定义的时间创建视频。我想在预定义的时间之后发送eos。我知道这可以通过在gstClock中使用new_single_shot_id来实现。但我找不到任何有关如何使用new_single_shot_id创建触发器的示例,该触发器绑定到将eos发送到管道的函数。 我的简化管道代码就是这样。 class Main(object):

    2热度

    1回答

    我们使用代表文本区域中文本的(yui)画布。 在浏览器中正常工作,但在iphone和ipad上键盘不显示,可能是因为没有textarea。有没有办法触发iPhone显示键盘并将画布视为输入字段? 感谢, <canvas style="border: 1px solid rgb(153, 153, 255); vertical-align: middle; cursor: text; padding

    0热度

    1回答

    播放.avi视频 我一直在寻找了很多的例子使用的Windows,但只有能很好的那些GStreamer的的Python库是这样的: #!/usr/bin/env python3 # -*- coding:utf-8 -*- # GStreamer SDK Tutorials in Python # # basic-tutorial-2 # """ basic-tutorial-2: