mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-11-04 14:41:35 +01:00 
			
		
		
		
	reparsed usages to make them more readable
This commit is contained in:
		
							parent
							
								
									49db07af38
								
							
						
					
					
						commit
						00d6b7a62d
					
				
							
								
								
									
										58
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										58
									
								
								README.md
									
									
									
									
									
								
							@ -141,38 +141,38 @@ $ python video2x.py -i sample_input.mp4 -o sample_output.mp4 -m cpu --width=1920
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Full Usage
 | 
					## Full Usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					### -h, --help
 | 
				
			||||||
usage: video2x.py [-h] -i INPUT -o OUTPUT -m {cpu,gpu,cudnn} -d
 | 
					    show this help message and exit
 | 
				
			||||||
                  {waifu2x_caffe,waifu2x_converter}
 | 
					 | 
				
			||||||
                  [-y {upconv_7_anime_style_art_rgb,upconv_7_photo,anime_style_art_rgb,photo,anime_style_art_y}]
 | 
					 | 
				
			||||||
                  [-t THREADS] [-c CONFIG] [--width WIDTH] [--height HEIGHT]
 | 
					 | 
				
			||||||
                  [-r RATIO]
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
optional arguments:
 | 
					### -i INPUT, --input INPUT
 | 
				
			||||||
  -h, --help            show this help message and exit
 | 
					    Specify source video file/directory
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Basic Options:
 | 
					### -o OUTPUT, --output OUTPUT
 | 
				
			||||||
  -i INPUT, --input INPUT
 | 
					    Specify output video file/directory
 | 
				
			||||||
                        Specify source video file/directory
 | 
					 | 
				
			||||||
  -o OUTPUT, --output OUTPUT
 | 
					 | 
				
			||||||
                        Specify output video file/directory
 | 
					 | 
				
			||||||
  -m {cpu,gpu,cudnn}, --method {cpu,gpu,cudnn}
 | 
					 | 
				
			||||||
                        Specify upscaling method
 | 
					 | 
				
			||||||
  -d {waifu2x_caffe,waifu2x_converter}, --driver {waifu2x_caffe,waifu2x_converter}
 | 
					 | 
				
			||||||
                        Waifu2x driver
 | 
					 | 
				
			||||||
  -y {upconv_7_anime_style_art_rgb,upconv_7_photo,anime_style_art_rgb,photo,anime_style_art_y}, --model_type {upconv_7_anime_style_art_rgb,upconv_7_photo,anime_style_art_rgb,photo,anime_style_art_y}
 | 
					 | 
				
			||||||
                        Specify model to use
 | 
					 | 
				
			||||||
  -t THREADS, --threads THREADS
 | 
					 | 
				
			||||||
                        Specify number of threads to use for upscaling
 | 
					 | 
				
			||||||
  -c CONFIG, --config CONFIG
 | 
					 | 
				
			||||||
                        Manually specify config file
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Scaling Options:
 | 
					### -m {cpu,gpu,cudnn}, --method {cpu,gpu,cudnn}
 | 
				
			||||||
  --width WIDTH         Output video width
 | 
					    Specify upscaling method
 | 
				
			||||||
  --height HEIGHT       Output video height
 | 
					
 | 
				
			||||||
  -r RATIO, --ratio RATIO
 | 
					### -d {waifu2x_caffe,waifu2x_converter}, --driver {waifu2x_caffe,waifu2x_converter}
 | 
				
			||||||
                        Scaling ratio
 | 
					    Waifu2x driver
 | 
				
			||||||
```
 | 
					
 | 
				
			||||||
 | 
					### -y {upconv_7_anime_style_art_rgb,upconv_7_photo,anime_style_art_rgb,photo,anime_style_art_y}, --model_type {upconv_7_anime_style_art_rgb,upconv_7_photo,anime_style_art_rgb,photo,anime_style_art_y}
 | 
				
			||||||
 | 
					    Specify model to use
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### -t THREADS, --threads THREADS
 | 
				
			||||||
 | 
					    Specify number of threads to use for upscaling
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### -c CONFIG, --config CONFIG
 | 
				
			||||||
 | 
					    Manually specify config file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### --width WIDTH
 | 
				
			||||||
 | 
					    Output video width
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### --height HEIGHT
 | 
				
			||||||
 | 
					    Output video height
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### -r RATIO, --ratio RATIO
 | 
				
			||||||
 | 
					    Scaling ratio
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This project is based on the following softwares and projects.
 | 
					This project is based on the following softwares and projects.
 | 
				
			||||||
- [FFMPEG]('https://www.ffmpeg.org/')
 | 
					- [FFMPEG]('https://www.ffmpeg.org/')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user