Skip to content

Commit

Permalink
make sure to force hwc
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Dec 30, 2024
1 parent 3760628 commit 12de415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/ffmpegSettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,13 +453,15 @@ def __init__(
device="cpu",
num_threads=decodeThreads,
filters=filters,
tensor_shape="HWC",
)([float(inpoint), float(outpoint)])
else:
self.reader = VideoReader(
videoInput,
device="cpu",
num_threads=decodeThreads,
filters=filters,
tensor_shape="HWC",
)
logging.info("Using Celux pipeline for video decoding")
except Exception as e:
Expand Down

0 comments on commit 12de415

Please sign in to comment.