On GNU/Linux we use GStreamer, on Windows we use DirectShow, and on macOS we use QuickTime (up to 10.8) or AVFoundation (10.9+).