ChinnaSuhas / ossbuild

Automatically exported from code.google.com/p/ossbuild
Other
0 stars 1 forks source link

Source and sink plugins' rank #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to agree in the rank for some plugins.

For windows we have actually 2 video sink plugins:
Directdraw sink: Less performant but implements the XOverly Expose()
function. That alloww, for example, refresh the current frame after a seek
when the pipeline is paused
Dshowvideosink: Better performance but doesn't update frames after a seek

Audio sinks:
directsoundsink: The best one
waveformsink: People has complained about this plugin in the forum for
example using the following pipeline: dshowaudiosink ! audioconvert !
waveformsink, which works with the directsoundsink

Audio sources:
dshowaudiosrc: Doesn't outputs a clean stream in Windows 7
directsoundsink: Seems to be working fine 

Video sources:
Dshowvideosrc: Needs to be backported, the one from the last release is not
working anymore
winks: I haven't tested it on Vista/7, but it might not work.

Original issue reported on code.google.com by ylatuya on 11 Feb 2010 at 7:42

GoogleCodeExporter commented 9 years ago
I think we should implement the xoverlay functionality in dshowvideosink and 
submit 
the patch or add a feature request that it be implemented. Mike in IRC is the 
best 
person to talk to about it - he's really the only one doing Windows development 
work 
in gst right now.

I would support whatever you believe to be the best video sink (highest 
ranking).

As for audio sinks, we should identify and submit the bugs to the gst folks (if 
we 
can). Directsoundsink sounds like the optimal default (highest ranking) choice.

I have zero experience w/ dshowvideosrc/winks so I cannot speak to either one 
of 
them. Again, your experience is what we should go with. If you send me some 
example 
winks pipelines, I can test them out on windows 7 when I can. I have a webcam I 
can 
use. Is there another way to test it out that doesn't require physical devices?

Original comment by david.g.hoyt on 11 Feb 2010 at 8:32

GoogleCodeExporter commented 9 years ago
I filled a bug reagarding dshowvideosink a long time ago:
https://bugzilla.gnome.org/show_bug.cgi?id=579926

I have no experience with DirecShow either ;) I'll see if I can work on it as 
well as
with the source element

Original comment by ylatuya on 11 Feb 2010 at 8:42

GoogleCodeExporter commented 9 years ago
dshowvideosrc and winks both worked on my logitech stx webcam on windows 7 x64. 
It's 
possible that the cameras that don't work have buggy or bad directshow plugins.

I couldn't get dshowaudiosrc working, but I must have something wrong in my 
pipeline. I'm using:

gst-launch dshowaudiosrc num-buffers=4 ! audioconvert ! audioresample ! faac ! 
mp4mux ! filesink location=test.mp4

It's recording nothing. But it's a valid file. :|

Original comment by david.g.hoyt on 12 Feb 2010 at 7:34

GoogleCodeExporter commented 9 years ago
https://bugzilla.gnome.org/show_bug.cgi?id=579926 -> Fixed!!!
I'm cleaning-up the patch will send it upstream ASAP

Original comment by ylatuya on 13 Feb 2010 at 6:09

GoogleCodeExporter commented 9 years ago
With dshowaudiosrc you need to specify the device name using the "device-name" 
property. The directshowsrc one seems to be working better anyway.
I close this issue, which is now handled in r551 and r552

Original comment by ylatuya on 22 Mar 2010 at 11:20