GNOME Bugzilla – Bug 608274
DirectShow plugins broken for Windows 7
Last modified: 2014-09-23 16:49:33 UTC
The elements dshowvideosrc and dshowaudiosrc don't seem to work on Windows 7. This bug-reported was requested in gstreamer-devel post titled "Capturing audio on Windows?" (http://sourceforge.net/mailarchive/forum.php?thread_name=180a127d1001270629x141d5961od1556479a7b71927@mail.gmail.com&forum_name=gstreamer-devel). Example: C:\>set GST_DEBUG=dshowvideosrc:5 C:\>gst-launch-0.10 -v dshowvideosrc device-name="Built-in iSight" ! fakesink 0:00:00.173000000 2280 001E8EE0 LOG dshowvideosrc gstdshowvideosrc .c:629:gst_dshowvideosrc_get_caps: getcaps returned video/x-raw-yuv, width=(int) [ 640, 640 ], height=(int)[ 480, 480 ], framerate=(fraction)[ 5/1, 30/1 ], forma t=(fourcc)YUY2; video/x-raw-yuv, width=(int)[ 160, 160 ], height=(int)[ 120, 120 ], framerate=(fraction)[ 5/1, 30/1 ], format=(fourcc)YUY2; video/x-raw-yuv, wid th=(int)[ 176, 176 ], height=(int)[ 144, 144 ], framerate=(fraction)[ 5/1, 30/1 ], format=(fourcc)YUY2; video/x-raw-yuv, width=(int)[ 320, 320 ], height=(int)[ 240, 240 ], framerate=(fraction)[ 5/1, 30/1 ], format=(fourcc)YUY2; video/x-raw- yuv, width=(int)[ 352, 352 ], height=(int)[ 288, 288 ], framerate=(fraction)[ 5/ 1, 30/1 ], format=(fourcc)YUY2 0:00:00.180000000 2280 001E8EE0 LOG dshowvideosrc gstdshowvideosrc .c:629:gst_dshowvideosrc_get_caps: getcaps returned video/x-raw-yuv, width=(int) [ 640, 640 ], height=(int)[ 480, 480 ], framerate=(fraction)[ 5/1, 30/1 ], forma t=(fourcc)YUY2; video/x-raw-yuv, width=(int)[ 160, 160 ], height=(int)[ 120, 120 ], framerate=(fraction)[ 5/1, 30/1 ], format=(fourcc)YUY2; video/x-raw-yuv, wid th=(int)[ 176, 176 ], height=(int)[ 144, 144 ], framerate=(fraction)[ 5/1, 30/1 ], format=(fourcc)YUY2; video/x-raw-yuv, width=(int)[ 320, 320 ], height=(int)[ 240, 240 ], framerate=(fraction)[ 5/1, 30/1 ], format=(fourcc)YUY2; video/x-raw- yuv, width=(int)[ 352, 352 ], height=(int)[ 288, 288 ], framerate=(fraction)[ 5/ 1, 30/1 ], format=(fourcc)YUY2 Setting pipeline to PAUSED ... 0:00:00.182000000 2280 001E8EE0 ERROR dshowvideosrc gstdshowvideosrc .c:698:gst_dshowvideosrc_start: Can't create an instance of our dshow fakesink f ilter (error=-2147221164) ERROR: Pipeline doesn't want to pause. Setting pipeline to NULL ... Freeing pipeline ...
For log: HRESULT: 0x80040154 (2147746132) Name: REGDB_E_CLASSNOTREG Description: Class not registered Severity code: Failed Facility Code: FACILITY_ITF (4) Error Code: 0x0154 (340)
Note that DirectShow is deprecated anyway and replaced by MediaFoundation since Vista or something.
DirectShow might be deprecated but it still has life left in it considering many vendors haven't released MediaFoundation filters. These plugins are now ported to 1.0 in master, and they are working fine in Windows 7, so I suggest this be closed.