[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-devel
Subject: Questions about using dshowaudiosrc
From: Kaiyuan Li <ecry2008 () gmail ! com>
Date: 2014-10-31 1:08:27
Message-ID: CACuCi2X84xGLhuCBztcTg6auaOXD4rTewcy2GOgSEv6OB3p8PA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi folks,
Sorry for disturbing. I am a programmer for Freeseer
<https://github.com/Freeseer/freeseer/>, and I met a problem while using
the dshowaudiosrc plugin of gstreamer 0.10.7 on Windows.
I use Python with yapsy for programming. The problem comes when I try to
set the "device-name" property. I cannot figure out what is wrong so I
would like to ask for help.
The situation can be simplified to the code that I have attached. The
program is for Windows only.
Thanks for your time.
Kind Regards,
Kaiyuan Li
[Attachment #5 (text/html)]
<div dir="ltr">Hi folks,<div><br></div><div>Sorry for disturbing. I am a programmer \
for <a href="https://github.com/Freeseer/freeseer/">Freeseer</a>, and I met a problem \
while using the dshowaudiosrc plugin of gstreamer 0.10.7 on \
Windows.</div><div><br></div><div>I use Python with yapsy for programming. The \
problem comes when I try to set the "device-name" property. I cannot figure \
out what is wrong so I would like to ask for help.</div><div><br></div><div>The \
situation can be simplified to the code that I have attached. The program is for \
Windows only.</div><div><br></div><div>Thanks for your \
time.</div><div><br></div><div>Kind Regards,</div><div>Kaiyuan Li</div></div>
--089e0158c96c65d6df0506ada26f--
["dshow_device-name.py" (text/plain)]
import pygst
pygst.require("0.10")
import gst
audiosrc = gst.element_factory_make("dshowaudiosrc", "audiosrc")
source = 'Microphone (Realtek High Definition Audio)'
audiosrc.set_property('device-name', source)
# Get a None as output. Which is invalid.
print 'device-name: %s' % audiosrc.get_property('device-name')
[Attachment #7 (text/plain)]
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic