Skip to main content

yt-dlp Instagram HDR

A yt-dlp plugin that adds HDR formats for Instagram Reels, Stories, and video posts.

Supports VP9 Profile 2 and AV1 10-bit HDR. By default, the format list combines all HDR video formats found by the plugin with all formats returned by yt-dlp's built-in Instagram extractor. xHE-AAC is excluded unless explicitly enabled. Video and audio are merged without re-encoding and the HDR video is verified with ffprobe.

Requirements

  • Python 3.10+
  • yt-dlp 2026.08.19+
  • FFmpeg
  • Authenticated Instagram cookies

Installation

First, identify how yt-dlp was installed.

macOS

command -v yt-dlp
pipx list
python3 -m pip show yt-dlp
brew list --versions yt-dlp

Linux

command -v yt-dlp
pipx list
python3 -m pip show yt-dlp

Windows (PowerShell)

Get-Command yt-dlp
pipx list
py -m pip show yt-dlp

Use the result that matches your output:

Output Installation type
package yt-dlp ... in pipx list pipx
Name: yt-dlp from pip show pip
yt-dlp <version> from brew list manual
yt-dlp has a path, but the checks above report it as missing manual

Package(s) not found, nothing has been installed with pipx, and No such keg are negative results; continue to the next check. If command -v or Get-Command cannot find yt-dlp, install yt-dlp first.

If more than one check finds yt-dlp, use the manual method to avoid installing the plugin into the wrong Python environment.

pip

macOS/Linux:

python3 -m pip install -U yt-dlp-instagram-hdr

Windows:

py -m pip install -U yt-dlp-instagram-hdr

pipx

pipx inject yt-dlp yt-dlp-instagram-hdr --force

Manual

Download the latest .whl from Releases, and place it, without extracting it, in:

  • macOS/Linux: $XDG_CONFIG_HOME/yt-dlp/plugins/, or ~/.config/yt-dlp/plugins/ when it is not set
  • Windows: %APPDATA%/yt-dlp/plugins/

Usage

yt-dlp --cookies-from-browser chrome <video_url>

List available formats with -F:

yt-dlp -F --cookies-from-browser chrome <video_url>

You can also use a cookie file:

yt-dlp --cookies cookies.txt <video_url>

Without authenticated cookies, the plugin shows a warning and falls back to yt-dlp's built-in Instagram extractor. It also uses the built-in extractor's regular formats when authenticated media has no HDR representation.

Plugin options

Disable the HDR plugin and force yt-dlp's built-in Instagram extractor:

yt-dlp --extractor-args "instagramhdr:disable" <video_url>

Include the xHE-AAC (mp4a.40.42) audio formats found in the HDR manifest:

yt-dlp --extractor-args "instagramhdr:include_xhe_aac" -F <video_url>

These instagramhdr options apply to Reels, posts, and Stories. Boolean values can be disabled explicitly, for example instagramhdr:disable=false.

License

MIT © 2026 Vinicius Roncetti

Metadata

Release files for yt-dlp-instagram-hdr 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for yt-dlp-instagram-hdr 0.4.0
File Interpreter ABI Platform
yt_dlp_instagram_hdr-0.4.0-py3-none-any.whl Python 3 none any Details

Release files / yt_dlp_instagram_hdr-0.4.0-py3-none-any.whl

Download URL yt_dlp_instagram_hdr-0.4.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86fab359e687d04878a77161a05e6ffd17e7b45cb34cba66ff44907e980c4630
BLAKE2b-256 checksum
How to use checksums
0e6100df5416988597c3d74ff3dccfbba533f2a763dbcbfd0d2c3b0f43f1eb9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

1 release file

This release

0.4.0 This release

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page