mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-03 18:12:58 +01:00
Print a message before embedding the subtitles
This commit is contained in:
parent
fc483bb6af
commit
9af73dc4fc
@ -458,6 +458,7 @@ def run(self, information):
|
|||||||
opts.extend(['-f', 'mp4'])
|
opts.extend(['-f', 'mp4'])
|
||||||
|
|
||||||
temp_filename = filename + u'.temp'
|
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)
|
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
|
||||||
os.remove(encodeFilename(filename))
|
os.remove(encodeFilename(filename))
|
||||||
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
|
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
|
||||||
|
Loading…
Reference in New Issue
Block a user