Thanks for the response Chris,

I've got Darwin Streaming Server working with Quicktime Broadcaster at the
moment, and I can view the stream in Quicktime using the rtsp
url rtsp://[machine name].local/mystream.sdp. But when I try to open that
using the Movie Importer in Quartz it just freezes and then crashes after a
while. I have set the Movie Importer to Asynchronous to allow for streaming
content, but it's still not loading the video.

In the future I want to use Wowza to encode the stream, but that's not as
important as getting it working at all!

Regards,
Charlie

On 6 January 2012 11:22, Chris Wood <pson...@gmail.com> wrote:

> I've used an external webcam before for a project, but it was a
> network camera that supported video streaming. I found it easiest to
> get it working in quicktime first - if you can get the stream playing
> in quicktime it should work in QC too, and quicktime removes the
> possibility that something else is wrong in your composition and you
> waste days thinking it's the camera.
>
> What you have to do is get the UNC path for the video stream. For my
> camera it was rtsp://(ip address)/video.mp4 In quicktime you can test
> if the stream is compatible by going file->open location and adding
> the path there.
>
> Then in QC, you just feed that path to the Movie Importer.
>
> It'll show the quicktime logo while it connects and then start
> streaming. If you're recording, you'll want to remove the logo from
> the recorded output, and you'll want to detect + fix connection
> interruptions - this gave me huge headaches! The quicktime logo is in
> low resolution, so it's likely the output resolution will change when
> the actual streaming starts. That's easy to detect and handle.
>
> If there's a connection interruption (likely with a network camera!)
> then in some cases it'll automatically handle it, in others it'll just
> continue outputting the last frame forever. I handled this by using a
> 2-member queue and a core image filter to get the difference between
> the current and last frames (the filter is something like "output =
> abs(currentFrame - lastFrame)"). I then used the Area Maximum patch to
> get the highest value, and an Image Pixel to get the actual value. A
> video stream will always have a non-zero value, so if you detect a
> zero you can reset the movie importer (it has a Reset Signal that will
> restart the stream).
>
> Hope that helps a bit!
>
> Chris
>
>
> On 6 January 2012 11:02, Charlie Francis <charl...@cellcastonline.com>
> wrote:
> > Hi guys,
> >
> > I was just wondering if it's possible to be able to pull in an external
> > webcam stream and display it through quartz. I have tried to use
> Quicktime
> > Broadcaster, but I keep getting a connection error whenever I try and
> start
> > broadcasting. Windows users need to be able to broadcast to it as well.
> >
> > I've had a look through Kineme's forum but can't find anything helping me
> > display the stream.
> >
> > Thanks!
> >
> >  _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com
> )
> > Help/Unsubscribe/Update your Subscription:
> >
> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com
> >
> > This email sent to pson...@gmail.com
> >
>



-- 
Charlie Francis
Senior Engineer
*Cellcast UK Ltd*
150 Great Portland Street
London
W1W 6QD
UK
T. +44 (0)203 376 9420M.+44 (0)7988 509 614 e.char...@cellcast.tv
www.cellcast.tv

The Cellcast Group is a leader in the provision of participation television
programming and interactive mobile content in the rapidly growing
multi-platform digital entertainment sector.

Our services enable broadcasters, content developers, media ventures, 3G
services and mobile networks to participate in the accelerating convergence
of Television, IT and Telecommunications.

Company Registration No. 04327957 (England and Wales)

This message is confidential. It may also contain information that is
privileged and not authorised to be disclosed. If you are not the intended
recipient, be advised that you have received this email in error and that
any use, dissemination, forwarding, printing or copying of this email is
strictly prohibited. If you have received it by mistake please notify the
sender immediately and delete it from your system.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to