[vlc-devel] [PATCH v2 0/3] Add thumbnailing support to libvlc & libvlccore

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Oct 15 16:32:05 CEST 2018


Hi,

This patchset is a second attempt at addressing
https://trac.videolan.org/vlc/ticket/17368
It simplifies the generation of a thumbnail, and improves the overall
performances of the said generation (≃2x faster for 4K content & ≃6x
faster for 720p compared to the libvlc_video_take_snapshot approach)

Changes since v1:
- Let the use chose between time/position based seek
- Allow the seek to be fast or precise
- Misc cleanup

Regards,

Hugo Beauzée-Luyssen (3):
  lib: Add libvlc_picture API
  core: Add a thumbnailing API
  lib: Add thumbnailing support

 include/vlc/libvlc_events.h  |   9 ++
 include/vlc/libvlc_media.h   |  55 ++++++++++
 include/vlc/libvlc_picture.h | 127 +++++++++++++++++++++
 include/vlc/vlc.h            |   1 +
 include/vlc_input.h          |  11 ++
 include/vlc_thumbnailer.h    | 107 ++++++++++++++++++
 lib/Makefile.am              |   5 +-
 lib/audio.c                  |   1 +
 lib/libvlc.sym               |  11 ++
 lib/libvlc_internal.h        |   1 +
 lib/media.c                  |  86 +++++++++++++++
 lib/media_discoverer.c       |   1 +
 lib/media_list.c             |   1 +
 lib/media_list_player.c      |   1 +
 lib/media_player.c           |   1 +
 lib/picture.c                | 137 +++++++++++++++++++++++
 lib/picture_internal.h       |  46 ++++++++
 lib/video.c                  |   1 +
 src/Makefile.am              |   2 +
 src/input/decoder.c          |  45 +++++++-
 src/input/es_out.c           |   5 +-
 src/input/input.c            |  19 +++-
 src/input/input_internal.h   |   1 +
 src/input/thumbnailer.c      | 206 +++++++++++++++++++++++++++++++++++
 src/input/var.c              |   2 +
 src/libvlc.c                 |   6 +
 src/libvlc.h                 |   1 +
 src/libvlccore.sym           |   5 +
 28 files changed, 885 insertions(+), 9 deletions(-)
 create mode 100644 include/vlc/libvlc_picture.h
 create mode 100644 include/vlc_thumbnailer.h
 create mode 100644 lib/picture.c
 create mode 100644 lib/picture_internal.h
 create mode 100644 src/input/thumbnailer.c

-- 
2.19.1



More information about the vlc-devel mailing list