diff --git a/coolchic/encode.py b/coolchic/encode.py index a110d7ef..ff0c3e42 100644 --- a/coolchic/encode.py +++ b/coolchic/encode.py @@ -13,7 +13,6 @@ import subprocess import configargparse -from enc.bitstream.encode import encode_video from enc.component.coolchic import CoolChicEncoderParameter from enc.component.video import ( VideoEncoder, @@ -321,6 +320,7 @@ # Bitstream if args.output != "": + from enc.bitstream.encode import encode_video # video_encoder = load_video_encoder(video_encoder_savepath) encode_video(video_encoder, args.output, hls_sig_blksize=16)