From 06167fbbd3c407ab77e2c7f5031d1ec93886946f Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 27 Jan 2021 20:32:51 +0530 Subject: #31 Features from animelover1984/youtube-dl * Add `--get-comments` * [youtube] Extract comments * [billibilli] Added BiliBiliSearchIE, BilibiliChannelIE * [billibilli] Extract comments * [billibilli] Better video extraction * Write playlist data to infojson * [FFmpegMetadata] Embed infojson inside the video * [EmbedThumbnail] Try embedding in mp4 using ffprobe and `-disposition` * [EmbedThumbnail] Treat mka like mkv and mov like mp4 * [EmbedThumbnail] Embed in ogg/opus * [VideoRemuxer] Conditionally remux video * [VideoRemuxer] Add `-movflags +faststart` when remuxing from mp4 * [ffmpeg] Print entire stderr in verbose when there is error * [EmbedSubtitle] Warn when embedding ass in mp4 * [avanto] Use NFLTokenGenerator if possible --- youtube_dlc/options.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'youtube_dlc/options.py') diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index 89c5cf6be..749a6c6e0 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -934,6 +934,10 @@ def parseOpts(overrideArguments=None): '--no-write-annotations', action='store_false', dest='writeannotations', help='Do not write video annotations (default)') + filesystem.add_option( + '--get-comments', + action='store_true', dest='getcomments', default=False, + help='Retrieve video comments to be placed in the .info.json file') filesystem.add_option( '--load-info-json', '--load-info', dest='load_info_filename', metavar='FILE', @@ -1014,7 +1018,9 @@ def parseOpts(overrideArguments=None): metavar='FORMAT', dest='remuxvideo', default=None, help=( 'Remux the video into another container if necessary (currently supported: mp4|mkv). ' - 'If target container does not support the video/audio codec, remuxing will fail')) + 'If target container does not support the video/audio codec, remuxing will fail. ' + 'You can specify multiple rules; eg. "aac>m4a/mov>mp4/mkv" will remux aac to m4a, mov to mp4 ' + 'and anything else to mkv.')) postproc.add_option( '--recode-video', metavar='FORMAT', dest='recodevideo', default=None, -- cgit v1.2.3