question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trouble installing manim(Unknown encoder 'libx264' & BrokenPipeError: [Errno 32])

See original GitHub issue

I am new to Linux. Currently using Ubuntu 18.04.2 in my system. after installing cairo, ffmpeg and sox. i copied this code in may terminal. ~$ sh $ sh git clone https://github.com/3b1b/manim.git cd manim python3 -m pip install -r requirements.txt python3 -m manim example_scenes.py SquareToCircle -pl

but it isn’t working work. It is giving BrokenPipeError:[Error 32] broken pipe and also unknown encoder ‘libx264’ Screenshot from 2019-04-07 23-14-31 Screenshot from 2019-04-07 23-14-54 Screenshot from 2019-04-07 11-09-34

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

11reactions
SkirOwencommented, Apr 11, 2019

I had the same issue, and could not resolve it. However, I had a different issue with ffmpeg on another project, reinstalling ffmpeg with the following command resolved both issues.

conda install -c conda-forge ffmpeg

Hope this will help 😃

0reactions
Dowlatabadicommented, Jan 9, 2021

you need to compile ffmpeg with appropriate header along side with other needed headers for example: ./configure --enable-nonfree --enable-gpl --enable-libnpp --enable-libx264 Then you can make and install more information for nvidia cards here https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/ gl

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to enable libx264 for ffmpeg on macos - Stack Overflow
I am running a code that runs ffmpeg and breaks down because of libx264 with the following error: Unknown encoder ...
Read more >
FAQ: Installation - Manim Community v0.17.1
I am using Windows and get the error X is not recognized as an internal or external command, operable program or batch file...
Read more >
使用Manim 绘制三体运动视频 - Frank Han
Manim 安装过程中几个大坑全纪录。 ... Unknown encoder 'libx264' BrokenPipeError: [Errno 32] Broken pipe ...
Read more >
manim新版本manimgl笔记(一)安装与基本的使用方法- 知乎
manimgl的安装. 与原版的manim相比,新版的manimgl好安装很多,除了必要的依赖库(ffmpeg, latex, sox)外,只需要一行命令:. $pip install manimgl. manim内部的视频 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found