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
@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