init
This commit is contained in:
		
							
								
								
									
										6
									
								
								php/extractvideopreviews.php
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								php/extractvideopreviews.php
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
$arr = scandir("../videos/prn/");
 | 
			
		||||
 | 
			
		||||
foreach ($arr as $elem) {
 | 
			
		||||
  shell_exec("ffmpeg -ss 00:04:00 -i \"../videos/prn/$elem\" -vframes 1 -q:v 2 \"$elem.jpg\"");
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user