admin: support go-vod useTranscoder option
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/767/head
parent
5cc1819a27
commit
dc99fcd3e5
|
@ -7,6 +7,8 @@ All notable changes to this project will be documented in this file.
|
||||||
- **Feature**: Allow adding photos to multiple albums together ([#752](https://github.com/pulsejet/memories/pull/752))
|
- **Feature**: Allow adding photos to multiple albums together ([#752](https://github.com/pulsejet/memories/pull/752))
|
||||||
- **Feature**: Show albums of photo in metadata ([#752](https://github.com/pulsejet/memories/pull/752))
|
- **Feature**: Show albums of photo in metadata ([#752](https://github.com/pulsejet/memories/pull/752))
|
||||||
- **Feature**: Show faces in photo in sidebar metadata
|
- **Feature**: Show faces in photo in sidebar metadata
|
||||||
|
- **Feature**: Improvements in admin interface
|
||||||
|
- **Bugfix**: You can now configure the transpose strategy of the transcoder (required for QSV)
|
||||||
|
|
||||||
## [v5.2.1] - 2023-07-03
|
## [v5.2.1] - 2023-07-03
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ use OCA\Memories\Util;
|
||||||
class BinExt
|
class BinExt
|
||||||
{
|
{
|
||||||
public const EXIFTOOL_VER = '12.60';
|
public const EXIFTOOL_VER = '12.60';
|
||||||
public const GOVOD_VER = '0.1.8';
|
public const GOVOD_VER = '0.1.9';
|
||||||
public const NX_VER_MIN = '1.0';
|
public const NX_VER_MIN = '1.0';
|
||||||
|
|
||||||
/** Copy a binary to temp dir for execution */
|
/** Copy a binary to temp dir for execution */
|
||||||
|
@ -168,6 +168,8 @@ class BinExt
|
||||||
'nvenc' => Util::getSystemConfig('memories.vod.nvenc', false),
|
'nvenc' => Util::getSystemConfig('memories.vod.nvenc', false),
|
||||||
'nvencTemporalAQ' => Util::getSystemConfig('memories.vod.nvenc.temporal_aq'),
|
'nvencTemporalAQ' => Util::getSystemConfig('memories.vod.nvenc.temporal_aq'),
|
||||||
'nvencScale' => Util::getSystemConfig('memories.vod.nvenc.scale'),
|
'nvencScale' => Util::getSystemConfig('memories.vod.nvenc.scale'),
|
||||||
|
|
||||||
|
'useTranspose' => Util::getSystemConfig('memories.vod.use_transpose'),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!$local) {
|
if (!$local) {
|
||||||
|
|
|
@ -33,6 +33,9 @@ return [
|
||||||
'memories.vod.nvenc.temporal_aq' => false,
|
'memories.vod.nvenc.temporal_aq' => false,
|
||||||
'memories.vod.nvenc.scale' => 'npp', // npp or cuda
|
'memories.vod.nvenc.scale' => 'npp', // npp or cuda
|
||||||
|
|
||||||
|
// Extra streaming configuration
|
||||||
|
'memories.vod.use_transpose' => false,
|
||||||
|
|
||||||
// Paths to ffmpeg and ffprobe binaries
|
// Paths to ffmpeg and ffprobe binaries
|
||||||
'memories.vod.ffmpeg' => '',
|
'memories.vod.ffmpeg' => '',
|
||||||
'memories.vod.ffprobe' => '',
|
'memories.vod.ffprobe' => '',
|
||||||
|
|
|
@ -160,8 +160,46 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-section {
|
:deep a {
|
||||||
|
color: var(--color-primary-element);
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep .admin-section {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|
||||||
|
form {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox-radio-switch {
|
||||||
|
margin: 2px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-radio {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.6em;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.2em;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
padding-left: 10px;
|
||||||
|
-webkit-box-decoration-break: clone;
|
||||||
|
box-decoration-break: clone;
|
||||||
|
}
|
||||||
|
|
||||||
|
b {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-icon {
|
.loading-icon {
|
||||||
|
@ -176,39 +214,5 @@ export default defineComponent({
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-radio-switch {
|
|
||||||
margin: 2px 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.m-radio {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep h2 {
|
|
||||||
font-size: 1.6em;
|
|
||||||
font-weight: 500;
|
|
||||||
margin-top: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep h3 {
|
|
||||||
font-size: 1.2em;
|
|
||||||
font-weight: 500;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep a {
|
|
||||||
color: var(--color-primary-element);
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep code {
|
|
||||||
padding-left: 10px;
|
|
||||||
-webkit-box-decoration-break: clone;
|
|
||||||
box-decoration-break: clone;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -23,6 +23,8 @@ export type ISystemConfig = {
|
||||||
'memories.vod.nvenc.temporal_aq': boolean;
|
'memories.vod.nvenc.temporal_aq': boolean;
|
||||||
'memories.vod.nvenc.scale': string;
|
'memories.vod.nvenc.scale': string;
|
||||||
|
|
||||||
|
'memories.vod.use_transpose': boolean;
|
||||||
|
|
||||||
enabledPreviewProviders: string[];
|
enabledPreviewProviders: string[];
|
||||||
preview_max_x: number;
|
preview_max_x: number;
|
||||||
preview_max_y: number;
|
preview_max_y: number;
|
||||||
|
|
|
@ -42,9 +42,11 @@
|
||||||
@update:checked="update('memories.vod.vaapi.low_power')"
|
@update:checked="update('memories.vod.vaapi.low_power')"
|
||||||
type="switch"
|
type="switch"
|
||||||
>
|
>
|
||||||
{{ t('memories', 'Enable low-power mode (QSV)') }}
|
{{ t('memories', 'Enable low-power mode (QSV only)') }}
|
||||||
</NcCheckboxRadioSwitch>
|
</NcCheckboxRadioSwitch>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
{{ t('memories', 'NVIDIA GPUs can be used for transcoding using the NVENC encoder with the proper drivers.') }}
|
{{ t('memories', 'NVIDIA GPUs can be used for transcoding using the NVENC encoder with the proper drivers.') }}
|
||||||
<br />
|
<br />
|
||||||
{{
|
{{
|
||||||
|
@ -95,6 +97,27 @@
|
||||||
@update:checked="update('memories.vod.nvenc.scale')"
|
@update:checked="update('memories.vod.nvenc.scale')"
|
||||||
>{{ t('memories', 'CUDA scaler') }} ({{ t('memories', 'not recommended') }})
|
>{{ t('memories', 'CUDA scaler') }} ({{ t('memories', 'not recommended') }})
|
||||||
</NcCheckboxRadioSwitch>
|
</NcCheckboxRadioSwitch>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
{{
|
||||||
|
t(
|
||||||
|
'memories',
|
||||||
|
'Due to a bug in certain hardware drivers, videos may appear in incorrect orientations when streaming. This can be resolved in some cases by rotating the video on the accelerator.'
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
<br />
|
||||||
|
<b>{{
|
||||||
|
t('memories', 'Enable the following option only if you have incorrectly oriented videos during playback.')
|
||||||
|
}}</b>
|
||||||
|
|
||||||
|
<NcCheckboxRadioSwitch
|
||||||
|
:disabled="!enableTranscoding"
|
||||||
|
:checked.sync="config['memories.vod.use_transpose']"
|
||||||
|
@update:checked="update('memories.vod.use_transpose')"
|
||||||
|
type="switch"
|
||||||
|
>
|
||||||
|
{{ t('memories', 'Enable streaming transpose workaround') }}
|
||||||
|
</NcCheckboxRadioSwitch>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue