Skip to content

Commit

Permalink
* Fixing #330 "Remove Metadata" only removes video metadata for Rigay…
Browse files Browse the repository at this point in the history
…a's hardware encoders (thanks to wynterca)
  • Loading branch information
cdgriffith committed Apr 24, 2022
1 parent 4a530ef commit ce69aec
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Fixing #327 FastFlix Duplicates encoding task and encodes same movie to infinity (thanks to Wontell)
* Fixing #324 NVEncC wrong Interlace Value set by FastFlix (thanks to Wontell)
* Fixing #278 FastFlix occasionally getting stuck on a single video in a queue (thanks to kamild1996)
* Fixing #330 "Remove Metadata" only removes video metadata for Rigaya's hardware encoders (thanks to wynterca)
* Fixing level was not being passed to hardware encoders

## Version 4.8.1
Expand Down
6 changes: 5 additions & 1 deletion fastflix/encoders/nvencc_avc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ def build(fastflix: FastFlix):
transform,
(f'--output-res {video.video_settings.scale.replace(":", "x")}' if video.video_settings.scale else ""),
crop,
(f"--video-metadata clear" if video.video_settings.remove_metadata else "--video-metadata copy"),
(
f"--video-metadata clear --metadata clear"
if video.video_settings.remove_metadata
else "--video-metadata copy --metadata copy"
),
(f'--video-metadata title="{video.video_settings.video_title}"' if video.video_settings.video_title else ""),
("--chapter-copy" if video.video_settings.copy_chapters else ""),
"-c",
Expand Down
6 changes: 5 additions & 1 deletion fastflix/encoders/nvencc_hevc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ def build(fastflix: FastFlix):
transform,
(f'--output-res {video.video_settings.scale.replace(":", "x")}' if video.video_settings.scale else ""),
crop,
(f"--video-metadata clear" if video.video_settings.remove_metadata else "--video-metadata copy"),
(
f"--video-metadata clear --metadata clear"
if video.video_settings.remove_metadata
else "--video-metadata copy --metadata copy"
),
(f'--video-metadata title="{video.video_settings.video_title}"' if video.video_settings.video_title else ""),
("--chapter-copy" if video.video_settings.copy_chapters else ""),
"-c",
Expand Down
6 changes: 5 additions & 1 deletion fastflix/encoders/qsvencc_avc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ def build(fastflix: FastFlix):
transform,
(f'--output-res {video.video_settings.scale.replace(":", "x")}' if video.video_settings.scale else ""),
crop,
(f"--video-metadata clear" if video.video_settings.remove_metadata else "--video-metadata copy"),
(
f"--video-metadata clear --metadata clear"
if video.video_settings.remove_metadata
else "--video-metadata copy --metadata copy"
),
(f'--video-metadata title="{video.video_settings.video_title}"' if video.video_settings.video_title else ""),
("--chapter-copy" if video.video_settings.copy_chapters else ""),
"-c",
Expand Down
6 changes: 5 additions & 1 deletion fastflix/encoders/qsvencc_hevc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ def build(fastflix: FastFlix):
transform,
(f'--output-res {video.video_settings.scale.replace(":", "x")}' if video.video_settings.scale else ""),
crop,
(f"--video-metadata clear" if video.video_settings.remove_metadata else "--video-metadata copy"),
(
f"--video-metadata clear --metadata clear"
if video.video_settings.remove_metadata
else "--video-metadata copy --metadata copy"
),
(f'--video-metadata title="{video.video_settings.video_title}"' if video.video_settings.video_title else ""),
("--chapter-copy" if video.video_settings.copy_chapters else ""),
"-c",
Expand Down
6 changes: 5 additions & 1 deletion fastflix/encoders/vceencc_avc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ def build(fastflix: FastFlix):
transform,
(f'--output-res {video.video_settings.scale.replace(":", "x")}' if video.video_settings.scale else ""),
crop,
(f"--video-metadata clear" if video.video_settings.remove_metadata else "--video-metadata copy"),
(
f"--video-metadata clear --metadata clear"
if video.video_settings.remove_metadata
else "--video-metadata copy --metadata copy"
),
(f'--video-metadata title="{video.video_settings.video_title}"' if video.video_settings.video_title else ""),
("--chapter-copy" if video.video_settings.copy_chapters else ""),
"-c",
Expand Down
6 changes: 5 additions & 1 deletion fastflix/encoders/vceencc_hevc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ def build(fastflix: FastFlix):
transform,
(f'--output-res {video.video_settings.scale.replace(":", "x")}' if video.video_settings.scale else ""),
crop,
(f"--video-metadata clear" if video.video_settings.remove_metadata else "--video-metadata copy"),
(
f"--video-metadata clear --metadata clear"
if video.video_settings.remove_metadata
else "--video-metadata copy --metadata copy"
),
(f'--video-metadata title="{video.video_settings.video_title}"' if video.video_settings.video_title else ""),
("--chapter-copy" if video.video_settings.copy_chapters else ""),
"-c",
Expand Down

0 comments on commit ce69aec

Please sign in to comment.