[PD] playing a RTSP video stream in GEM (and getting it to work)

matteo sisti sette matteosistisette at gmail.com
Thu Aug 18 10:39:44 CEST 2011


Hi,

I was wondering if I can receive a RTSP video stream  in Gem and use
it as you would use any video source.
In Windows.

I came across this
http://lists.puredata.info/pipermail/gem-dev/2006-07/002056.html and I
thought it may work in Windows too, since I have quicktime installed
and Gem is using (also) the quicktime backend.

I opened the stream in Quick Time Player Pro and saved it to a .mov
file with the option that only saves a reference to the original
media. I guess (and hope) this saves into the mov file really a link
to the url.

When I open it in Gem with pix_film it almost seems to work in that I
get the "loaded file..." message on the console, the second outlet
outputs the correct width and height of the stream and duration "1",
but no texture is shown. I tried to re-send 1 to the frame number, I
tried with a  [px_buf], but nothing works.

I feel like I'm almost there, since it reads the video size correctly.
Strangely enough pix_info always outputs "1" for the "new frame" and
"new file" flags even without a bix_buf...........

Any idea?
Thanks in advance
m.


-- 
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com



More information about the Pd-list mailing list