print "Указанный файл не существует: {0}". Формат (имя файла)
^ Синтаксическая ошибка: invalid syntax
(1) "неверный синтаксис" , потому что вы дали неверную инструкцию.Попробуйте как:
print ( "The given file does not exist: {0}".format(filename) )
(2) Относительно «Пожалуйста, эту команду нужно вводить?» :
Ваш autosub -S pt -D pt video1.wmv
не имеет ключа API для Google Translate.
Приложение сообщает, что "запрашивает Google Web Speech API
для генерации транскрипций (подпунктов)"
usage: autosub [-h] [-C CONCURRENCY] [-o OUTPUT] [-F FORMAT] [-S SRC_LANGUAGE]
[-D DST_LANGUAGE] [-K API_KEY] [--list-formats]
[--list-languages]
[source_path]
positional arguments:
source_path Path to the video or audio file to subtitle
optional arguments:
-h, --help show this help message and exit
-C CONCURRENCY, --concurrency CONCURRENCY
Number of concurrent API requests to make
-o OUTPUT, --output OUTPUT
Output path for subtitles (by default, subtitles are
saved in the same directory and name as the source
path)
-F FORMAT, --format FORMAT
Destination subtitle format
-S SRC_LANGUAGE, --src-language SRC_LANGUAGE
Language spoken in source file
-D DST_LANGUAGE, --dst-language DST_LANGUAGE
Desired language for the subtitles
-K API_KEY, --api-key API_KEY
The Google Translate API key to be used. (Required for
subtitle translation)
--list-formats List all available subtitle formats
--list-languages List all available source/destination languages