[mythtv-commits] [MythTV/mythtv] eba8ba: Add Video4Linux codecs (decoder) support

Mark Kendall noreply at github.com
Wed Jul 10 18:35:18 UTC 2019


  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: eba8bab152c28be45022f16916ab7acac0d6206a
      https://github.com/MythTV/mythtv/commit/eba8bab152c28be45022f16916ab7acac0d6206a
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M mythtv/configure
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/mythcodeccontext.cpp
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mythcodecid.cpp
    M mythtv/libs/libmythtv/mythcodecid.h
    M mythtv/libs/libmythtv/mythframe.h
    A mythtv/libs/libmythtv/mythv4l2m2mcontext.cpp
    A mythtv/libs/libmythtv/mythv4l2m2mcontext.h
    M mythtv/libs/libmythtv/mythvaapicontext.cpp
    M mythtv/libs/libmythtv/mythvaapicontext.h
    M mythtv/libs/libmythtv/videoout_null.cpp
    M mythtv/libs/libmythtv/videoout_opengl.cpp

  Log Message:
  -----------
  Add Video4Linux codecs (decoder) support

- tested on a Pi3 (H264, MPEG4, MPEG2) but should get some hardware
decoding working on other SoCs
- only 'copy back' support at present. DRM PRIME support may be added
for copy free rendering - and hopefully improved performance
- the main problem  in testing is that the Pi3 VC4 drivers do not return
any interlacing flags (kernel source tree checked) - so interlacing is
not autodetected.
- there is some static initialisation to ensure the v4l2-dec decoder
isn't available where not supported - but the check may need
improvement.
- HEVC not tested (no Pi4 here) or indeed the VC6 drivers
- requires the open source Pi drivers to be enabled.


  Commit: 5162cc0cebd1f22da697c3f2f2609d67d546e944
      https://github.com/MythTV/mythtv/commit/5162cc0cebd1f22da697c3f2f2609d67d546e944
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.h
    M mythtv/libs/libmythtv/decoders/mythcodeccontext.h
    M mythtv/libs/libmythtv/mythv4l2m2mcontext.cpp
    M mythtv/libs/libmythtv/mythv4l2m2mcontext.h

  Log Message:
  -----------
  AvFormatDecoder: Pass optional AVDictionary options to avcodec_open2

- used to reduce the number of v4l2_m2m capture buffers


Compare: https://github.com/MythTV/mythtv/compare/d405de663958...5162cc0cebd1


More information about the mythtv-commits mailing list