My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 92: dshowvideosrc not working with DV camera
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Reported by, Oct 19, 2010
When trying "gst-launch dshowvideosrc ! queue ! decodebin ! autovideosink" without camera plugged in, everything works fine (with built-in webcam).

But, when I try to do the same with DV camera plugged in, I get this:

C:\Program Files\OSSBuild\GStreamer\v0.10.6\bin>gst-launch.exe dshowvideosrc ! queue ! decodebin ! autovideosink
0:00:05.366400000  4744   008D6BE8 ERROR          dshowvideosrc gstdshowvideosrc.cpp:897:gst_dshowvideosrc_getcaps_from_streamc
ps: Failed to retrieve IAMStreamConfig (error=0x80004002)
Setting pipeline to PAUSED ...
0:00:05.444400000  4744   008D6BE8 ERROR          dshowvideosrc gstdshowvideosrc.cpp:751:gst_dshowvideosrc_set_caps: Can't conn
ct capture filter with fakesink filter (error=0x80070057)
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstDshowVideoSrc:dshowvideosrc0: Could not negotiate format
Additional debug info:
..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2719): gst_base_src_start (): /GstPipeline:pipeline0/GstDshowVideoSrc:dsho
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
Oct 19, 2010
Project Member #1 ylatuya
That's a know bug in the dshowvideosrc element. You need to force the following caps:
"video/x-dv, systemstream=true"

The element exposes both systemstrem=true and systemstream=false, whilst it only provides the first one but negotiates with the second one. 

I'll try to fix it inverting the order in the get_caps() functions
Oct 19, 2010
Project Member #2 ylatuya
ohhh, and try using ffdemux_dv ! ffdec_dv instead, that will fix the negotiation issue too
Oct 19, 2010
Project Member #3 david.g.hoyt
Is there a bug filed upstream for this?
Mar 23, 2011
Project Member #4 david.g.hoyt
Is this fixed?
Sign in to add a comment

Powered by Google Project Hosting