Save frame to target file without prompt
This commit is contained in:
		
					parent
					
						
							
								f7a44a720a
							
						
					
				
			
			
				commit
				
					
						aa26a1efd0
					
				
			
		
					 3 changed files with 5 additions and 4 deletions
				
			
		|  | @ -80,14 +80,14 @@ class Frame extends AbstractMediaType | |||
|          */ | ||||
|         if (!$accurate) { | ||||
|             $commands = array( | ||||
|                 '-ss', (string) $this->timecode, | ||||
|                 '-y', '-ss', (string) $this->timecode, | ||||
|                 '-i', $this->pathfile, | ||||
|                 '-vframes', '1', | ||||
|                 '-f', 'image2', $pathfile | ||||
|             ); | ||||
|         } else { | ||||
|             $commands = array( | ||||
|                 '-i', $this->pathfile, | ||||
|                 '-y', '-i', $this->pathfile, | ||||
|                 '-vframes', '1', '-ss', (string) $this->timecode, | ||||
|                 '-f', 'image2', $pathfile | ||||
|             ); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue