After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656160 - [dshowvideosrc] A modified version to fix USB Analog TV Tuner's/DVD Maker capture bug
[dshowvideosrc] A modified version to fix USB Analog TV Tuner's/DVD Maker cap...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Windows
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-08 14:29 UTC by Fabricio Costa Alisedo
Modified: 2018-11-03 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gstdshowvideosrc.cpp, gstdshowvideosrc.h modified, win32 binary dll (40.97 KB, application/octet-stream)
2011-08-08 14:42 UTC, Fabricio Costa Alisedo
  Details
Patch from git format-patch (6.49 KB, patch)
2011-08-10 12:16 UTC, Fabricio Costa Alisedo
needs-work Details | Review

Description Fabricio Costa Alisedo 2011-08-08 14:29:10 UTC
This modified version fixes the issue of dshowvideosrc for capturing USB Analog TV / TV Tuner devices with gstreamer.

With IGraphBuilder and ICaptureGraphBuilder2 and the method FindInterface, it correctly builds the upstream filters.

In the future it will be interesting to add an input selector for crossbar filters.

(Tested on Windows 7 32 bits and Sabrent USB Analog TV with a professional infrared security cam.)
Comment 1 Fabricio Costa Alisedo 2011-08-08 14:42:31 UTC
Created attachment 193420 [details]
gstdshowvideosrc.cpp, gstdshowvideosrc.h modified, win32 binary dll

i posted the binary just for testing, it works with the last OSSbuild binaries 10.6/10.7
Comment 2 David Schleef 2011-08-08 19:27:42 UTC
Please submit changes in the form of patches, preferably created with 'git format-patch'.  Otherwise it's very difficult to review changes.
Comment 3 Fabricio Costa Alisedo 2011-08-09 14:08:59 UTC
ok, thanks for the advice, i have a svn version, may i use it to create a patch to? using the diff command ?
Comment 4 Fabricio Costa Alisedo 2011-08-09 14:10:15 UTC
(In reply to comment #2)
> Please submit changes in the form of patches, preferably created with 'git
> format-patch'.  Otherwise it's very difficult to review changes.

ok, thanks for the advice, i have a svn version, may i use it to create a patch
to? using the diff command ?
Comment 5 Sebastian Dröge (slomo) 2011-08-10 09:22:56 UTC
Yes, a diff would definitely be an improvement
Comment 6 Fabricio Costa Alisedo 2011-08-10 12:16:06 UTC
Created attachment 193543 [details] [review]
Patch from git format-patch

Added Graph Builder and Capture Builder to correctly create upstream needed filters for Analog TV capture devices.
Comment 7 Andoni Morales 2012-12-01 16:31:52 UTC
Review of attachment 193543 [details] [review]:

The patch looks good to me except for some minor aesthetics changes. I have just tested it an it works great!

::: sys/dshowsrcwrapper/gstdshowvideosrc.cpp
@@ +620,3 @@
+  The filter graph now is created via the IGraphBuilder Interface   
+  Code added to build upstream filters, needed for USB Analog TV Tuners / DVD Maker, based on AMCap code.
+  by Fabrice Costa <fabricio.costa@moldeointeractive.com.ar>

Copyright notices should go on the top of the file.

::: sys/dshowsrcwrapper/gstdshowvideosrc.h
@@ -73,0 +73,5 @@
+  IGraphBuilder	*graph_builder;
+  ICaptureGraphBuilder2 *capture_builder;
+  IAMVideoCompression *pVC;
... 2 more ...

The commented lines should be removed if they are not used
Comment 8 Andoni Morales 2012-12-01 16:31:54 UTC
Review of attachment 193543 [details] [review]:

The patch looks good to me except for some minor aesthetics changes. I have just tested it an it works great!

::: sys/dshowsrcwrapper/gstdshowvideosrc.cpp
@@ +620,3 @@
+  The filter graph now is created via the IGraphBuilder Interface   
+  Code added to build upstream filters, needed for USB Analog TV Tuners / DVD Maker, based on AMCap code.
+  by Fabrice Costa <fabricio.costa@moldeointeractive.com.ar>

Copyright notices should go on the top of the file.

::: sys/dshowsrcwrapper/gstdshowvideosrc.h
@@ -73,0 +73,5 @@
+  IGraphBuilder	*graph_builder;
+  ICaptureGraphBuilder2 *capture_builder;
+  IAMVideoCompression *pVC;
... 2 more ...

The commented lines should be removed if they are not used
Comment 9 Sebastian Dröge (slomo) 2013-08-23 11:09:21 UTC
Comment on attachment 193543 [details] [review]
Patch from git format-patch

See Andoni's comments, please update and make sure it applies against latest GIT master and then it can be included
Comment 10 Fabricio Costa Alisedo 2013-08-23 15:20:23 UTC
(In reply to comment #9)
> (From update of attachment 193543 [details] [review])
> See Andoni's comments, please update and make sure it applies against latest
> GIT master and then it can be included

Ok, thanks for the comments, i'm checking it right now.
Comment 11 GStreamer system administrator 2018-11-03 13:08:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/43.