# FFMpeg support in youtube-dl

<p class="callout info">This article was originally published at [https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f](https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f). It may no longer be necessary.</p>

Based on [this post](https://github.com/NixOS/nixpkgs/issues/5236#issuecomment-139865161):

```
{
  # ...
  stablePackages = with pkgs; [
    # ...
    (python35Packages.youtube-dl.override {
      ffmpeg = ffmpeg-full;
    })
    # ...
  ];
  # ...
}
```

(To understand what `stablePackages` is here, see [this entry](https://wiki.slightly.tech/books/miscellaneous-notes/page/installing-a-few-packages-from-master "Installing a few packages from `master`").)