Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#3288 closed defect (invalid)

dshow uses deprecated windows fields

Reported by: Matt Owned by:
Priority: normal Component: avdevice
Version: git-master Keywords: dshow
Cc: donmoir@comcast.net Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,

I'm having issues with dshow, where some of the device configurations it reports appear to be invalid. When using the dshow list_options option it prints all the available configurations for the device:

C:\FFmpeg>ffmpeg -f dshow -list_options true -i video="HD Webcam C525"
ffmpeg version N-59453-gd52882f Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 30 2013 22:01:59 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --e
nable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable
-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enab
le-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx -
-enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.101 / 55. 22.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[dshow @ 02751dc0] DirectShow video device options
[dshow @ 02751dc0]  Pin "Capture"
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=320x176 fps=5 max s=320x176 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=320x176 fps=5 max s=320x176 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=544x288 fps=5 max s=544x288 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=544x288 fps=5 max s=544x288 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=752x416 fps=5 max s=752x416 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=752x416 fps=5 max s=752x416 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=864x480 fps=5 max s=864x480 fps=24
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=864x480 fps=5 max s=864x480 fps=24
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=960x544 fps=5 max s=960x544 fps=20
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=960x544 fps=5 max s=960x544 fps=20
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1024x576 fps=5 max s=1024x576 fps=15
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1024x576 fps=5 max s=1024x576 fps=15
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=800x600 fps=5 max s=800x600 fps=24
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=800x600 fps=5 max s=800x600 fps=24
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1184x656 fps=5 max s=1184x656 fps=15
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1184x656 fps=5 max s=1184x656 fps=15
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=960x720 fps=5 max s=960x720 fps=15
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=960x720 fps=5 max s=960x720 fps=15
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1280x720 fps=5 max s=1280x720 fps=10
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1280x720 fps=5 max s=1280x720 fps=10
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1392x768 fps=5 max s=1392x768 fps=10
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1392x768 fps=5 max s=1392x768 fps=10
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1504x832 fps=5 max s=1504x832 fps=7.5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1504x832 fps=5 max s=1504x832 fps=7.5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1600x896 fps=5 max s=1600x896 fps=7.5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1600x896 fps=5 max s=1600x896 fps=7.5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1280x960 fps=5 max s=1280x960 fps=7.5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1280x960 fps=5 max s=1280x960 fps=7.5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1712x960 fps=5 max s=1712x960 fps=5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1712x960 fps=5 max s=1712x960 fps=5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1792x1008 fps=5 max s=1792x1008 fps=5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1792x1008 fps=5 max s=1792x1008 fps=5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1920x1080 fps=5 max s=1920x1080 fps=5
[dshow @ 02751dc0]   pixel_format=yuyv422  min s=1920x1080 fps=5 max s=1920x1080 fps=5
[dshow @ 02751dc0]   vcodec=mjpeg  min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=320x176 fps=5 max s=320x176 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=320x176 fps=5 max s=320x176 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=544x288 fps=5 max s=544x288 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=544x288 fps=5 max s=544x288 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=752x416 fps=5 max s=752x416 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=752x416 fps=5 max s=752x416 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=960x544 fps=5 max s=960x544 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=960x544 fps=5 max s=960x544 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1184x656 fps=5 max s=1184x656 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1184x656 fps=5 max s=1184x656 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1392x768 fps=5 max s=1392x768 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1392x768 fps=5 max s=1392x768 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1504x832 fps=5 max s=1504x832 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1504x832 fps=5 max s=1504x832 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1280x960 fps=5 max s=1280x960 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1280x960 fps=5 max s=1280x960 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1712x960 fps=5 max s=1712x960 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1712x960 fps=5 max s=1712x960 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1792x1008 fps=5 max s=1792x1008 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1792x1008 fps=5 max s=1792x1008 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1920x1080 fps=5 max s=1920x1080 fps=30
[dshow @ 02751dc0]   vcodec=mjpeg  min s=1920x1080 fps=5 max s=1920x1080 fps=30
video=HD Webcam C525: Immediate exit requested

Yet, when I try a particular configuration (the last one here) it doesn't work:

C:\FFmpeg>ffplay -f dshow -video_size 1920x1080 -framerate 30 -vcodec mjpeg -i video="HD Webcam C525"
ffplay version N-59453-gd52882f Copyright (c) 2003-2013 the FFmpeg developers
  built on Dec 30 2013 22:01:59 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --e
nable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable
-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enab
le-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx -
-enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.101 / 55. 22.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[dshow @ 03fe65e0] Could not connect pins=    0KB sq=    0B f=0/0
video=HD Webcam C525: Input/output error

It's the same for most mjpeg configurations on the list. Sometimes it doesn't show this error, but simply gets stuck. Here's an example of a configuration that finally works.

C:\FFmpeg>ffplay -f dshow -video_size 1280x960 -framerate 30 -vcodec mjpeg -i video="HD Webcam C525"
ffplay version N-59453-gd52882f Copyright (c) 2003-2013 the FFmpeg developers
  built on Dec 30 2013 22:01:59 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --e
nable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable
-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enab
le-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx -
-enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.101 / 55. 22.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, dshow, from 'video=HD Webcam C525': 0KB sq=    0B f=0/0
  Duration: N/A, start: 18896.505000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p(pc), 1280x960, 30 tbr, 10000k tbn, 30 tbc
[swscaler @ 027af9c0] deprecated pixel format used, make sure you did set range correctly
18898.23 M-V:  0.000 fd=   1 aq=    0KB vq=  688KB sq=    0B f=0/0

I suspect it may be because dshow is using deprecated Windows structs. Most of the fields it uses in VIDEO_STREAM_CONFIG_CAPS are deprecated as listed here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd407352%28v=vs.85%29.aspx

Change History (16)

comment:1 by domingo, 10 years ago

Do you mean this one: "Logitech HD Webcam C525 720P HD Auto Focus"?
It is officially declared as capable of 1280x720 resolution only, so most probably the behaviour described in the ticket is "as designed".
Are you able to capture 1920x1080 by means of other software?

comment:2 by Matt, 10 years ago

I didn't try with other software, but I don't really care about that part since 1280x720 is good enough for me anyway. The issue is that dshow reports all these configurations which cannot work, e.g. 1920x1080 in this case.

I thought this was caused by using the deprecated fields, and if we moved to current MS methods of getting this info the information returned might be more accurate.

comment:3 by domingo, 10 years ago

The issue is not caused by deprecated fields because 1280x960 connection works fine.

comment:4 by Matt, 10 years ago

What else is causing it to report these incorrect configs? I imagine there's a better way of finding the supported configs that is more accurate?

Btw, it does support 1920x1080, just not when specifying -vcodec mjpec:

C:\FFmpeg>ffplay -f dshow -video_size 1920x1080 -framerate 5 -i video="HD Webcam C525"
ffplay version N-59453-gd52882f Copyright (c) 2003-2013 the FFmpeg developers
  built on Dec 30 2013 22:01:59 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --e
nable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable
-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enab
le-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx -
-enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.101 / 55. 22.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, dshow, from 'video=HD Webcam C525': 0KB sq=    0B f=0/0
  Duration: N/A, start: 89064.899000, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 5 tbr, 10000k tbn, 5 tbc
89068.96 M-V:  0.011 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

comment:5 by domingo, 10 years ago

ffmpeg just reports media types returned by webcam driver, which seems to output static tables. However webcam driver checks resolution and framerate upon connection and rejects unsupported ones. Anyway it is webcam software issue, not ffmpeg.

Btw, regarding resolution - pay attention on framerate. 1920x1080 is not supported at full 30 fps framerate. And again, webcam driver behaviour could heavily depend on AUTOFOCUS setting. Typically resolutions get restricted when autofocus is enabled.

comment:6 by DonMoir, 10 years ago

Just happened to get a Logitech HD Webcam C525 yesterday and I enumerate the sizes outside of ffmpeg and then feed those sizes to ffmpeg which works. The lowest supported size I see is 160x120 and highest is 1600x896 and they all work. Tried another program and listed the same range. Don't know where your higher resolutions are coming from unless driver you have installed is confused somehow. More than likely 1600x896 will work for you though. You say 1920x1080 works then with yuyv422 ?

comment:7 by DonMoir, 10 years ago

Cc: donmoir@comcast.net added

comment:8 by DonMoir, 10 years ago

The name of my logitech C525 is "Logitech HD Webcam C525" and with that name got same size range with ffplay as I mentioned in comment6.

Last edited 10 years ago by DonMoir (previous) (diff)

comment:9 by Matt, 10 years ago

Mine is also the Logitech C525. I'll try it on another computer to see what it reports. But yes, I was able to get 1920x1080 at 5fps (I didn't actually check the size that dshow returned, but ffplay played when I specified this size). Just try ffplay -f dshow -video_size 1920x1080 -framerate 5 -i video="HD Webcam C525".

Maybe it's the driver that's messed up, still we probably should not be using deprecated things.

What other software did you use to enumerate the possible configs? I couldn't find a free software that will do that.

comment:10 by Matt, 10 years ago

I just tried it on a different win7 64 bit computer and got identical results as posted. Did you try it on 64 bit? Maybe the webcams have different hardware revision or something.

comment:11 by DonMoir, 10 years ago

I used iSpy which is camera program and windows movie maker to get list and all same with mentioned resolutions. Also my internal resolution enumerator using dshow (not ffmpeg) comes up with same list.

When I try to list_options via ffplay I must use video="Logitech HD Webcam C525". Using just "HD Webcam C525" errors out saying device not found for me. Using XP now but can try Windows7 64bit later. Try using the full name "Logitech HD Webcam C525" and see what you get with that. The name difference is probably a clue though.

I tried with ffplay and 1920x1080 and said could not set video option.

Last edited 10 years ago by DonMoir (previous) (diff)

comment:12 by DonMoir, 10 years ago

Got same results name, resolutions, and everything on Win7 as you. Will look some more later.

Last edited 10 years ago by DonMoir (previous) (diff)

comment:13 by Matt, 10 years ago

Ok, so it was a driver issue.

Yesterday I got this driver update through windows update (http://catalog.update.microsoft.com/v7/site/ScopedViewInline.aspx?updateid=876bae8d-4a60-4423-a1d9-0d983b2b1e3a) and that made it work. This update is from 2012, so I don't know why I didn't get it before (maybe they read ffmpeg tickets...). It now reports only correct configurations and it changed the device name to "Logitech HD Webcam C525" like you had.

Here's what it shows:

C:\FFmpeg>ffmpeg -f dshow -list_options true -i video="Logitech HD Webcam C525"
ffmpeg version N-59453-gd52882f Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 30 2013 22:01:59 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --e
nable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable
-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enab
le-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx -
-enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.101 / 55. 22.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[dshow @ 0035f680] DirectShow video device options
[dshow @ 0035f680]  Pin "Capture"
[dshow @ 0035f680]   pixel_format=bgr24  min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=320x176 fps=5 max s=320x176 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=544x288 fps=5 max s=544x288 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=752x416 fps=5 max s=752x416 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=960x544 fps=5 max s=960x544 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1184x656 fps=5 max s=1184x656 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1392x768 fps=5 max s=1392x768 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1504x832 fps=5 max s=1504x832 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 0035f680]   pixel_format=bgr24  min s=1280x960 fps=5 max s=1280x960 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=320x176 fps=5 max s=320x176 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=544x288 fps=5 max s=544x288 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=752x416 fps=5 max s=752x416 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=960x544 fps=5 max s=960x544 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1184x656 fps=5 max s=1184x656 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1392x768 fps=5 max s=1392x768 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1504x832 fps=5 max s=1504x832 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 0035f680]   pixel_format=yuv420p  min s=1280x960 fps=5 max s=1280x960 fps=30
video=Logitech HD Webcam C525: Immediate exit requested

comment:14 by Matt, 10 years ago

Also, it does work at full 30fps at 1600x960 and the camera itself seems to have improved a bit with regards to frame rate.

Anyway, I don't seem to have the option to close the ticket. Please close it.

comment:15 by llogan, 10 years ago

Resolution: invalid
Status: newclosed

comment:16 by Roger Pack, 9 years ago

If this is still a problem with some device, please post here or email me rogerdpack@gmail.com

Note: See TracTickets for help on using tickets.