Opened 4 years ago

Closed 4 years ago

#4917 closed defect (needs_more_info)

Low framerate in directshow grabbing

Reported by: miro82 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: dshow
Cc: erik.sunden@liu.se Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi, It seems impossible to capture different devices in their native framerate using directshow in higher resolutions.

I have tested epiphan USB3 grabbers as well as hi-end professional PCIe datapath grabbers and get lower framerates than other directshow applications.

As example i get (on different computers and devices)

~43-48 fps when capturing 1080p60 content
~23 fps when capturing 2048x2048 at 30 Hz content
~12 fps when capturing UHD 3840x2160 at 30 Hz content

I have tested different ffmpeg releases (both GPL and custom LGPL) with the same results. The version I'm running right now is the following:

ffmpeg version N-75474-g74e4948 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
nable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-
libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
ble-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-
libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-lib
vo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-li
bwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --e
nable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      55.  2.100 / 55.  2.100
  libavcodec     57.  3.100 / 57.  3.100
  libavformat    57.  2.100 / 57.  2.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6.  6.100 /  6.  6.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100

Change History (2)

comment:1 Changed 4 years ago by cehoyos

  • Keywords dshow added

Please provide the command line you used for testing together with the complete, uncut console output to make this a valid ticket.

comment:2 Changed 4 years ago by cehoyos

  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if you can provide the missing information.

Note: See TracTickets for help on using tickets.