def _extractClipData(self, audioClipSpec, showLogs=False):
command = [self._ffmpegPath]<EOL>if not showLogs:<EOL><INDENT>command += ['<STR_LIT>', '<STR_LIT>', '<STR_LIT:0>']<EOL><DEDENT>command += [<EOL>'<STR_LIT>', self._audioFilePath,<EOL>'<STR_LIT>', '<STR_LIT>' % audioClipSpec.start,<EOL>'<STR_LIT>', '<STR_LIT>' % audioClipSpec.duration(),<EOL>'<STR_LIT:-c>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT:0>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>'<EOL>]<EOL>metadata = { self._textMetadataName: audioClipSpec.text }<EOL>for k, v in metadata.items():<EOL><INDENT>command.append('<STR_LIT>')<EOL>command.append("<STR_LIT>".format(k, v))<EOL><DEDENT>command.append('<STR_LIT>')<EOL>return subprocess.check_output(command)<EOL>
Extracts a single clip according to audioClipSpec.

        Arguments:
            audioClipSpec (AudioClipSpec): Clip specification
            showLogs (bool): Show ffmpeg output