Giter VIP home page Giter VIP logo

Comments (8)

cjrd avatar cjrd commented on August 28, 2024 2

There's another flush call that threw an error on my system:
https://github.com/Zulko/moviepy/blob/master/moviepy/audio/io/readers.py#L98

Commenting out this line fixed the problem.

from moviepy.

Zulko avatar Zulko commented on August 28, 2024

Thanks for the report. I have no idea what can cause this, but by googling around it seems that it is MacOS-related. Could you try to just comment away that line and reinstall ? If the program runs properly after this, I'll add a condition to skip that line on Macs.

from moviepy.

Zulko avatar Zulko commented on August 28, 2024

Could you also try VideoFileClip("some_file.mp4", audio=False) just to be sure that the problem is not just with the audio ?

from moviepy.

cjrd avatar cjrd commented on August 28, 2024

Commenting out that line and reinstalling seems to have worked, and the clip.audio was present.
Setting audio=False does not throw an error, but as expected, the audio was missing.

from moviepy.

Zulko avatar Zulko commented on August 28, 2024

Thanks, I'll try to correct that in the next commits. Cross-platform pipe operations are really a pain.

from moviepy.

Zulko avatar Zulko commented on August 28, 2024

I think it is now fixed in the github version. If you have the occasion, give it a try and tell me if it works for you.

from moviepy.

cjrd avatar cjrd commented on August 28, 2024

The current repo version worked without any modification.
Thanks!

from moviepy.

Zulko avatar Zulko commented on August 28, 2024

Cool. Thanks for the feedback.

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.