Compare commits
	
		
			13 Commits
		
	
	
		
			add-cq-con
			...
			bdcdb2e8e5
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| bdcdb2e8e5 | |||
| 356caf37fd | |||
| 8483a37bae | |||
| 940ca6d751 | |||
| 9848e0de9f | |||
| de17b72171 | |||
| c92e017680 | |||
| 4b8b0e4888 | |||
| b24c0e4ef7 | |||
| ae2c910f20 | |||
| ee56666c33 | |||
| 35ffb74383 | |||
| 84cc3a58cd | 
							
								
								
									
										17
									
								
								dist/main.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								dist/main.js
									
									
									
									
										vendored
									
									
								
							| @ -164,11 +164,13 @@ async function vodBuilder(params) { | ||||
|         outputOptions: [ | ||||
|             `-preset ${pluginSettings.vodQuality}`, | ||||
|             //`-b:v${streamSuffix} ${targetBitrate}`, | ||||
|             `-b:v${streamSuffix} 0`, | ||||
|             //`-bufsize ${targetBitrate * 2}`, | ||||
|             //`-crf 21`, // increased 19 to 21, file size massive | ||||
|             `-profile:v${streamSuffix} high`, | ||||
|             `-cq 21`, | ||||
|             `-c:v${streamSuffix} h264_nvenc` | ||||
|             `-cq 24`, | ||||
|             `-rc:v vbr`, | ||||
|             `-c:v${streamSuffix} h264_nvenc`, | ||||
|             `-bf 4` | ||||
|         ] | ||||
|     }; | ||||
|     logger.info(`EncoderOptions: ${JSON.stringify(options)}`); | ||||
| @ -194,13 +196,16 @@ async function liveBuilder(params) { | ||||
|         inputOptions: shouldInitVaapi ? buildInitOptions() : [], | ||||
|         outputOptions: [ | ||||
|             `-tune ${pluginSettings.liveQuality}`, | ||||
|             // `-r:v${streamSuffix} ${fps}`, | ||||
|             `-r:v${streamSuffix} ${fps}`, | ||||
|             `-profile:v${streamSuffix} high`, | ||||
|             `-c:v${streamSuffix} h264_nvenc`, | ||||
|             `-cq 21` | ||||
|             // `-g:v${streamSuffix} ${fps * 2}`, | ||||
|             `-cq 24`, | ||||
|             `-g:v${streamSuffix} ${fps * 2}`, | ||||
|             //`-b:v${streamSuffix} ${targetBitrate}`, | ||||
|             `-b:v${streamSuffix} 0`, | ||||
|             //`-bufsize ${targetBitrate * 2}`, | ||||
|             `-rc:v vbr`, | ||||
|             `-bf 4` | ||||
|         ] | ||||
|     }; | ||||
|     logger.info(`EncoderOptions: ${JSON.stringify(options)}`); | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| { | ||||
|     "name": "peertube-plugin-nctv-nvenc-transcode", | ||||
|     "version": "1.0.7", | ||||
|     "version": "1.1.0", | ||||
|     "license": "MIT", | ||||
|     "description": "Plugin that adds transcode profiles which use NVIDIA NVENC for hardware acceleration", | ||||
|     "engine": { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user