Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Ads
Tom's Hardware > Forum > Linux/Free BSD > General Discussion > Windows has directshow, linux has...?

Windows has directshow, linux has...?

Forum Linux/Free BSD : General Discussion Windows has directshow, linux has...?

Word :    Username :           
 

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?

Reply to stealth_blade
Register or log in to remove.
- 0 +

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

Reply to pheeror
- 0 +

v4l and v4l2

aka video 4 linux


check out http://www.videolan.org/

camstream

http://www.mplayerhq.hu/design7/news.html

ffmpeg

and last but not least search http://freshmeat.net/

no need to re-invent the wheel unless you really really have to.

GL :-D

Reply to linux_0

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. :)

Reply to stealth_blade
- 0 +

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

Reply to Zorak
- 0 +

@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 ).

Reply to linux_0

Mplayer can also access any v4l/v4l2 stream as well. This allows a Linux user to use Mplayer to do things like take in raw video feeds from webcams and video capture cards.

http://mplayer.hu

Reply to MU_Engineer
Register or log in to remove.
Tom's Hardware > Forum > Linux/Free BSD > General Discussion > Windows has directshow, linux has...?
Go to:

There are 2113 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
  • Ask the community now
  • Publish
Ad
Ads
Latest best answer
Dual Boot Windows 7 and Ubuntu 12.04
By ijack, 4 days ago:

To get the best performance and lifetime from your SSD you should plan a little more...

Best offers
They won a badge
Join us in greeting them
Top experts