Windows has directshow, linux has...?

stealth_blade

Distinguished
Mar 16, 2003
143
0
18,680
I'm looking to write a program to among other things do video capture from a usb webcam. Now, if I was working in windows I'd use directshow, but I'm actually developing for linux.

My question is then, is there something similar to direct show in linux?
 

pheeror

Distinguished
Apr 1, 2007
6
0
18,510
No.
And there is one more generic problem. Linux desktop is devided to GNOME (gtk) and KDE (qt). QT is there for longer time afaik ;-). Devs are trying to work this out, but it's very very hard.

Back to topic, afaik there isn't something like DS in KDE, neither in GNOME. In KDE4 there will be phonon.

PS: is that use of 'neither' gramatically correct? thx
 

stealth_blade

Distinguished
Mar 16, 2003
143
0
18,680
I'd spent some time looking through the QT api, and I was starting to suspect that nothing like DS existed.

Looks like I'll be playing with v4l2 and a couple demo apps provided by the uvc team.

Thanks for the replies and links. :)
 

Zorak

Distinguished
Mar 20, 2006
505
0
18,990
in response to the grammatical question: the answer is no.

The word you want to use there is 'nor' :D

I was interested in the topic and wanted to contribute somehow but all the other gurus beat me to the punch! :wink:

-Zorak
 

linux_0

Splendid
@Zorak :lol:


@Stealth_Blade in case you were unaware of this VLC can stream the video and or capture to a file for you ( it can do either or both at the same time ).