Encourage youtube-dl to save downloaded files into mp4 format, so they can be streamed directly

This commit is contained in:
Jacob Mansfield [root@Helix] 2019-09-22 19:33:23 +01:00
parent cb7e1d1be5
commit d0e2d577dc

View File

@ -82,6 +82,7 @@ class DownloadVideoJob(Job):
'writesubtitles': user.preferences['download_subtitles'], 'writesubtitles': user.preferences['download_subtitles'],
'writeautomaticsub': user.preferences['download_autogenerated_subtitles'], 'writeautomaticsub': user.preferences['download_autogenerated_subtitles'],
'allsubtitles': user.preferences['download_subtitles_all'], 'allsubtitles': user.preferences['download_subtitles_all'],
'merge_output_format': 'mp4',
'postprocessors': [ 'postprocessors': [
{ {
'key': 'FFmpegMetadata' 'key': 'FFmpegMetadata'