From 32251d3de967674a7afe4df4d1dbc2f85d52b970 Mon Sep 17 00:00:00 2001 From: MAULIK MK <214461757+maulik-mk@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:03:35 +0530 Subject: [PATCH 1/3] fix(CI): Grant full permissions to the test output directory. - Enable CI for the dev branch. -permissions to the ffmpeg test output directory. --- .github/workflows/ci.yml | 4 ++-- test/ffmpeg.test.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7c64a8..548aa60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ "main", "master"] + branches: [ "main", "master", 'dev'] pull_request: - branches: [ "main", "master"] + branches: [ "main", "master", 'dev'] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/test/ffmpeg.test.sh b/test/ffmpeg.test.sh index e5fcd27..8fcfe76 100644 --- a/test/ffmpeg.test.sh +++ b/test/ffmpeg.test.sh @@ -113,6 +113,7 @@ run_transcode_test() { # Prepare output directory mkdir -p "${OUTPUT_DIR}" + chmod 777 "${OUTPUT_DIR}" rm -f "${output_file}" log_info "Starting transcoding process (Memory Limit: ${CONTAINER_MEM_LIMIT})..." From 44c5db83cb9520460a680b3d63663c85d08c3e61 Mon Sep 17 00:00:00 2001 From: MAULIK MK <214461757+maulik-mk@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:42:13 +0530 Subject: [PATCH 2/3] chore: Update CI test video download to use H264 codec instead of AV1. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 548aa60..bc917fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: mkdir -p video echo "Downloading sample video..." # Using a reliable test video source (Big Buck Bunny stable link) - curl -L -o video/test.mp4 https://test-videos.co.uk/vids/bigbuckbunny/mp4/av1/1080/Big_Buck_Bunny_1080_10s_5MB.mp4 + curl -L -o video/test.mp4 https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_5MB.mp4 ls -lh video/ # 4. Run the Test Script From 661f98fd08a47f02aede3ddcca3c6bd5fb616f5f Mon Sep 17 00:00:00 2001 From: MAULIK MK <214461757+maulik-mk@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:53:37 +0530 Subject: [PATCH 3/3] chore(test): add 777 permissions to HLS output directory in ffmpeg test --- test/ffmpeg.test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ffmpeg.test.sh b/test/ffmpeg.test.sh index 8fcfe76..df6c028 100644 --- a/test/ffmpeg.test.sh +++ b/test/ffmpeg.test.sh @@ -160,6 +160,7 @@ run_hls_test() { local hls_root="${OUTPUT_DIR}/hls" rm -rf "${hls_root}" mkdir -p "${hls_root}"/{360p,720p,1080p} + chmod -R 777 "${hls_root}" # Define common options to reduce repetition local docker_opts="--rm --memory=${CONTAINER_MEM_LIMIT} --cpus=${CONTAINER_CPU_LIMIT} -v $(pwd)/${VIDEO_DIR}:/input:ro -v $(pwd)/${OUTPUT_DIR}/hls:/output"