2024-01-24 12:11:06 -05:00
|
|
|
# Image-Generator
|
|
|
|
|
|
|
|
A CLI to generate comparison image sets with
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
2024-03-01 16:32:55 -05:00
|
|
|
usage: FrameForge [-h] [-v] [--source SOURCE] [--encode ENCODE] [--frames FRAMES]
|
|
|
|
[--image-dir IMAGE_DIR] [--indexer {lsmash,ffms2}]
|
2024-03-08 14:53:16 -05:00
|
|
|
[--source-index-path SOURCE_INDEX_PATH]
|
|
|
|
[--encode-index-path ENCODE_INDEX_PATH] [--sub-size SUB_SIZE]
|
|
|
|
[--left-crop LEFT_CROP] [--right-crop RIGHT_CROP] [--top-crop TOP_CROP]
|
2024-03-01 16:32:55 -05:00
|
|
|
[--bottom-crop BOTTOM_CROP] [--adv-resize-left ADV_RESIZE_LEFT]
|
2024-03-08 14:53:16 -05:00
|
|
|
[--adv-resize-right ADV_RESIZE_RIGHT] [--adv-resize-top ADV_RESIZE_TOP]
|
|
|
|
[--adv-resize-bottom ADV_RESIZE_BOTTOM] [--tone-map] [--re-sync RE_SYNC]
|
|
|
|
[--comparison-count COMPARISON_COUNT] [--subtitle-color SUBTITLE_COLOR]
|
2024-03-01 16:32:55 -05:00
|
|
|
[--release-sub-title RELEASE_SUB_TITLE]
|
2024-01-24 12:11:06 -05:00
|
|
|
|
|
|
|
options:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-v, --version show program's version number and exit
|
|
|
|
--source SOURCE Path to source file
|
|
|
|
--encode ENCODE Path to encode file
|
2024-03-08 14:53:16 -05:00
|
|
|
--frames FRAMES Only use this if you want to specify the frames to generate, this
|
|
|
|
disables sync frames
|
2024-01-24 12:11:06 -05:00
|
|
|
--image-dir IMAGE_DIR
|
|
|
|
Path to base image folder
|
|
|
|
--indexer {lsmash,ffms2}
|
|
|
|
Indexer choice
|
2024-03-08 14:53:16 -05:00
|
|
|
--source-index-path SOURCE_INDEX_PATH
|
|
|
|
Path to look/create indexes for source
|
|
|
|
--encode-index-path ENCODE_INDEX_PATH
|
|
|
|
Path to look/create indexes for encode
|
2024-01-24 12:11:06 -05:00
|
|
|
--sub-size SUB_SIZE Size of subtitles
|
|
|
|
--left-crop LEFT_CROP
|
|
|
|
Left crop
|
|
|
|
--right-crop RIGHT_CROP
|
|
|
|
Right crop
|
|
|
|
--top-crop TOP_CROP Top crop
|
|
|
|
--bottom-crop BOTTOM_CROP
|
|
|
|
crop
|
|
|
|
--adv-resize-left ADV_RESIZE_LEFT
|
|
|
|
Advanced resize left
|
|
|
|
--adv-resize-right ADV_RESIZE_RIGHT
|
|
|
|
Advanced resize right
|
|
|
|
--adv-resize-top ADV_RESIZE_TOP
|
|
|
|
Advanced resize top
|
|
|
|
--adv-resize-bottom ADV_RESIZE_BOTTOM
|
|
|
|
Advanced resize bottom
|
|
|
|
--tone-map HDR tone-mapping
|
|
|
|
--re-sync RE_SYNC Sync offset for image generation in frames (i.e. --re-sync=-3)
|
|
|
|
--comparison-count COMPARISON_COUNT
|
|
|
|
Amount of comparisons to generate
|
|
|
|
--subtitle-color SUBTITLE_COLOR
|
2024-03-08 14:53:16 -05:00
|
|
|
Hex color code for subtitle color (i.e. --subtitle-color "#fff000")
|
2024-01-24 12:11:06 -05:00
|
|
|
--release-sub-title RELEASE_SUB_TITLE
|
2024-03-08 14:53:16 -05:00
|
|
|
Release group subtitle name (this will show on the encode images)
|
2024-01-24 12:11:06 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
## Supports
|
|
|
|
|
2024-01-24 12:47:43 -05:00
|
|
|
Windows 8 and up (x64).
|
2024-01-29 22:39:26 -05:00
|
|
|
Technically could support Linux/MacOS but binaries will only be compiled for Windows for now.
|
2024-01-24 12:11:06 -05:00
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
2024-01-29 22:39:26 -05:00
|
|
|
You will need lsmash, ffms2, libfpng, libimwri, and SubText vapoursynth plugins. For windows
|
|
|
|
I have compiled an executable with the needed runtime libraries.
|
2024-01-24 13:18:19 -05:00
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
FrameForge.exe --source "path/Ant-Man.2015.mkv" --encode "path/Ant-Man.2015.Encoded.mkv" --sub-size 12 --indexer lsmash --top-crop 22 --bottom-crop 22 --subtitle-color #00FF00
|
|
|
|
|
|
|
|
Indexing source
|
|
|
|
...
|
|
|
|
Source index completed
|
|
|
|
|
|
|
|
Indexing encode
|
|
|
|
...
|
|
|
|
Encode index completed
|
|
|
|
|
|
|
|
Checking if encode has been de-interlaced
|
|
|
|
No de-interlacing detected
|
|
|
|
|
|
|
|
Generating 20 'B' frames for comparison images
|
|
|
|
Finished generating 20 'B' frames
|
|
|
|
|
|
|
|
Creating folders for images
|
|
|
|
Folder creation completed
|
|
|
|
|
|
|
|
Generating screenshots, please wait
|
|
|
|
Writing file: 01a_source__%d.png, frame: 25270
|
|
|
|
Writing file: 02a_source__%d.png, frame: 30590
|
|
|
|
...
|
|
|
|
|
|
|
|
Generating a few sync frames
|
|
|
|
Writing file: 01b_encode__%d.png, frame: 35910
|
|
|
|
Writing file: 02b_encode__%d.png, frame: 25270
|
|
|
|
...
|
|
|
|
|
|
|
|
Screen generation completed
|
|
|
|
Output: path/Ant-Man.2015_images/
|
|
|
|
```
|
|
|
|
|
|
|
|
[![04a_source__41230.png](https://thumbs2.imgbox.com/8d/47/X3l54wjy_t.png)](https://imgbox.com/X3l54wjy)
|
|
|
|
[![04b_encode__41230.png](https://thumbs2.imgbox.com/07/65/WvJ55AZp_t.png)](https://imgbox.com/WvJ55AZp)
|
2024-01-24 13:24:12 -05:00
|
|
|
|
2024-01-24 13:23:55 -05:00
|
|
|
[![11a_source__41230.png](https://thumbs2.imgbox.com/59/bd/woQpbay2_t.png)](https://imgbox.com/woQpbay2)
|
|
|
|
[![11b_encode__41230.png](https://thumbs2.imgbox.com/96/24/WzCtO3dY_t.png)](https://imgbox.com/WzCtO3dY)
|
2024-01-24 13:24:12 -05:00
|
|
|
|
2024-01-24 13:23:55 -05:00
|
|
|
[![16a_source__41230.png](https://thumbs2.imgbox.com/a8/5b/GftN1tCw_t.png)](https://imgbox.com/GftN1tCw)
|
|
|
|
[![16b_encode__41230.png](https://thumbs2.imgbox.com/c2/94/tFhRztHT_t.png)](https://imgbox.com/tFhRztHT)
|