Skip to content

Commit

Permalink
convert video instructions and command shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
vinyll committed Apr 21, 2024
1 parent 53b7ba3 commit 3fe1b8b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
convert-video: #id=1
@echo "Converting to ~/videos/dist/v${id}.en.webm"
@ffmpeg -i ~/videos/KYVideos_41724/KY\ ${id}\ ENG\ New\ 040424\ h264.mov -crf 10 -preset ultrafast -s 1280x720 -y ~/videos/dist/v${id}.en.webm
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Convert videos

FFMPEG is required.

In order to convert videos you should run the following from the server:

```
make convert-video id=1
```

Where the video KY 1 is to be converted.
Run the equivalent command for each video.

0 comments on commit 3fe1b8b

Please sign in to comment.