diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-29 14:50:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-01 14:55:10 +0200 |
commit | 1bb4c9ab2e8b3b3022351b33a82a5e527fa5d4d7 (patch) | |
tree | a6554ee0a3ccc2ae402665b2ecf57bb38fd0ed72 /server/helpers | |
parent | 12d84abeca4917d2f1e3f308010bfcd56d37cb7c (diff) | |
download | PeerTube-1bb4c9ab2e8b3b3022351b33a82a5e527fa5d4d7.tar.gz PeerTube-1bb4c9ab2e8b3b3022351b33a82a5e527fa5d4d7.tar.zst PeerTube-1bb4c9ab2e8b3b3022351b33a82a5e527fa5d4d7.zip |
Add ability to delete a specific video file
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/ffmpeg/ffprobe-utils.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/helpers/ffmpeg/ffprobe-utils.ts b/server/helpers/ffmpeg/ffprobe-utils.ts index a9b4fb456..9529162eb 100644 --- a/server/helpers/ffmpeg/ffprobe-utils.ts +++ b/server/helpers/ffmpeg/ffprobe-utils.ts | |||
@@ -1,15 +1,15 @@ | |||
1 | import { FfprobeData } from 'fluent-ffmpeg' | 1 | import { FfprobeData } from 'fluent-ffmpeg' |
2 | import { getMaxBitrate } from '@shared/core-utils' | 2 | import { getMaxBitrate } from '@shared/core-utils' |
3 | import { | 3 | import { |
4 | buildFileMetadata, | ||
4 | ffprobePromise, | 5 | ffprobePromise, |
5 | getAudioStream, | 6 | getAudioStream, |
6 | getVideoStreamDuration, | ||
7 | getMaxAudioBitrate, | 7 | getMaxAudioBitrate, |
8 | buildFileMetadata, | ||
9 | getVideoStreamBitrate, | ||
10 | getVideoStreamFPS, | ||
11 | getVideoStream, | 8 | getVideoStream, |
9 | getVideoStreamBitrate, | ||
12 | getVideoStreamDimensionsInfo, | 10 | getVideoStreamDimensionsInfo, |
11 | getVideoStreamDuration, | ||
12 | getVideoStreamFPS, | ||
13 | hasAudioStream | 13 | hasAudioStream |
14 | } from '@shared/extra-utils/ffprobe' | 14 | } from '@shared/extra-utils/ffprobe' |
15 | import { VideoResolution, VideoTranscodingFPS } from '@shared/models' | 15 | import { VideoResolution, VideoTranscodingFPS } from '@shared/models' |