move ffmpeg code to its own file, rename types folder to lib
This commit is contained in:
parent
f322b45ee1
commit
6d779e7811
13 changed files with 310 additions and 253 deletions
|
@ -40,8 +40,7 @@ export const generateTestVideo = async (encodingType: EncodingType): Promise<voi
|
|||
const outputOptions = [
|
||||
'-vf', 'scale=-2:720',
|
||||
'-c:v', encodingType,
|
||||
'-c:a', 'copy', // Copying the original audio stream
|
||||
'-b:v', '8000k'
|
||||
'-c:a', 'copy',
|
||||
];
|
||||
|
||||
// Adjust output options based on encoder for maximum quality
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue