Hi,

you should also consider using pdgst and it's pix_gst2pix external
it works well on Ubuntu 10.04, it should on Mac OS X but I don't know for Windows
it might be a good occasion to test it !

+
a.

Message: 2
Date: Thu, 18 Aug 2011 10:39:44 +0200
From: matteo sisti sette <matteosistisette@gmail.com>
Subject: [PD] playing a RTSP video stream in GEM (and getting it to
       work)
To: PD List <pd-list@iem.at>
Message-ID:
       <CAOpmv_N-dA2mT+f_p8-xiK2u_0eAMWCrUKAGn8YoAmZw3xFTeQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

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@gmail.com
http://www.matteosistisette.com



------------------------------

_______________________________________________
Pd-list mailing list
Pd-list@iem.at
to manage your subscription (including un-subscription) see
http://lists.puredata.info/listinfo/pd-list


End of Pd-list Digest, Vol 77, Issue 36
***************************************