Skip to content

Commit

Permalink
Update Video.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed May 23, 2024
1 parent 3c3c927 commit 80b9d97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nodes/Video.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,11 @@ class VideoCombine_Adv:
@classmethod
def INPUT_TYPES(s):
#Hide ffmpeg formats if ffmpeg isn't available
if ffmpeg_path is not None:
ffmpeg_formats = ["video/"+x[:-5] for x in folder_paths.get_filename_list("video_formats")]
else:
ffmpeg_formats = []
# if ffmpeg_path is not None:
# ffmpeg_formats = ["video/"+x[:-5] for x in folder_paths.get_filename_list("video_formats")]
# else:
# ffmpeg_formats = []
ffmpeg_formats =["video/"+x for x in ['webm', 'mp4', 'mkv']]
return {
"required": {
"image_batch": ("IMAGE",),
Expand Down

0 comments on commit 80b9d97

Please sign in to comment.