Skip to content

Commit 2474e5a

Browse files
Merge pull request #11 from gianantoniopini/docs/issue-5/update-readme
Update README file
2 parents 618c464 + fde6fc5 commit 2474e5a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This project is intended as a basic example of how to integrate [Shaka Player](h
88

99
- [Background](#background)
1010
- [Features](#features)
11+
- [Video files](#video-files)
1112
- [Prerequisites](#prerequisites)
1213
- [Install](#install)
1314
- [Run dev](#run-dev)
@@ -20,9 +21,18 @@ This project was inspired by [shaka-player-vuejs](https://github.com/davidjamesh
2021

2122
## Features
2223

23-
You can select from a list of 6 videos and watch the chosen video.
24+
You can select from a list of 6 sample videos and watch the chosen video.
2425

25-
All videos' files and images used in this project are sourced from [Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page).
26+
## Video files
27+
28+
The manifest and image files of all sample videos used in this project are sourced from [Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page).
29+
The original video manifests have been converted from WebM to MP4 format with [FFmpeg](https://github.com/FFmpeg/FFmpeg), using this example command:
30+
31+
```sh
32+
ffmpeg -i https://upload.wikimedia.org/wikipedia/commons/f/f5/Coyote_Keeping_a_Watchful_Eye.webm -c:v libx264 -profile:v main -vf format=yuv420p -c:a aac -movflags +faststart -crf 30 public/videos/TgvHMDTQENg_manifest.mp4
33+
```
34+
35+
The converted manifest and the image of each video are stored in the [videos](./public/videos) directory.
2636

2737
## Prerequisites
2838

0 commit comments

Comments
 (0)