diff --git a/auto_editor/__init__.py b/auto_editor/__init__.py index 3417295a2..9e4008135 100644 --- a/auto_editor/__init__.py +++ b/auto_editor/__init__.py @@ -1,4 +1,4 @@ '''__init__.py''' -__version__ = '21.49.1' -version = '21w49a' +__version__ = '21.50.1' +version = '21w50a' diff --git a/auto_editor/__main__.py b/auto_editor/__main__.py index 9a691da7e..5352d30e6 100755 --- a/auto_editor/__main__.py +++ b/auto_editor/__main__.py @@ -41,7 +41,7 @@ def main_options(parser): help='set the strength of the blur applied to a frame before being compared.') parser.add_argument('urlOps', nargs=0, action='grouping') - parser.add_argument('--output_dir', type=str, group='urlOps', + parser.add_argument('--download_dir', type=str, group='urlOps', default=None, help='the directory where the downloaded file is placed.') parser.add_argument('--limit_rate', '-rate', default='3m', @@ -61,7 +61,7 @@ def main_options(parser): help='check the website certificate before downloading.') parser.add_argument('exportMediaOps', nargs=0, action='grouping') - parser.add_argument('--video_bitrate', '-b:v', default='5m', group='exportMediaOps', + parser.add_argument('--video_bitrate', '-b:v', default='10m', group='exportMediaOps', help='set the number of bits per second for video.') parser.add_argument('--audio_bitrate', '-b:a', default='unset', group='exportMediaOps', help='set the number of bits per second for audio.') diff --git a/auto_editor/config.txt b/auto_editor/config.txt index 59a257b43..516bc3a74 100644 --- a/auto_editor/config.txt +++ b/auto_editor/config.txt @@ -1,7 +1,7 @@ # Auto-Editor default configuration file # exportMediaOps -auto-editor.exportMediaOps.video_bitrate = '5m' # '5m' +auto-editor.exportMediaOps.video_bitrate = '10m' # '10m' auto-editor.exportMediaOps.audio_bitrate = 'unset' # 'unset' auto-editor.exportMediaOps.sample_rate = None # None auto-editor.exportMediaOps.video_codec = 'auto' # 'auto' diff --git a/auto_editor/validate_input.py b/auto_editor/validate_input.py index f370f7c1a..a8141746c 100644 --- a/auto_editor/validate_input.py +++ b/auto_editor/validate_input.py @@ -71,8 +71,8 @@ def download_video(my_input, args, ffmpeg, log): outtmpl = outtmpl[:-4] outtmpl += '.mp4' - if(args.output_dir is not None): - outtmpl = os.path.join(args.output_dir, outtmpl) + if(args.download_dir is not None): + outtmpl = os.path.join(args.download_dir, outtmpl) try: import yt_dlp