aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@users.noreply.github.com>2021-01-27 20:32:51 +0530
committerGitHub <noreply@github.com>2021-01-27 20:32:51 +0530
commit06167fbbd3c407ab77e2c7f5031d1ec93886946f (patch)
tree092fbe4daafa56205bfe1f5cefd423f84bac3504 /youtube_dlc/options.py
parent4ff5e98991cc9c78c0233a8e0c2f8b0200fb3e04 (diff)
downloadhypervideo-pre-06167fbbd3c407ab77e2c7f5031d1ec93886946f.tar.lz
hypervideo-pre-06167fbbd3c407ab77e2c7f5031d1ec93886946f.tar.xz
hypervideo-pre-06167fbbd3c407ab77e2c7f5031d1ec93886946f.zip
#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
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py8
1 files changed, 7 insertions, 1 deletions
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
@@ -935,6 +935,10 @@ def parseOpts(overrideArguments=None):
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',
help='JSON file containing the video information (created with the "--write-info-json" option)')
@@ -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,