Coder Social home page Coder Social logo

VideoFileClip error about moviepy HOT 9 CLOSED

zulko avatar zulko commented on May 18, 2024
VideoFileClip error

from moviepy.

Comments (9)

Zulko avatar Zulko commented on May 18, 2024

Thanks for the feedback. It's a strange error, like if FFMPEG couldn't read the first frame of the file. One possible reason would be that you don't have a recent version of ffmpeg (if you are on ubuntu/debian, the version in the repos is deprecated, you need to download a recent version on the website).

If it's not that, could you provide a file for which it doesn't work ?

from moviepy.

Zulko avatar Zulko commented on May 18, 2024

Huh, fixed ?

from moviepy.

 avatar commented on May 18, 2024

That has got to be the fastest fix ever. It was what you said.

from moviepy.

Zulko avatar Zulko commented on May 18, 2024

Yeah ! I will see what I can do to improve the error messages. This one really sucks.

from moviepy.

stuaxo avatar stuaxo commented on May 18, 2024

Hi,
I realise this is closed - however I get the same error on Ubuntu 14.04 - I think it's because Ubuntu uses libav, which being a fork is slightly incompatible with ffmpeg.

These two are probably going to remain forks for a couple of years, is it possible to support libavs ffmpeg library ?

from moviepy.

Zulko avatar Zulko commented on May 18, 2024

Hi,
I didn't understand, did you install the last version of ffmpeg ? It is straightforward, you just download the binary on the website and copy it in usr/bin.

from moviepy.

stuaxo avatar stuaxo commented on May 18, 2024

Ah in the end I tried this. Just with the default ffmpeg it doesn't work, was wondering if it's possible for it to work with the default setup.

from moviepy.

Zulko avatar Zulko commented on May 18, 2024

Just to be sure, it worked when you updated ffmpeg, right ?

I don't think it is a good idea to try and make it work with avconv. I spent a lot of time understanding the subtleties of ffmpeg (it's trickier than it seems) and I really don't want to spend more time doing support for avconv. I believe that using one single software like ffmpeg (i chose ffmpeg over avconv because it is more common on all platforms) makes the code more coherent, I would have to code alternative commands for almost all the i/o functions if we were to make moviepy avconv-compatible.

The current situation is only damaging for Ubuntu/Debian users (I am on Ubuntu, btw), but that is because the packagers have decided to completely deprecate ffmpeg, even in the repos, which is completely nuts imho.

from moviepy.

stuaxo avatar stuaxo commented on May 18, 2024

It did work with ffmpeg in the end.

Given enough time the forks will reconcile I guess.

from moviepy.

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.