* Set bitrate limits for transcoding (fixes #638) * added optimization script and test, changed stuff * fix test, improve docs * re-add optimize-old-videos script * added documentation * Don't optimize videos without valid UUID, or redundancy videos * move getUUIDFromFilename * fix tests? * update torrent and file size, some more fixes/improvements * use higher bitrate for high fps video, adjust bitrates * add test video * don't throw error if resolution is undefined * generate test fixture on the fly * use random noise video for bitrate test, add promise * shorten test video to avoid timeout * use existing function to optimize video * various fixes * increase test timeout * limit test fixture size, add link * test fixes * add await * more test fixes, add -b:v parameter * replace ffmpeg wiki link * fix ffmpeg params * fix unit test * add test fixture to .gitgnore * add video transcoding fps model * add missing file
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			530 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			530 B
		
	
	
	
		
			Text
		
	
	
	
	
	
# NPM instalation
 | 
						|
/node_modules/
 | 
						|
*npm-debug.log
 | 
						|
 | 
						|
# Testing
 | 
						|
/test1/
 | 
						|
/test2/
 | 
						|
/test3/
 | 
						|
/test4/
 | 
						|
/test5/
 | 
						|
/test6/
 | 
						|
/server/tests/fixtures/video_high_bitrate_1080p.mp4
 | 
						|
 | 
						|
# Production
 | 
						|
/storage/
 | 
						|
/config/production.yaml
 | 
						|
/config/local*
 | 
						|
/ffmpeg/
 | 
						|
/ffmpeg-4/
 | 
						|
/thumbnails/
 | 
						|
/torrents/
 | 
						|
/videos/
 | 
						|
/previews/
 | 
						|
/logs/
 | 
						|
 | 
						|
# IDE
 | 
						|
/*.sublime-project
 | 
						|
/*.sublime-workspace
 | 
						|
/**/.idea
 | 
						|
/dist
 | 
						|
/PeerTube.iml
 | 
						|
 | 
						|
# Zanata
 | 
						|
/.zanata-cache
 | 
						|
/scripts/i18n/generate-iso639-target.ts
 | 
						|
 | 
						|
# Other
 | 
						|
/profiling/
 | 
						|
/*.zip
 | 
						|
/*.tar.xz
 | 
						|
/*.asc
 | 
						|
/server/tools/import-mediacore.ts
 | 
						|
/docker-volume/
 |