mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Regenerate miniature on live save
This commit is contained in:
parent
3bc68dfd61
commit
053aed43fb
12 changed files with 61 additions and 69 deletions
|
@ -4,7 +4,13 @@ import * as chokidar from 'chokidar'
|
|||
import { FfmpegCommand } from 'fluent-ffmpeg'
|
||||
import { ensureDir, stat } from 'fs-extra'
|
||||
import { basename } from 'path'
|
||||
import { computeResolutionsToTranscode, getVideoFileFPS, getVideoFileResolution, getVideoStreamCodec, getVideoStreamSize, runLiveMuxing, runLiveTranscoding } from '@server/helpers/ffmpeg-utils'
|
||||
import {
|
||||
computeResolutionsToTranscode,
|
||||
getVideoFileFPS,
|
||||
getVideoFileResolution,
|
||||
runLiveMuxing,
|
||||
runLiveTranscoding
|
||||
} from '@server/helpers/ffmpeg-utils'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { CONFIG, registerConfigChangedHandler } from '@server/initializers/config'
|
||||
import { MEMOIZE_TTL, P2P_MEDIA_LOADER_PEER_VERSION, VIDEO_LIVE, WEBSERVER } from '@server/initializers/constants'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue