Giter VIP home page Giter VIP logo

Comments (9)

victorhcm avatar victorhcm commented on August 28, 2024 22

In case you had the same issue, here's the clean command:

# ffmpeg 3.4.1
conda install ffmpeg x264=20131218 -c conda-forge

# ffmpeg 4
conda install x264=='1!152.20180717' ffmpeg=4.0.2 -c conda-forge

from ffmpeg-feedstock.

vincentfpgarcia avatar vincentfpgarcia commented on August 28, 2024 2

Using latest package versions works fine too:

conda install -c conda-forge x264=='1!161.3030' ffmpeg=4.3.2

from ffmpeg-feedstock.

sdvillal avatar sdvillal commented on August 28, 2024

This should be solved once #48 is merged, at least for 4.0. Until then, a workaround is to downgrade x264 in your environment.

from ffmpeg-feedstock.

sdvillal avatar sdvillal commented on August 28, 2024

#48 is merged now.

from ffmpeg-feedstock.

sdvillal avatar sdvillal commented on August 28, 2024

@victorhcm x264=='1!152.*' should also work with the latest build of ffmpeg 3.4.1, we worked hard to ensure that is the case. Try this:

$ conda create -n testfff conda-forge::ffmpeg=3.4.1
$ conda activate testfff

$ conda list | grep -E "ffm|x26"
# ffmpeg                    3.4.1                hf82bc7d_4    conda-forge
# x264                      1!152.20180717       h470a237_0    conda-forge

$ ffmpeg 
# works!

I actually would discourage installing x264=20131218

from ffmpeg-feedstock.

Flamefire avatar Flamefire commented on August 28, 2024

@sdvillal I cannot confirm this:

$ conda list | grep -E "ffm|x26"
ffmpeg                    3.4.1                         0    conda-forge
x264                      1!152.20180806       h14c3975_0    conda-forge

$ ffmpeg 
ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No such file or directory

from ffmpeg-feedstock.

zhongyi-zhou avatar zhongyi-zhou commented on August 28, 2024

@victorhcm
I have tried your code for two conda envs.
One works but the other does not.

The code continuously stuck here, at least for half an hour:
image

from ffmpeg-feedstock.

zhongyi-zhou avatar zhongyi-zhou commented on August 28, 2024

@victorhcm
I have tried your code for two conda envs.
One works but the other does not.

The code continuously stuck here, at least for half an hour:
image

Problem solved by

conda update ffmpeg

from ffmpeg-feedstock.

Maltimore avatar Maltimore commented on August 28, 2024

I just had a similar problem to the one stated in the first item in this thread.
It turned out that my ffmpeg was actually installed from the pytorch channel, not conda-forge. After installing from conda-forge with
conda install -c conda-forge ffmpeg
it worked. Just leaving this here in case someone else finds it useful.

from ffmpeg-feedstock.

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.