Giter VIP home page Giter VIP logo

Comments (17)

kingslay avatar kingslay commented on June 12, 2024 1

目前filter都只能软解
支持硬解的filter很少 而且我还没调通。
昨晚合入main分支了

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

需要改下FFmpegKit

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

需要改下FFmpegKit

方便解决嘛?或者给我个Guide,我自行解决。

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

这属于技术支持,需要成为Sponsors才可以享受。你可以参考下这个项目的Sponsor tier。

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

tier?这个选项$30 a month吗?

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

是的

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

是的

没问题。我先描述一下我的需求:

  1. 可以对视频实时使用滤镜效果:boxblur 和 gblur。
  2. 可以动态的修改模糊参数,以展示不同的模糊效果。
    上述需求可以解决和满足吗?成为赞助者随时执行。
    期待您的回复。

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

我只是能够为这个库增加boxblur 和 gblur这两个filter。具体filter要如何操作是要你这里来实现。我提供的是ffmpeg标准的filter。

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

我只是能够为这个库增加boxblur 和 gblur这两个filter。具体filter要如何操作是要你这里来实现。我提供的是ffmpeg标准的filter。

没问题。
关于我需求的第二条的意思是,ffmpeg支持动态修改滤镜的参数吧。 比如模糊半径,需要确认一下。

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024
截屏2024-01-19 11 55 06

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

已赞助,滤镜的需求问题,期待您的技术支持。
有进展请及时沟通。

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

@hippiefox filter已经添加了。你试下。videoFilters是可以实时修改的

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024
截屏2024-01-22 10 47 05 截屏2024-01-22 10 47 59 截屏2024-01-22 10 48 15 截屏2024-01-22 10 48 34 截屏2024-01-22 10 49 19 还是没有滤镜的效果呢?求指点。

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

FFmpegKit 你先用 f411a5e 这个commit。 最新的分支,没有包含boxblur这个 filter

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

代码: options.videoFilters = ["boxblur=50:5"] 语法参照的地址
控制台:error KSPlayer: MEPlayerItem.swift:131 MEPlayerItem | Impossible to convert between the formats supported by the filter 'in' and the filter 'auto_scale_0'
表现:视频无模糊效果。
Q:是我的使用方法不对吗?或者能否给我一下使用boxblur再KSPlayer应用的写法示例吗?

from ksplayer.

kingslay avatar kingslay commented on June 12, 2024

你有设置 options.hardwareDecode = false
了吧

from ksplayer.

hippiefox avatar hippiefox commented on June 12, 2024

你有设置 options.hardwareDecode = false 了吧

设置后就好了。
Q1: em...我目前的理解是:用滤镜就把硬件解码给关掉,这个理解对不对。
Q2:这个滤镜的特性,后续啥时候会加入到主流的版本,以保持项目可以用到最新的特性的FFMpegKit的包。

from ksplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.