diff options
author | Théo de la Hogue | 2024-04-22 18:18:40 +0200 |
---|---|---|
committer | Théo de la Hogue | 2024-04-22 18:18:40 +0200 |
commit | 954fd68867a6eb155b7ecea45b65f65b06c87088 (patch) | |
tree | ceed7e191a4bf502a7a77432647a593ec560a790 | |
parent | 3e16b20e92056144188879761bf6ae5b12d811a6 (diff) | |
download | argaze-954fd68867a6eb155b7ecea45b65f65b06c87088.zip argaze-954fd68867a6eb155b7ecea45b65f65b06c87088.tar.gz argaze-954fd68867a6eb155b7ecea45b65f65b06c87088.tar.bz2 argaze-954fd68867a6eb155b7ecea45b65f65b06c87088.tar.xz |
Using posix path to setup ffmpeg.
-rw-r--r-- | src/argaze/utils/UtilsFeatures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/utils/UtilsFeatures.py b/src/argaze/utils/UtilsFeatures.py index 3c5be35..2fc7806 100644 --- a/src/argaze/utils/UtilsFeatures.py +++ b/src/argaze/utils/UtilsFeatures.py @@ -385,7 +385,7 @@ class VideoWriter(DataFeatures.PipelineStepObject, DataFeatures.SharedObject): os.makedirs(self.__path.parent.absolute()) - self.__process = sp.Popen(shlex.split(f'ffmpeg -hide_banner -loglevel error -y -s {self.__width}x{self.__height} -pixel_format bgr24 -f rawvideo -r {self.__fps} -i pipe: -vcodec libx265 -x265-params log-level=error -pix_fmt yuv420p -crf 24 {self.__path}'), stdin=sp.PIPE) + self.__process = sp.Popen(shlex.split(f'ffmpeg -hide_banner -loglevel error -y -s {self.__width}x{self.__height} -pixel_format bgr24 -f rawvideo -r {self.__fps} -i pipe: -vcodec libx265 -x265-params log-level=error -pix_fmt yuv420p -crf 24 {self.__path.as_posix()}'), stdin=sp.PIPE) @DataFeatures.PipelineStepExit def __exit__(self, exception_type, exception_value, exception_traceback): |