Print a message before embedding the subtitles

pull/8/head
Jaime Marquínez Ferrándiz 2013-08-23 18:17:43 +02:00
rodzic fc483bb6af
commit 9af73dc4fc
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -458,6 +458,7 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
opts.extend(['-f', 'mp4'])
temp_filename = filename + u'.temp'
self._downloader.to_screen(u'[ffmpeg] Embedding subtitles in \'%s\'' % filename)
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
os.remove(encodeFilename(filename))
os.rename(encodeFilename(temp_filename), encodeFilename(filename))