Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ jobs:
matrix:
config:
- {os: ubuntu-24.04, python: "3.12", ffmpeg: "7.1", extras: true}
- {os: ubuntu-24.04, python: "3.9", ffmpeg: "7.0.2"}
- {os: ubuntu-24.04, python: "pypy3.10", ffmpeg: "7.1"}
- {os: macos-14, python: "3.9", ffmpeg: "7.1"}
- {os: macos-14, python: "3.9", ffmpeg: "7.0.2"}

env:
PYAV_PYTHON: python${{ matrix.config.python }}
Expand Down Expand Up @@ -112,7 +110,6 @@ jobs:
matrix:
config:
- {os: windows-latest, python: "3.9", ffmpeg: "7.1"}
- {os: windows-latest, python: "3.9", ffmpeg: "7.0"}

steps:
- name: Checkout
Expand Down
18 changes: 16 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def sandboxed(*args, **kwargs):
doctest_test_doctest_blocks = ""

extlinks = {
"ffstruct": ("https://ffmpeg.org/doxygen/trunk/struct%s.html", "struct %s"),
"issue": ("https://github.com/PyAV-Org/PyAV/issues/%s", "#%s"),
"pr": ("https://github.com/PyAV-Org/PyAV/pull/%s", "#%s"),
"gh-user": ("https://github.com/%s", "@%s"),
Expand Down Expand Up @@ -237,14 +236,29 @@ def ffmpeg_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
struct_name = None

if struct_name is None:
url = base_url.format(text)
fragment = {
"avformat_seek_file": "group__lavf__decoding.html#ga3b40fc8d2fda6992ae6ea2567d71ba30",
"av_find_best_stream": "avformat_8c.html#a8d4609a8f685ad894c1503ffd1b610b4",
"av_frame_make_writable": "group__lavu__frame.html#gadd5417c06f5a6b419b0dbd8f0ff363fd",
"avformat_write_header": "group__lavf__encoding.html#ga18b7b10bb5b94c4842de18166bc677cb",
"av_guess_frame_rate": "group__lavf__misc.html#ga698e6aa73caa9616851092e2be15875d",
"av_guess_sample_aspect_ratio": "group__lavf__misc.html#gafa6fbfe5c1bf6792fd6e33475b6056bd",
}.get(text, f"struct{text}.html")
url = "https://ffmpeg.org/doxygen/7.0/" + fragment
else:
fragment = {
"AVCodecContext.thread_count": "#aa852b6227d0778b62e9cc4034ad3720c",
"AVCodecContext.thread_type": "#a7651614f4309122981d70e06a4b42fcb",
"AVCodecContext.skip_frame": "#af869b808363998c80adf7df6a944a5a6",
"AVCodecContext.qmin": "#a3f63bc9141e25bf7f1cda0cef7cd4a60",
"AVCodecContext.qmax": "#ab015db3b7fcd227193a7c17283914187",
"AVCodec.capabilities": "#af51f7ff3dac8b730f46b9713e49a2518",
"AVCodecDescriptor.props": "#a9949288403a12812cd6e3892ac45f40f",
"AVCodecContext.bits_per_coded_sample": "#a3866500f51fabfa90faeae894c6e955c",
"AVFrame.color_range": "#a853afbad220bbc58549b4860732a3aa5",
"AVFrame.color_primaries": "#a59a3f830494f2ed1133103a1bc9481e7",
"AVFrame.color_trc": "#ab09abb126e3922bc1d010cf044087939",
"AVFrame.colorspace": "#a9262c231f1f64869439b4fe587fe1710",
}.get(text, f"#{member}")

url = base_url.format(struct_name) + fragment
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbook/numpy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Video Barcode

A video barcode shows the change in colour and tone over time. Time is represented on the horizontal axis, while the vertical remains the vertical direction in the image.

See http://moviebarcode.tumblr.com/ for examples from Hollywood movies, and here is an example from a sunset timelapse:
See https://moviebarcode.tumblr.com/ for examples from Hollywood movies, and here is an example from a sunset timelapse:

.. image:: ../_static/examples/numpy/barcode.jpg

Expand Down
2 changes: 1 addition & 1 deletion docs/overview/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Another way to install PyAV is via `conda-forge <https://conda-forge.github.io>`

conda install av -c conda-forge

See the `Conda quick install <https://conda.io/docs/install/quick.html>`_ docs to get started with (mini)Conda.
See the `Conda quick install <https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html>`_ docs to get started with (mini)Conda.


Building from the latest source
Expand Down
Loading