Skip to content

Commit

Permalink
Merge pull request #326 from grycap/update-batch
Browse files Browse the repository at this point in the history
Update video process example
  • Loading branch information
Alfonso Pérez authored Jul 5, 2019
2 parents 4e478d7 + 00b33e4 commit abfbccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/video-process/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ scar init -f scar-lambda-darknet.yaml
In order to launch an execution you have to upload a file to the defined input bucket of the Lambda function that creates the AWS Batch job. In this case, the following command will start the execution:

```sh
scar put -b scar-ffmpeg -bf scar-batch-ffmpeg-split/input -p ../ffmpeg/seq1.avi
scar put -b scar-ffmpeg/scar-batch-ffmpeg-split/input -p ../ffmpeg/seq1.avi
```

## Process the output

When the execution of the function finishes, the script used produces two output files for each Lambda invocation. SCAR copies them to the S3 bucket specified as output. To check if the files are created and copied correctly you can use the command:

```sh
scar ls -b scar-ffmpeg -bf scar-ffmpeg-split/image-output
scar ls -b scar-ffmpeg/scar-batch-ffmpeg-split/image-output
```

Which lists the following outputs:
Expand Down

0 comments on commit abfbccc

Please sign in to comment.