Page 1 of 1

dshow capture problems in 0.7.0-test1

Posted: 28 Nov 2003 09:50
by Paul Forgey
I'm trying to stream from a directshow source. This works OK with the default settings, however it's always at 320x240. If I specify '320x240' as a size, it appears to get the chroma wrong (I left it unspecified). If I leave the size unspecified, I get 320x240 with things working fine. If I specify 640x480, VLC crashes.

Is setting the size known to not work? Is there any way I can get full 640x480?

Posted: 28 Nov 2003 10:11
by NoshBar
Hey,

just thought I'd say that if I specifiy the 640x480 as the size, the chroma is wrong, but VLC doesn't crash.

So uh, yeah, nothing worthwhile really, just saying a stupid "mE toO!"

Posted: 28 Nov 2003 10:40
by The DJ
This is a known problem.

Posted: 28 Nov 2003 22:26
by Gibalou
Well, I for one didn't know about this ;)

Could you have a look at the debug messages.
There should be the full list of supported modes (sizes, chroma) somewhere. Only the sizes shown in there will work.

But it still means that there is a check that isn't done correctly in the code and that vlc is using the size you provided while the directshow input uses one of the supported size... I'll have a look at this.

Posted: 28 Nov 2003 23:42
by Guest
And indeed 640x480 (aka VGA) is not a supported size. But the chroma is still screwed up when specifying a (well, the) supported size. That's too bad the DirectShow filter is limited to this, because the hardware is very capable of going 640x480. Maybe time to switch to v4l.

dshow debug: found device: LifeView WDM Video Capture
dshow debug: using device: LifeView WDM Video Capture
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240

Posted: 29 Nov 2003 00:47
by The DJ
Well, I for one didn't know about this ;)

Could you have a look at the debug messages.
There should be the full list of supported modes (sizes, chroma) somewhere. Only the sizes shown in there will work.

But it still means that there is a check that isn't done correctly in the code and that vlc is using the size you provided while the directshow input uses one of the supported size... I'll have a look at this.
Someone was in and reported this a couple of days ago. i thought you were there? anyway. i'm so swamped at the moment, i mix up everything.

Posted: 29 Nov 2003 04:49
by Paul Forgey
I'm actually not certain the results of the enumeration are correct.. The PVR application which comes with the card uses the same DirectShow drivers to both overlay and compress into an MPEG stream full 640x480.

Posted: 03 Dec 2003 01:49
by adn
Someone was in and reported this a couple of days ago. i thought you were there? anyway. i'm so swamped at the moment, i mix up everything.
Yep, it was me and another on the IRC :)