fix ffmpeg args
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@@ -62,7 +62,7 @@ async def send_post(post: E621Post, tag_list: List[str]):
 | 
				
			|||||||
                            webm.write(file.read())
 | 
					                            webm.write(file.read())
 | 
				
			||||||
                        ffmpeg\
 | 
					                        ffmpeg\
 | 
				
			||||||
                            .input(str(src_path)) \
 | 
					                            .input(str(src_path)) \
 | 
				
			||||||
                            .filter('pad', {
 | 
					                            .filter('pad', **{
 | 
				
			||||||
                                'width': 'ceil(iw/2)*2',
 | 
					                                'width': 'ceil(iw/2)*2',
 | 
				
			||||||
                                'height': 'ceil(ih/2)*2',
 | 
					                                'height': 'ceil(ih/2)*2',
 | 
				
			||||||
                                'x': '0',
 | 
					                                'x': '0',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user