Reading an shmsink stream from an external application
Tristan Matthews
tristan at sat.qc.ca
Thu Jul 5 11:38:53 PDT 2012
2012/7/5 Takido <hchouh at gmail.com>:
> Hello,
>
> I'm trying to feed an external application which deals sound to a special
> hardware with shmsink. I read all the doc I could find about shm (including
> the commented part of shmpipe.h) but I still don't understand they way I
> could get the audio stream in my external application.
The easiest route is to use the "shmsrc" element in your external
application, otherwise you will have to write your own shmsrc-like
client for your application.
If it's of any help, a while ago I made a minimal python example using
the shmsrc and shmsink elements that might be of some use:
https://github.com/tmatth/gst-prototypes/tree/master/shm
Best,
Tristan
--
Tristan Matthews
web: http://tristanswork.blogspot.com
More information about the gstreamer-devel
mailing list