-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀 Merge branch 'format-selection-list'
- Closes #3
- Loading branch information
Showing
9 changed files
with
267 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Format Selection Design Goals | ||
|
||
## Container Selection (editable): | ||
|
||
``` | ||
- Auto | ||
- webm | ||
- mp4 | ||
- mkv | ||
- opus | ||
- flac | ||
- ogg | ||
- m4a | ||
- mp3 | ||
``` | ||
|
||
## Format Selection (editable): | ||
|
||
``` | ||
- Auto | ||
- Custom | ||
- bestvideo+bestaudio/best | ||
- bestvideo+bestaudio | ||
- bestvideo+worstaudio | ||
- worstvideo+bestaudio | ||
- worstvideo+worstaudio | ||
- worstvideo+worstaudio/worst | ||
- best | ||
- worst | ||
- bestvideo | ||
- worstvideo | ||
- bestaudio | ||
- worstaudio | ||
- YouTube 4K 60fps HDR webm (337+251) | ||
- YouTube 4K 60fps webm (315+251) | ||
- YouTube 4K 60fps AV1 (401+140) | ||
- YouTube 4K webm (313+251) | ||
- YouTube 1080p60 webm (303+251) | ||
- YouTube 1080p webm (248+251) | ||
- 1080p | ||
- 720p | ||
``` | ||
|
||
## Generated Format Selection Strings: | ||
|
||
- `Auto + bestvideo+bestaudio/best == bestvideo+bestaudio/best` | ||
- `Auto + "248+251" == 248+251` | ||
- `webm + Auto == webm` | ||
- `webm + bestvideo+bestaudio/best == (bestvideo+bestaudio/best)[ext=webm]` | ||
- `webm + "248+251" == (248+251)[ext=webm]` | ||
- `mp4 + Custom + "137+140" == 137[ext=mp4]+140[ext=m4a]` | ||
|
||
## Rules | ||
|
||
- Can select format ONLY WHEN container is `Auto`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.