Re: [PD] Mix two video streams and add DSK

2010-10-06 Thread Simon Wise

On 06/10/10 08:49, Simon Wise wrote:

On 03/10/10 16:37, Jamie Bullock wrote:

Latency was the reason I switched to this system, the performance was
set in a kind of low budget live TV studio, so with a camera on a person
speaking the DV delay was unacceptable, the lip-sync was way too far off
between the live actors voice and the image.



This project is to port a piece originally done with Max/Jitter to a
Pd-based system. The main complaints they had were video quality and
latency, so those are problems we need to solve.


Another note re video quality ...

The choice of graphics card, and the speed of the motherboard (i.e. how fast you 
can move data between drives, PCI bus, CPU and graphics cards) are important 
choices for video quality. The motherboard choice is tricky as some of the 
faster boards for this kind of work are aimed at gamers, and maybe not so well 
supported in Linux.


An Nvidia card with propriety driver is probably still the only way to go to 
give you reasonable control over the various scaling and syncing options to get 
the highest quality .. smooth scaling and no tearing etc.


The Intel graphics option may also be worth checking out, their drivers are 
properly open and much easier to keep up to date ... and they have been getting 
much better in the last year or so. I haven't explored this yet.


Forget ATI for this kind of work in Linux now .. maybe a year or more down the 
track this could change, maybe not.


Simon

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mix two video streams and add DSK

2010-10-05 Thread Simon Wise

On 03/10/10 16:37, Jamie Bullock wrote:



In terms of latency, I get the impression this is a function of the video
capture method used...

@Simon, can you tell me which PCI card you are using?


This was a few years ago, I guess the current versions would be PCIe instead
it was a Euresys Picolo Tetra  .. 4 chips on the card, each of which switch 
between 4 inputs .. there are 4 BNC connectors on the card, plus extension 
panels with 4 BNC each for up to 16 BNC total, or make your own panel if you 
prefer. A nice features is that each connection has a separate termination 
switch, so it is fine to connect some of them in parallel, and since switching 
between the source is accessible from inside GEM you can get a very flexible 
mixer going.


It wasn't cheap, but I was very happy with it (and the overall system was hugely 
cheaper than any digital vision mixer capable of doing what I wanted). The 
company does industrial control systems using linux, so all the drivers were 
fine .. but actually the standard v4l ones worked well as I didn't need the 
extra features accessible via their drivers. I could do 4 simultaneous 640x480 
feeds, and the CPU usage sending them directly to the screen was quite 
reasonable, allowing several other 1024x768 streams to be played from the disks. 
GEM (or rather openGL and the graphics card) scales the image very nicely. With 
the good cameras the image was very nice, though with any composite video there 
is not much information at better than 320x240 and it was hard to see any 
difference going to 640x480, the quality going via DV was better simply because 
DV is a cleaner, higher resolution, transfer than composite. The quality 
depended on the camera, not the capture. Various high definition capture systems 
exist, often very expensive.


Latency was the reason I switched to this system, the performance was set in a 
kind of low budget live TV studio, so with a camera on a person speaking the DV 
delay was unacceptable, the lip-sync was way too far off between the live actors 
voice and the image.




This project is to port a piece originally done with Max/Jitter to a Pd-based
system. The main complaints they had were video quality and latency, so those
are problems we need to solve.



Simon

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mix two video streams and add DSK

2010-10-03 Thread Jamie Bullock

Thanks Alexandre and Simon,


It sounds like technically the task is a trivial one, thanks for the tips.

In terms of latency, I get the impression this is a function of the video 
capture method used...

@Simon, can you tell me which PCI card you are using? 

This project is to port a piece originally done with Max/Jitter to a Pd-based 
system. The main complaints they had were video quality and latency, so those 
are problems we need to solve.

All best,

Jamie

--
http://www.jamiebullock.com



On 2 Oct 2010, at 16:13, Alexandre Castonguay wrote:

 Hi Jamie,
 
 I think it's easy to do with any of the externals handling video but here is 
 a tutorial :
 
 http://en.flossmanuals.net/PureData/GEMVideoMixer
 
 I would simply add a [gemhead] - [text2d] chain to it.
 
 Cheers,
 
 Alexandre
 
 
 Le 10-10-02 09:43, Jamie Bullock a écrit :
 Hi,
 
 Does anyone know if it is possible with Pd+externals to mix 2 video streams 
 (with the ability to crossfade between), and add a textual overlay on the 
 mixed image (downstream keying)?
 
 Is this possible with Gem? Gridflow?
 
 If this is indeed possible, what sort of latency could I achieve from input 
 to output?
 
 Platform isn't an issue, I could use Linux, Mac OS or Windows  -- whichever 
 gives the best performance.
 
 Any advice appreciated.
 
 Jamie
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -  
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mix two video streams and add DSK

2010-10-03 Thread Alexandre Castonguay

 Hi Jamie,


The only experience I had with 2 simultaneous live feeds was with 
Hauppage PCI cards (analog signal in @ 640 x 480).   Otherwise, DV input 
works in GEM but I only had one available port.  With multiple live 
feeds or heavy video manipulation, you have to expect decreased image 
quality and latency, how much of it depends on your budget. It would be 
cool to benchmark what the best speed/resolution available would be once 
you build it.


Another solution is for the users to realize that there is intrinsic 
value in latency and glitches (both aesthetic and political) and find a 
way to somehow incorporate it in the work.  There is a good text on this 
by one of the recent subscribers to the list.


Cheers,

Alexandre






Le 10-10-03 04:37, Jamie Bullock a écrit :

Thanks Alexandre and Simon,


It sounds like technically the task is a trivial one, thanks for the tips.

In terms of latency, I get the impression this is a function of the video 
capture method used...

@Simon, can you tell me which PCI card you are using?

This project is to port a piece originally done with Max/Jitter to a Pd-based 
system. The main complaints they had were video quality and latency, so those 
are problems we need to solve.

All best,

Jamie

--
http://www.jamiebullock.com



On 2 Oct 2010, at 16:13, Alexandre Castonguay wrote:


Hi Jamie,

I think it's easy to do with any of the externals handling video but here is a 
tutorial :

http://en.flossmanuals.net/PureData/GEMVideoMixer

I would simply add a [gemhead] -  [text2d] chain to it.

Cheers,

Alexandre


Le 10-10-02 09:43, Jamie Bullock a écrit :

Hi,

Does anyone know if it is possible with Pd+externals to mix 2 video streams 
(with the ability to crossfade between), and add a textual overlay on the mixed 
image (downstream keying)?

Is this possible with Gem? Gridflow?

If this is indeed possible, what sort of latency could I achieve from input to 
output?

Platform isn't an issue, I could use Linux, Mac OS or Windows  -- whichever 
gives the best performance.

Any advice appreciated.

Jamie
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -   
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Mix two video streams and add DSK

2010-10-02 Thread Jamie Bullock

Hi,

Does anyone know if it is possible with Pd+externals to mix 2 video streams 
(with the ability to crossfade between), and add a textual overlay on the mixed 
image (downstream keying)?

Is this possible with Gem? Gridflow?

If this is indeed possible, what sort of latency could I achieve from input to 
output? 

Platform isn't an issue, I could use Linux, Mac OS or Windows  -- whichever 
gives the best performance.

Any advice appreciated.

Jamie
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mix two video streams and add DSK

2010-10-02 Thread Alexandre Castonguay

 Hi Jamie,

I think it's easy to do with any of the externals handling video but 
here is a tutorial :


http://en.flossmanuals.net/PureData/GEMVideoMixer

I would simply add a [gemhead] - [text2d] chain to it.

Cheers,

Alexandre


Le 10-10-02 09:43, Jamie Bullock a écrit :

Hi,

Does anyone know if it is possible with Pd+externals to mix 2 video streams 
(with the ability to crossfade between), and add a textual overlay on the mixed 
image (downstream keying)?

Is this possible with Gem? Gridflow?

If this is indeed possible, what sort of latency could I achieve from input to 
output?

Platform isn't an issue, I could use Linux, Mac OS or Windows  -- whichever 
gives the best performance.

Any advice appreciated.

Jamie
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list