mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 16:09:10 +00:00
moved FFprobe general options before input and output options
This commit is contained in:
parent
1b6c4b8c49
commit
f92d1a41a2
@ -104,14 +104,16 @@ ffmpeg:
|
|||||||
# Step 1: Frame Extraction
|
# Step 1: Frame Extraction
|
||||||
# extract all frames from original input into temporary directory
|
# extract all frames from original input into temporary directory
|
||||||
extract_frames:
|
extract_frames:
|
||||||
|
'-hwaccel': auto
|
||||||
|
'-y': true
|
||||||
output_options:
|
output_options:
|
||||||
'-qscale:v': null
|
'-qscale:v': null
|
||||||
'-pix_fmt': rgba64be
|
'-pix_fmt': rgba64be
|
||||||
'-hwaccel': auto
|
|
||||||
'-y': true
|
|
||||||
# Step 2: Video Assembly
|
# Step 2: Video Assembly
|
||||||
# assemble all frames back into a video with only a video track
|
# assemble all frames back into a video with only a video track
|
||||||
assemble_video:
|
assemble_video:
|
||||||
|
'-hwaccel': auto
|
||||||
|
'-y': true
|
||||||
input_options:
|
input_options:
|
||||||
'-qscale:v': null
|
'-qscale:v': null
|
||||||
'-qscale:a': null
|
'-qscale:a': null
|
||||||
@ -121,12 +123,12 @@ ffmpeg:
|
|||||||
'-crf': 17
|
'-crf': 17
|
||||||
'-b:v': null
|
'-b:v': null
|
||||||
'-pix_fmt': null
|
'-pix_fmt': null
|
||||||
'-hwaccel': auto
|
|
||||||
'-y': true
|
|
||||||
# Step 3: Streams Migration
|
# Step 3: Streams Migration
|
||||||
# migrate audio and subtitle streams from original
|
# migrate audio and subtitle streams from original
|
||||||
# video into the upscaled video
|
# video into the upscaled video
|
||||||
migrate_streams:
|
migrate_streams:
|
||||||
|
'-hwaccel': auto
|
||||||
|
'-y': true
|
||||||
output_options:
|
output_options:
|
||||||
'-map':
|
'-map':
|
||||||
- '0:v?'
|
- '0:v?'
|
||||||
@ -137,8 +139,6 @@ ffmpeg:
|
|||||||
'-c': copy
|
'-c': copy
|
||||||
'-pix_fmt': null
|
'-pix_fmt': null
|
||||||
'-metadata': 'comment=Upscaled by Video2X'
|
'-metadata': 'comment=Upscaled by Video2X'
|
||||||
'-hwaccel': auto
|
|
||||||
'-y': true
|
|
||||||
gifski:
|
gifski:
|
||||||
gifski_path: '%LOCALAPPDATA%\video2x\gifski\win\gifski'
|
gifski_path: '%LOCALAPPDATA%\video2x\gifski\win\gifski'
|
||||||
# output: null # Destination file to write to
|
# output: null # Destination file to write to
|
||||||
|
Loading…
Reference in New Issue
Block a user