Code Monkey home page Code Monkey logo

Comments (3)

qyz777 avatar qyz777 commented on June 17, 2024

在编辑页面或者导出后拖拽播放视频。比如当前是 3.5 秒,拖拽后点击播放会从 3.4 秒的位置开始播放,会出现一个抖动的效果。
会不会和视频合成的格式这些有关系?

由于seek操作是通过改造了GPUImage2实现的,因此这个seek后抖动是因为GPUImage的seek方法实现的有问题。推测是由于拖动使seek队列堆积了太多的帧未处理,导致seek后播放会出现画面抖动的效果。具体实现在https://github.com/qyz777/GPUImage2/blob/master/framework/Source/iOS/MovieInput.swift 中,可以改造一下seek的逻辑,在播放前丢弃队列中进入的未处理的帧,来避免这个问题。

from qeditor.

huanglins avatar huanglins commented on June 17, 2024

导出的视频也会存在这样的问题,不知道是不是合成的视频内容里面有丢帧或者其他的情况,拖拽后重新播放就会先回退 0.1 秒再播放

from qeditor.

qyz777 avatar qyz777 commented on June 17, 2024

导出的视频也会存在这样的问题,不知道是不是合成的视频内容里面有丢帧或者其他的情况,拖拽后重新播放就会先回退 0.1 秒再播放

合成后还有问题看起来应该是视频连接的时候有bug

from qeditor.

Related Issues (2)

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.