]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/ffmpeg-utils.ts
Add bulk comment actions on account dropdown
[github/Chocobozzz/PeerTube.git] / server / helpers / ffmpeg-utils.ts
index 9dac4448ec89df290de2ce1d7df2d70e02ceb639..557fb5e3aaf036c0547355aef3c8cc9d1a79876d 100644 (file)
@@ -423,6 +423,7 @@ async function buildHLSCommand (command: ffmpeg.FfmpegCommand, options: HLSTrans
   const videoPath = getHLSVideoPath(options)
 
   if (options.copyCodecs) command = presetCopy(command)
+  else if (options.resolution === VideoResolution.H_NOVIDEO) command = presetOnlyAudio(command)
   else command = await buildx264Command(command, options)
 
   command = command.outputOption('-hls_time 4')