From 72861d2a63f3010531d179864f39d5cb37909820 Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Mon, 9 Dec 2024 08:18:04 +0000 Subject: [PATCH 1/3] Remove debug logging from GitHub Actions build As flagged by @lurch, there's no need for us to be logging the current branches and repositories during a build and it was an unintentional security vulnerability. --- .github/workflows/build.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 047317f22..2231cc290 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,15 +10,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Log current branches and repositories - env: - REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }} - run: | - echo "Current ref: $GITHUB_REF" - echo "Base ref: $GITHUB_BASE_REF" - echo "Head ref: $GITHUB_HEAD_REF" - echo "Repository: $GITHUB_REPOSITORY" - echo "Head repository: $REPO_FULL_NAME" - name: Only allow pull requests based on master from the develop branch of the current repository if: ${{ github.base_ref == 'master' && !(github.head_ref == 'develop' && github.event.pull_request.head.repo.full_name == github.repository) }} run: | From 1d1e62edacaffc8f94632bd3a90320859a39810d Mon Sep 17 00:00:00 2001 From: Nate Contino Date: Mon, 9 Dec 2024 08:25:39 +0000 Subject: [PATCH 2/3] Update Pico C SDK --- lib/pico-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pico-sdk b/lib/pico-sdk index efe2103f9..e009cf5a5 160000 --- a/lib/pico-sdk +++ b/lib/pico-sdk @@ -1 +1 @@ -Subproject commit efe2103f9b28458a1615ff096054479743ade236 +Subproject commit e009cf5a5ed48d34d9ba62f63d0496711f850542 From 3cf341af808f8a5ab41aa81b2d52010f3a410115 Mon Sep 17 00:00:00 2001 From: nate contino Date: Mon, 9 Dec 2024 08:40:05 +0000 Subject: [PATCH 3/3] Update streaming.adoc Adapted from https://github.com/raspberrypi/documentation/pull/3955 Moved the suggested text into a better position in the instruction flow. --- documentation/asciidoc/computers/camera/streaming.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/asciidoc/computers/camera/streaming.adoc b/documentation/asciidoc/computers/camera/streaming.adoc index 562ac2b56..0d7e378a3 100644 --- a/documentation/asciidoc/computers/camera/streaming.adoc +++ b/documentation/asciidoc/computers/camera/streaming.adoc @@ -57,6 +57,13 @@ To use VLC to stream video over RTSP using a Raspberry Pi as a server, use the f $ rpicam-vid -t 0 --inline -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264 ---- +For the best performance on Raspberry Pi 5, use the following command instead, which adds libav to force the H264 format: + +[source,console] +---- +$ rpicam-vid -t 0 --inline --libav-format h264 -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264 +---- + To view video streamed over RTSP using a Raspberry Pi as a client, use the following command: [source,console]