Coder Social home page Coder Social logo

Comments (4)

kolyvan avatar kolyvan commented on July 17, 2024

Just tested in on iPad 4.
In fact the problem in latest addition of avpicture_deinterlace. (
Try to comment it and will see difference.

from kxmovie.

matzr avatar matzr commented on July 17, 2024

Hi Konstantin,

I am going to test that straight away...
Mmmm, I might try to come up with a mechanism to evaluate how powerful the
device is, what the decoded resolution is and enable/disable deinterlacing
conditionally, then. It should be possible.
I will run some tests with lower end devices after that: iPad 2 / iPad 1
and see how they behave in regards to performance.
Again thank you for this amazing work.
Keep up the good work. I'll keep you updated to let you know how all this
goes.

Cheers,

Mathieu

On 15 January 2013 19:15, Konstantin Boukreev [email protected]:

Just tested in on iPad 4.
In fact the problem in latest addition of avpicture_deinterlace. (
Try to comment it and will see difference.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-12257342.

from kxmovie.

matzr avatar matzr commented on July 17, 2024

A bit more details about this perf issue.
It runs indeed fine without deinterlacing (even though it doesn't look great because of this line effect) on an iPhone 5 (A6 proc = 1.3 GHz Dual Core ARMv7s).
However, any device below these specs (that includes all iPad 1/2/3, iPhone 3/3gs/4/4s and all iPod to date) cannot playback these videos correctly, i.e. it stutters.

I have tried different compile flags for ffmpeg (especially enabling FPU through "--extra-cflags='-arch armv7 -mfpu=neon'") but it did not make any difference.

Now I am wondering how this can be achieved, given that I can play the same video file in other media players that seem to be using ffmpeg (iMediaPlayer for instance, which is available on the AppStore).

from kxmovie.

kolyvan avatar kolyvan commented on July 17, 2024

See 50cbe99 commit.
After build ffmpeg with neon support, the average performance increases about 30% for mpeg2 1440x1080 with enabled deinterlacing.
It almost enough for iPad 4.
But it's still unable to play this HD movie on iPhone 4S without stuttering.

from kxmovie.

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.