{"id":13618076,"url":"https://github.com/outlyer-net/docker-ffmpeg-nonfree","last_synced_at":"2025-04-14T10:30:59.774Z","repository":{"id":55461525,"uuid":"318512037","full_name":"outlyer-net/docker-ffmpeg-nonfree","owner":"outlyer-net","description":"A dockerized FFmpeg compiled with non-free codecs in.","archived":false,"fork":false,"pushed_at":"2022-09-17T13:14:39.000Z","size":36,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T03:36:31.164Z","etag":null,"topics":["audio-encoding","audio-processing","codecs","docker","ffmpeg","kvazaar","libfdk-aac","multimedia","non-free","nvenc","qsv","video-encoding"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outlyer-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"outlyer","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://p.outlyer.net/tips","https://paypal.me/outlyer"]}},"created_at":"2020-12-04T12:36:50.000Z","updated_at":"2023-06-04T03:35:52.000Z","dependencies_parsed_at":"2023-01-18T12:20:28.829Z","dependency_job_id":null,"html_url":"https://github.com/outlyer-net/docker-ffmpeg-nonfree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlyer-net%2Fdocker-ffmpeg-nonfree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlyer-net%2Fdocker-ffmpeg-nonfree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlyer-net%2Fdocker-ffmpeg-nonfree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlyer-net%2Fdocker-ffmpeg-nonfree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outlyer-net","download_url":"https://codeload.github.com/outlyer-net/docker-ffmpeg-nonfree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248862583,"owners_count":21173836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-encoding","audio-processing","codecs","docker","ffmpeg","kvazaar","libfdk-aac","multimedia","non-free","nvenc","qsv","video-encoding"],"created_at":"2024-08-01T20:01:54.087Z","updated_at":"2025-04-14T10:30:59.520Z","avatar_url":"https://github.com/outlyer-net.png","language":"Dockerfile","funding_links":["https://ko-fi.com/outlyer","https://p.outlyer.net/tips","https://paypal.me/outlyer"],"categories":["HarmonyOS","docker"],"sub_categories":["Windows Manager"],"readme":"\u003c!-- shields.io --\u003e\n[![Docker Image Size (latest by date)][badge_image_size]][dockerhub]\n[![Docker Cloud Build Status][badge_cloud_build_status]][dockerhub]\n[![GitHub last commit][badge_github_last_commit]][github_commits]\n[![MIT License][badge_github_license]][github_license]\n\n# FFmpeg non-free in Docker\n\nA dockerized [FFmpeg] compiled with non-free codecs in.\n\\\nA script for easy invocation is included.\n\nFor Linux distributions where the included FFmpeg package isn't compiled with non-free codecs included.\n\nThis image pulls [Deb Multimedia][deb-multimedia]'s ffmpeg package, which includes codecs such as *Fraunhofer FDK AAC* (aka `libfdk_aac`, [the highest-quality AAC encoder in FFmpeg as of this writing][encode_aac]), missing from most compilations.\n\n## Wrapper script installation\n\nYou can install and uninstall a wrapper script with the included makefile for easy access to the image's ffmpeg.\n\\\nRunning the script will pull the image if required.\n\n```shell\n$ sudo make install\n$ ffmpeg-nonfree-docker [...]\n```\n\nYou may additionally install symbolic links without the `-nonfree-docker` suffix:\n\n```shell\n$ sudo make install-shortnames\n$ ffmpeg [...]\n```\n\nYou may uninstall it with `sudo make uninstall`.\n\n**NOTE**: The script will mount the host's filesystem as `/host` and run from the invoking directory. Additionally `/home` will also be mounted as simply `/home`.\n\\\nReferencing files with relative paths should work without any extra parameter whereas absolute paths should be prepended by `/host` unless they're under `/home`.\n\n```shell\n$ ffmpeg-nonfree-docker -i input_file               # Access ./input_file from the host\n$ ffmpeg-nonfree-docker -i ../input_file            # Access ../input_file from the host\n$ ffmpeg-nonfree-docker -i /home/user/input_file    # Access /home/user/input_file from the host\n$ ffmpeg-nonfree-docker -i /host/path/to/input_file # Access /path/to/input_file from the host\n```\n\n## A comparison of included codecs\n\nNote the included makefile eases such comparisons (for a selection of codecs).\n\\\nFor each distribution with a corresponding Dockerfile in the `downstream/` directory you can get run:\n\n```shell\n$ make build-$distro compare-codecs-$distro\n```\n\ne.g.:\n```shell\n$ make build-debian compare-codecs-debian\n```\n\nHere's an excerpt of some important codecs (I'm only including differences):\n\n| Codec | Encoder        | this image | Debian | Ubuntu LTS | Ubuntu  | Alpine | Fedora  \n|-------|----------------|------------|--------|------------|---------|--------|---------\n| h.264                                                                                  \n|       | h264_amf      | yes         | no     | no         | no      | no     | yes    |\n|       | h264_nvenc    | yes         | no     | yes        | yes     | no     | yes    |\n|       | h264_omx      | yes         | yes    | yes        | yes     | no     | no     |\n|       | h264_qsv      | yes         | yes    | yes        | yes     | no     | yes    |\n|       | libopenh264   | yes         | no     | no         | no      | no     | no     |\n|       | nvenc         | no          | no     | yes        | yes     | no     | no     |\n|       | nvenc_h264    | no          | no     | yes        | yes     | no     | no     |\n| HEVC                                                                                   \n|       | hevc_amf      | yes         | no     | no         | no      | no     | yes    |\n|       | hevc_nvenc    | yes         | no     | yes        | yes     | no     | yes    |\n|       | hevc_qsv      | yes         | yes    | yes        | yes     | no     | yes    |\n|       | libkvazaar    | yes         | no     | no         | no      | no     | no     |\n|       | nvenc_hevc    | no          | no     | yes        | yes     | no     | no     |\n| MJPEG                                                                                  \n|       | mjpeg_qsv     | yes         | yes    | yes        | yes     | no     | yes    |\n| MPEG-2                                                                                 \n|       | mpeg2_qsv     | yes         | yes    | yes        | no      | no     | yes    |\n| AAC                                                                                    \n|       | libfdk_aac    | yes         | no     | no         | no      | no     | no     |\n\nVersions:\n```shell\n$ make pull-distros # pull the latest images\n[...]\n$ make versions\nffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers\nalpine:\nffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers\ndebian:\nffmpeg version 4.3.4-0+deb11u1 Copyright (c) 2000-2021 the FFmpeg developers\nfedora:\nffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers\nubuntu:\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nubuntu-lts:\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\n```\n\n## Links\n\n- [GitHub]\n- [Docker Hub][dockerhub]\n\n\u003c!-- links --\u003e\n\n[ffmpeg]: https://ffmpeg.org/\n[deb-multimedia]: https://www.deb-multimedia.org/\n[encode_aac]: https://trac.ffmpeg.org/wiki/Encode/AAC\n\n[github]:    https://github.com/outlyer-net/docker-ffmpeg-nonfree\n[dockerhub]: https://hub.docker.com/repository/docker/outlyernet/ffmpeg-nonfree\n\n[microbadger]:    https://microbadger.com/images/outlyernet/ffmpeg-nonfree\n[github_commits]: https://github.com/outlyer-net/docker-ffmpeg-nonfree/commits/master\n[github_license]: https://github.com/outlyer-net/docker-ffmpeg-nonfree/blob/master/LICENSE\n\n\u003c!-- Aliases for images --\u003e\n\n[badge_image_size]:         https://img.shields.io/docker/image-size/outlyernet/ffmpeg-nonfree/latest\n[badge_cloud_build_status]: https://img.shields.io/docker/cloud/build/outlyernet/ffmpeg-nonfree\n[badge_microbadger_layers]: https://img.shields.io/microbadger/layers/outlyernet/ffmpeg-nonfree:latest\n[badge_github_last_commit]: https://img.shields.io/github/last-commit/outlyer-net/docker-ffmpeg-nonfree\n[badge_github_license]:     https://img.shields.io/github/license/outlyer-net/docker-ffmpeg-nonfree\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutlyer-net%2Fdocker-ffmpeg-nonfree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutlyer-net%2Fdocker-ffmpeg-nonfree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutlyer-net%2Fdocker-ffmpeg-nonfree/lists"}