Sfoglia il codice sorgente

Print a message before embedding the subtitles

Jaime Marquínez Ferrándiz 12 anni fa
parent
commit
9af73dc4fc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      youtube_dl/PostProcessor.py

+ 1 - 0
youtube_dl/PostProcessor.py

@@ -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))