#NEWLINE# def EncoderVersion( self ) : #NEWLINE# #INDENT# version_output = subprocess . check_output ( [ encoder . Tool ( 'ffmpeg' ) , '-version' ] ) #NEWLINE# match = re . match ( '(ffmpeg .*) Copyright' , self ) #NEWLINE# if match : #NEWLINE# #INDENT# return match . group ( 0 ) #NEWLINE# #UNINDENT# raise encoder . Error ( 'ffmpeg did not find its version string' )