Skip to content

Instantly share code, notes, and snippets.

@ScottJWalter
Created August 22, 2018 19:55
Show Gist options
  • Save ScottJWalter/eab4f534fa2fc9eb51278768fd229d70 to your computer and use it in GitHub Desktop.
Save ScottJWalter/eab4f534fa2fc9eb51278768fd229d70 to your computer and use it in GitHub Desktop.
Install FFMpeg under Windows Subsystem for Linux
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
@arcral
Copy link

arcral commented Jun 15, 2023

thank you. very useful

@michalsinu
Copy link

thanks!

@gabrielsants
Copy link

Thanks!

@JasonChoi1497
Copy link

worked perfectly! Thank you

@nexxyb
Copy link

nexxyb commented Dec 6, 2023

worked perfectly.

@GeorgeHineOC
Copy link

Still having the same issue:

Err:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 alsa-ucm-conf all 1.2.6.3-1ubuntu1.8
  404  Not Found [IP: 91.189.91.83 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/alsa-ucm-conf/alsa-ucm-conf_1.2.6.3-1ubuntu1.8_all.deb  404  Not Found [IP: 91.189.91.83 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@BawdyInkSlinger
Copy link

I get this error:

E: The repository 'https://ppa.launchpadcontent.net/mc3man/trusty-media/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

@wandersonalb
Copy link

I had the same problem and this solves it:

sudo apt update
sudo apt install ffmpeg

@DanKaplanSES
Copy link

@wandersonalb Unless I'm misreading, those are already steps in the original post.

@wandersonalb
Copy link

@DanKaplanSES I mean, worked for me without add the repository ppa:mc3man/trusty-media

@DanKaplanSES
Copy link

@wandersonalb ah so you meant you only need those two steps. Thanks for clarifying.

@underwater
Copy link

But I don't understand why we explicitly need to do this at the OS level, and there is not node js runtime solution using npm ? Is there no way without invoking a shell to the OS to simply make use of the binaries for NodeJs for ffmpeg ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment