Compare commits
2 commits
482caad25f
...
e90a35e4c0
Author | SHA1 | Date | |
---|---|---|---|
e90a35e4c0 | |||
21050bb0b7 |
4 changed files with 21 additions and 11 deletions
22
README.md
22
README.md
|
@ -15,20 +15,30 @@ Tool for sharing video to Discord.
|
||||||
irm https://git.mylloon.fr/Anri/dsr/raw/branch/main/install.ps1 | iex
|
irm https://git.mylloon.fr/Anri/dsr/raw/branch/main/install.ps1 | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
> - If you have Discord Nitro: add `/nitro` flag.
|
## Available flags
|
||||||
> - If you have Discord Nitro Basic: add `/nitrobasic` flag.
|
|
||||||
|
|
||||||
> - If you have an NVidia GPU with NVenc: add `/nvenc` (H.264) or `/nvenc2` (H.265) flag.
|
You can add thoses flags in the `Target` field of your Windows shortcut.
|
||||||
> - H.265 encoder is available : add `/h265` flag (slower).
|
|
||||||
|
| | |
|
||||||
|
| ------------- | ----------------------------------------------------- |
|
||||||
|
| `/nitro` | Increase the file limit to 500Mo |
|
||||||
|
| `/nitrobasic` | Increase the file limit to 50Mo |
|
||||||
|
| | |
|
||||||
|
| `/nvenc_h264` | Enable NVenc with H.264 encoder (NVidia GPU required) |
|
||||||
|
| `/nvenc_h265` | Enable NVenc with H.265 encoder (NVidia GPU required) |
|
||||||
|
| `/h265` | Enable the H.265 CPU encoder (slow compression) |
|
||||||
|
|
||||||
|
> NVenc support is experimental, but faster than CPU counterparts.
|
||||||
|
|
||||||
## More info
|
## More info
|
||||||
|
|
||||||
- [x] KISS interface
|
- [x] KISS interface
|
||||||
- [x] Support drag&drop into the icon
|
- [x] Support drag&drop into the icon
|
||||||
- [x] Keep the video under discord limitation
|
- [x] Keep the video under discord limitation
|
||||||
|
- [x] Defaults to H.264 CPU encoder
|
||||||
- [x] If already under the limit, the file won't be compressed
|
- [x] If already under the limit, the file won't be compressed
|
||||||
- [x] Basic NVenc support
|
- [x] NVenc support
|
||||||
- [x] Nitro suppport via flags
|
- [x] Nitro suppport
|
||||||
- [x] Merge 2 audio files into one track when recorded with system audio and microphone
|
- [x] Merge 2 audio files into one track when recorded with system audio and microphone
|
||||||
split up, while keeping the original ones (with conveniant metadata)
|
split up, while keeping the original ones (with conveniant metadata)
|
||||||
- [x] Works also with file with only one or more than 2 audio track, by doing
|
- [x] Works also with file with only one or more than 2 audio track, by doing
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "dsr",
|
"name": "dsr",
|
||||||
"version": "1.10.2",
|
"version": "1.11.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "dsr",
|
"name": "dsr",
|
||||||
"version": "1.10.2",
|
"version": "1.11.0",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@electron-forge/maker-zip": "^7.4",
|
"@electron-forge/maker-zip": "^7.4",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dsr",
|
"name": "dsr",
|
||||||
"version": "1.10.2",
|
"version": "1.11.0",
|
||||||
"description": "Discord Video Sharing",
|
"description": "Discord Video Sharing",
|
||||||
"main": "./dist/main.js",
|
"main": "./dist/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -171,13 +171,13 @@ app.whenReady().then(() => {
|
||||||
let hwAcc = "";
|
let hwAcc = "";
|
||||||
|
|
||||||
const argv = process.argv;
|
const argv = process.argv;
|
||||||
if (argv.includes("/nvenc")) {
|
if (argv.includes("/nvenc_h264")) {
|
||||||
// Use NVenc H.264
|
// Use NVenc H.264
|
||||||
codec = "h264_nvenc";
|
codec = "h264_nvenc";
|
||||||
hwAcc = "-hwaccel cuda";
|
hwAcc = "-hwaccel cuda";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argv.includes("/nvenc2")) {
|
if (argv.includes("/nvenc_h265")) {
|
||||||
// Use NVenc H.265
|
// Use NVenc H.265
|
||||||
codec = "hevc_nvenc";
|
codec = "hevc_nvenc";
|
||||||
hwAcc = "-hwaccel cuda";
|
hwAcc = "-hwaccel cuda";
|
||||||
|
|
Loading…
Reference in a new issue