added arbitrary upscaling ratio/resolution support

This commit is contained in:
K4YT3X
2020-09-09 13:07:42 -04:00
parent 8b7e9f959b
commit 7059852586
16 changed files with 576 additions and 380 deletions

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-05-22 17:51-0400\n"
"POT-Creation-Date: 2020-09-09 13:04-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -15,231 +15,227 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
#: progress_monitor.py:42
msgid "Upscaling Progress"
#: progress_monitor.py:37
msgid "Processing: {} (pass {}/{})"
msgstr ""
#: upscaler.py:110
#: upscaler.py:144
msgid "Specified or default cache directory is a file/link"
msgstr ""
#: upscaler.py:116
#: upscaler.py:150
msgid "Creating cache directory {}"
msgstr ""
#: upscaler.py:119
#: upscaler.py:153
msgid "Unable to create {}"
msgstr ""
#: upscaler.py:124
#: upscaler.py:158
msgid "Extracted frames are being saved to: {}"
msgstr ""
#: upscaler.py:126
#: upscaler.py:160
msgid "Upscaled frames are being saved to: {}"
msgstr ""
#: upscaler.py:136
#: upscaler.py:170
msgid "Cleaning up cache directory: {}"
msgstr ""
#: upscaler.py:141
#: upscaler.py:175
msgid "Unable to delete: {}"
msgstr ""
#: upscaler.py:147 upscaler.py:162 upscaler.py:173
#: upscaler.py:181 upscaler.py:196 upscaler.py:207
msgid "Input and output path type mismatch"
msgstr ""
#: upscaler.py:148
#: upscaler.py:182
msgid "Input is multiple files but output is not directory"
msgstr ""
#: upscaler.py:152
#: upscaler.py:186
msgid "Input path {} is neither a file nor a directory"
msgstr ""
#: upscaler.py:156 upscaler.py:178
#: upscaler.py:190 upscaler.py:212
msgid "Input directory and output directory cannot be the same"
msgstr ""
#: upscaler.py:163
#: upscaler.py:197
msgid "Input is single file but output is directory"
msgstr ""
#: upscaler.py:166
#: upscaler.py:200
msgid "No suffix found in output file path"
msgstr ""
#: upscaler.py:167
#: upscaler.py:201
msgid "Suffix must be specified"
msgstr ""
#: upscaler.py:174
#: upscaler.py:208
msgid "Input is directory but output is existing single file"
msgstr ""
#: upscaler.py:183
#: upscaler.py:217
msgid "Input path is neither a file nor a directory"
msgstr ""
#: upscaler.py:192
#: upscaler.py:226
msgid "FFmpeg or FFprobe cannot be found under the specified path"
msgstr ""
#: upscaler.py:193 upscaler.py:203
#: upscaler.py:227 upscaler.py:237
msgid "Please check the configuration file settings"
msgstr ""
#: upscaler.py:202
#: upscaler.py:236
msgid "Specified driver executable directory doesn't exist"
msgstr ""
#: upscaler.py:229
#: upscaler.py:263
msgid "Failed to parse driver argument: {}"
msgstr ""
#: upscaler.py:261
#: upscaler.py:283
msgid "Unrecognized driver: {}"
msgstr ""
#: upscaler.py:301
#: upscaler.py:323
msgid "Starting progress monitor"
msgstr ""
#: upscaler.py:306
#: upscaler.py:328
msgid "Starting upscaled image cleaner"
msgstr ""
#: upscaler.py:315 upscaler.py:332
#: upscaler.py:337 upscaler.py:354
msgid "Killing progress monitor"
msgstr ""
#: upscaler.py:318 upscaler.py:335
#: upscaler.py:340 upscaler.py:357
msgid "Killing upscaled image cleaner"
msgstr ""
#: upscaler.py:339
#: upscaler.py:361
msgid "Terminating all processes"
msgstr ""
#: upscaler.py:346
#: upscaler.py:368
msgid "Main process waiting for subprocesses to exit"
msgstr ""
#: upscaler.py:365 upscaler.py:369
#: upscaler.py:387 upscaler.py:391
msgid "Subprocess {} exited with code {}"
msgstr ""
#: upscaler.py:375
#: upscaler.py:397
msgid "Stop signal received"
msgstr ""
#: upscaler.py:380
#: upscaler.py:402
msgid "Subprocess execution ran into an error"
msgstr ""
#: upscaler.py:410
#: upscaler.py:432
msgid "Loading files into processing queue"
msgstr ""
#: upscaler.py:415
msgid "Loading files from multiple paths"
msgstr ""
#: upscaler.py:416 upscaler.py:435 upscaler.py:442
#: upscaler.py:433
msgid "Input path(s): {}"
msgstr ""
#: upscaler.py:434
msgid "Loading single file"
msgstr ""
#: upscaler.py:441
msgid "Loading files from directory"
msgstr ""
#: upscaler.py:455
msgid "Loaded files into processing queue"
msgstr ""
#: upscaler.py:458
msgid "Input file: {}"
msgstr ""
#: upscaler.py:485
msgid "Starting to upscale image"
msgstr ""
#: upscaler.py:488 upscaler.py:550
msgid "Upscaling completed"
msgstr ""
#: upscaler.py:502
msgid "Reading video information"
msgstr ""
#: upscaler.py:516
msgid "Aborting: No video stream found"
msgstr ""
#: upscaler.py:521
msgid "Framerate: {}"
msgstr ""
#: upscaler.py:538
msgid "Unsupported pixel format: {}"
msgstr ""
#: upscaler.py:548
msgid "Starting to upscale extracted frames"
msgstr ""
#: upscaler.py:555
#: upscaler.py:495
msgid "File {} ({}) neither an image nor a video"
msgstr ""
#: upscaler.py:556
#: upscaler.py:496
msgid "Skipping this file"
msgstr ""
#: upscaler.py:566
msgid "Converting extracted frames into GIF image"
#: upscaler.py:521
msgid "Loaded files into processing queue"
msgstr ""
#: upscaler.py:570 upscaler.py:579
msgid "Conversion completed"
#: upscaler.py:524
msgid "Input file: {}"
msgstr ""
#: upscaler.py:535
msgid "Starting to upscale image"
msgstr ""
#: upscaler.py:538 upscaler.py:689
msgid "Upscaling completed"
msgstr ""
#: upscaler.py:552
msgid "Reading video information"
msgstr ""
#: upscaler.py:564
msgid "Aborting: No video stream found"
msgstr ""
#: upscaler.py:571
msgid "Framerate: {}"
msgstr ""
#: upscaler.py:575
msgid "Getting total number of frames in the file"
msgstr ""
#: upscaler.py:650
msgid "Upscaling jobs queue: {}"
msgstr ""
#: upscaler.py:666
msgid "Unsupported pixel format: {}"
msgstr ""
#: upscaler.py:676
msgid "Starting to upscale extracted frames"
msgstr ""
#: upscaler.py:696
msgid "Converting extracted frames into GIF image"
msgstr ""
#: upscaler.py:700 upscaler.py:709
msgid "Conversion completed"
msgstr ""
#: upscaler.py:705
msgid "Converting extracted frames into video"
msgstr ""
#: upscaler.py:583
#: upscaler.py:713
msgid "Migrating audio, subtitles and other streams to upscaled video"
msgstr ""
#: upscaler.py:593
#: upscaler.py:723
msgid "Failed to migrate streams"
msgstr ""
#: upscaler.py:594
#: upscaler.py:724
msgid "Trying to output video without additional streams"
msgstr ""
#: upscaler.py:610
#: upscaler.py:740
msgid "Output video file exists"
msgstr ""
#: upscaler.py:614
#: upscaler.py:744
msgid "Created temporary directory to contain file"
msgstr ""
#: upscaler.py:617
#: upscaler.py:747
msgid "Writing intermediate file to: {}"
msgstr ""
#: video2x.py:85
#: video2x.py:86
msgid ""
"Video2X CLI Version: {}\n"
"Upscaler Version: {}\n"
@@ -249,59 +245,87 @@ msgid ""
"Contact: k4yt3x@k4yt3x.com"
msgstr ""
#: video2x.py:108
#: video2x.py:109
msgid "Video2X Options"
msgstr ""
#: video2x.py:109
#: video2x.py:110
msgid "show this help message and exit"
msgstr ""
#: video2x.py:110
#: video2x.py:117
msgid "source video file/directory"
msgstr ""
#: video2x.py:111
#: video2x.py:118
msgid "output video file/directory"
msgstr ""
#: video2x.py:112
#: video2x.py:120
msgid "video2x config file path"
msgstr ""
#: video2x.py:114
#: video2x.py:122
msgid "log file path"
msgstr ""
#: video2x.py:124
msgid "disable logging"
msgstr ""
#: video2x.py:125
msgid "display version, lawful information and exit"
msgstr ""
#: video2x.py:117
#: video2x.py:128
msgid "Upscaling Options"
msgstr ""
#: video2x.py:118
msgid "upscaling driver"
msgstr ""
#: video2x.py:119
#: video2x.py:129
msgid "scaling ratio"
msgstr ""
#: video2x.py:120
#: video2x.py:130
msgid "output width"
msgstr ""
#: video2x.py:131
msgid "output height"
msgstr ""
#: video2x.py:132
msgid "upscaling driver"
msgstr ""
#: video2x.py:133
msgid "number of processes to use for upscaling"
msgstr ""
#: video2x.py:121
#: video2x.py:134
msgid "preserve extracted and upscaled frames"
msgstr ""
#: video2x.py:161
#: video2x.py:174
msgid "This file cannot be imported"
msgstr ""
#: video2x.py:236
#: video2x.py:190
msgid "Specify either scaling ratio or scaling resolution, not both"
msgstr ""
#: video2x.py:194
msgid "Only one of scaling width and scaling height is specified"
msgstr ""
#: video2x.py:200
msgid "Redirecting console logs to {}"
msgstr ""
#: video2x.py:276
msgid "Program completed, taking {} seconds"
msgstr ""
#: video2x.py:239
#: video2x.py:279
msgid "An exception has occurred"
msgstr ""