Skip to content

Commit

Permalink
Use smaller example video
Browse files Browse the repository at this point in the history
  • Loading branch information
mtneug committed Feb 1, 2024
1 parent c5ad770 commit 2f03bf3
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion config/samples/k8s/mmsys-test-encode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $ kubectl logs -f -n mmsys-test-encode jobs/upload-media

## Create Tasks (`Secret` + `Job`)

In every test case, the output encoding can be accessed at <http://s3.local.gd/nagare-media-engine-tests/outputs/sintel.mp4> (`s3.local.gd` resolves to 127.0.0.1 assuming the local DNS resolver allows that; the Kubernetes cluster has an Ingress that routes `s3.local.gd` requests to the in-cluster S3).
In every test case, the output encoding can be accessed at <http://s3.local.gd/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4> (`s3.local.gd` resolves to 127.0.0.1 assuming the local DNS resolver allows that; the Kubernetes cluster has an Ingress that routes `s3.local.gd` requests to the in-cluster S3).

```sh
# baseline-simple
Expand Down
4 changes: 2 additions & 2 deletions config/samples/k8s/mmsys-test-encode/job-upload-media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ spec:
MLYEAE6AES7IUSL4APYL \
snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H \
--api S3v4
curl -sSL -o /tmp/sintel.mp4 https://shio-eu-c-public.s3.eu-central-003.backblazeb2.com/media/master/sintel-video-only.mp4
mc cp /tmp/sintel.mp4 s3/nagare-media-engine-tests/inputs/sintel.mp4
curl -sSL -o /tmp/caminandes-1-llama-drama.mp4 https://shio-eu-c-public.s3.eu-central-003.backblazeb2.com/media/testing/full-caminandes-1-llama-drama.mp4
mc cp /tmp/caminandes-1-llama-drama.mp4 s3/nagare-media-engine-tests/inputs/caminandes-1-llama-drama.mp4
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task:
direction: pull
portBindings:
- id: input
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/sintel.mp4
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/caminandes-1-llama-drama.mp4
metadata:
streams:
- duration: 14m48s
Expand All @@ -30,11 +30,11 @@ task:
direction: push
portBindings:
- id: output
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4
config:
mmsys-test-encode.engine.nagare.media/test: baseline-simple
mmsys-test-encode.engine.nagare.media/chunk-seconds: "60"
mmsys-test-encode.engine.nagare.media/chunk-seconds: "30"

system:
nats:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task:
direction: pull
portBindings:
- id: input
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/sintel.mp4
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/caminandes-1-llama-drama.mp4
metadata:
streams:
- duration: 14m48s
Expand All @@ -30,11 +30,11 @@ task:
direction: push
portBindings:
- id: output
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4
config:
mmsys-test-encode.engine.nagare.media/test: baseline-split-merge
mmsys-test-encode.engine.nagare.media/chunk-seconds: "60"
mmsys-test-encode.engine.nagare.media/chunk-seconds: "30"

system:
nats:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task:
direction: pull
portBindings:
- id: input
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/sintel.mp4
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/caminandes-1-llama-drama.mp4
metadata:
streams:
- duration: 14m48s
Expand All @@ -38,13 +38,13 @@ task:
direction: push
portBindings:
- id: output
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4
config:
mmsys-test-encode.engine.nagare.media/test: test-no-recovery-simple
mmsys-test-encode.engine.nagare.media/chunk-seconds: "60"
mmsys-test-encode.engine.nagare.media/max-number-of-simulated-crashes: "2"
mmsys-test-encode.engine.nagare.media/simulated-crash-wait-duration: 180s
mmsys-test-encode.engine.nagare.media/chunk-seconds: "30"
mmsys-test-encode.engine.nagare.media/max-number-of-simulated-crashes: "1"
mmsys-test-encode.engine.nagare.media/simulated-crash-wait-duration: 60s

system:
nats:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task:
direction: pull
portBindings:
- id: input
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/sintel.mp4
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/caminandes-1-llama-drama.mp4
metadata:
streams:
- duration: 14m48s
Expand All @@ -38,13 +38,13 @@ task:
direction: push
portBindings:
- id: output
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4
config:
mmsys-test-encode.engine.nagare.media/test: test-no-recovery-split-merge
mmsys-test-encode.engine.nagare.media/chunk-seconds: "60"
mmsys-test-encode.engine.nagare.media/max-number-of-simulated-crashes: "2"
mmsys-test-encode.engine.nagare.media/simulated-crash-wait-duration: 180s
mmsys-test-encode.engine.nagare.media/chunk-seconds: "30"
mmsys-test-encode.engine.nagare.media/max-number-of-simulated-crashes: "1"
mmsys-test-encode.engine.nagare.media/simulated-crash-wait-duration: 60s

system:
nats:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task:
direction: pull
portBindings:
- id: input
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/sintel.mp4
url: http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/inputs/caminandes-1-llama-drama.mp4
metadata:
streams:
- duration: 14m48s
Expand All @@ -38,13 +38,13 @@ task:
direction: push
portBindings:
- id: output
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/sintel.mp4
url: s3://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4?INSECURE=true&AWS_ACCESS_KEY_ID=MLYEAE6AES7IUSL4APYL&AWS_SECRET_ACCESS_KEY=snTrPIV2NDBoQOjpL10Nk6KY6EyWlePkF1NLMX3H
# -> http://minio.s3.svc.cluster.local:9000/nagare-media-engine-tests/outputs/caminandes-1-llama-drama.mp4
config:
mmsys-test-encode.engine.nagare.media/test: test-recovery-split-merge
mmsys-test-encode.engine.nagare.media/chunk-seconds: "60"
mmsys-test-encode.engine.nagare.media/max-number-of-simulated-crashes: "2"
mmsys-test-encode.engine.nagare.media/simulated-crash-wait-duration: 180s
mmsys-test-encode.engine.nagare.media/chunk-seconds: "30"
mmsys-test-encode.engine.nagare.media/max-number-of-simulated-crashes: "1"
mmsys-test-encode.engine.nagare.media/simulated-crash-wait-duration: 60s

system:
nats:
Expand Down

0 comments on commit 2f03bf3

Please sign in to comment.