diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 416f6fecb..40dcb3fe6 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -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 }} @@ -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 diff --git a/docs/conf.py b/docs/conf.py index b88dc7bd3..07b942a31 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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"), @@ -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 diff --git a/docs/cookbook/numpy.rst b/docs/cookbook/numpy.rst index d4887945c..6842efefc 100644 --- a/docs/cookbook/numpy.rst +++ b/docs/cookbook/numpy.rst @@ -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 diff --git a/docs/overview/installation.rst b/docs/overview/installation.rst index eea041203..8eb5ce553 100644 --- a/docs/overview/installation.rst +++ b/docs/overview/installation.rst @@ -18,7 +18,7 @@ Another way to install PyAV is via `conda-forge ` conda install av -c conda-forge -See the `Conda quick install `_ docs to get started with (mini)Conda. +See the `Conda quick install `_ docs to get started with (mini)Conda. Building from the latest source