mirror of
https://github.com/wrolpi/wrolpi-help.git
synced 2026-11-26 09:56:18 -05:00
Adding info about Video files. Adding docs for multiple external usb drives.
This commit is contained in:
parent
356ec0364f
commit
7be4718bdd
16 changed files with 191 additions and 44 deletions
|
|
@ -0,0 +1,37 @@
|
|||
# Video Files
|
||||
|
||||
WROLPi creates several files when downloading a video:
|
||||
|
||||
1. A video file.
|
||||
2. Caption files. The suffix may be prefixed with the language like so: `.en.vtt` or `.es.vtt`
|
||||
3. An "info" json file. This file contains large amounts of information about the video: Channel name, Source ID,
|
||||
comments, Like count, etc.
|
||||
4. A poster file (thumbnail).
|
||||
|
||||
These files all share the same filename but have different suffixes.
|
||||
|
||||
| File Suffix | Purpose |
|
||||
|-------------|------------------------------|
|
||||
| .mp4 | The video. |
|
||||
| .vtt | The captions. |
|
||||
| .info.json | Information about the video. |
|
||||
| .jpg | The poster (thumbnail). |
|
||||
|
||||
Video files are named using three parts:
|
||||
|
||||
1. The Channel Name.
|
||||
2. The Published Date (upload date).
|
||||
3. The Source ID (a unique string of characters linking to the video, i.e `0xfMLNVFq2Y`)
|
||||
4. The title of the video.
|
||||
|
||||
The above order is important, it allows the videos to be viewed chronologically in the file browser. The Source ID
|
||||
is important because it prevents a conflict if a Channel uploads a video with the same name on the same day.
|
||||
|
||||
Example file names for a video:
|
||||
|
||||
```
|
||||
/media/videos/wrolpi/WROLPi_20230909_0xfMLNVFq2Y_WROLPi v0.11 beta demo.mp4
|
||||
/media/videos/wrolpi/WROLPi_20230909_0xfMLNVFq2Y_WROLPi v0.11 beta demo.en.vtt
|
||||
/media/videos/wrolpi/WROLPi_20230909_0xfMLNVFq2Y_WROLPi v0.11 beta demo.info.json
|
||||
/media/videos/wrolpi/WROLPi_20230909_0xfMLNVFq2Y_WROLPi v0.11 beta demo.jpg
|
||||
```
|
||||
|
|
@ -8,6 +8,8 @@ Videos Module (`/videos`) allows browsing all video files.
|
|||
In the context of WROLPi, a Video refers to a set of [similarly named files](files.md) created during
|
||||
download. A single video file is also supported.
|
||||
|
||||

|
||||
|
||||
## Video Format
|
||||
|
||||
As of the writing of this article, WROLPi favors MP4 files due to their small size and universal support.
|
||||
|
|
@ -67,4 +69,19 @@ When the indexes for a Video are generated for searching, they are searched in t
|
|||
|
||||
1. Title
|
||||
2. Description
|
||||
3. Subtitles
|
||||
3. Subtitles
|
||||
|
||||
## Videos without WROLPi
|
||||
|
||||
WROLPi comes with VLC pre-installed, this application allows you to watch video files, even if the React App is not
|
||||
working. VLC also displays captions when the caption file is named like the video file (see
|
||||
[Video Files](../videos/files.md)).
|
||||
|
||||
### Raspberry Pi
|
||||
|
||||
VLC can be launched by navigating: `Applicaions Menu > Sound & Video > VLC Media Player`
|
||||
|
||||

|
||||
|
||||
Any video file can be opened by navigating `Media > Open File`. VLC will automatically display captions files that
|
||||
WROLPi has downloaded.
|
||||
BIN
docs/modules/videos/video-page.png
Normal file
BIN
docs/modules/videos/video-page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
BIN
docs/modules/videos/wrolpi-launch-vlc.png
Normal file
BIN
docs/modules/videos/wrolpi-launch-vlc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Loading…
Add table
Add a link
Reference in a new issue