logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 9af73dc4fc7dc54def861f94f9db4399b8bf928e
parent fc483bb6af4bce923c65a67618019a72071f30ff
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Fri, 23 Aug 2013 18:17:43 +0200

Print a message before embedding the subtitles

Diffstat:

Myoutube_dl/PostProcessor.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/PostProcessor.py b/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))