diff --git a/README.md b/README.md index 61b2a6b..aeb9bea 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ ![](./assets/1.png) ###### 参数说明 -**video_path**: 本地视频路径,比如:`C:\Users\Desktop\222.mp4` -**output_path**: 输出图片保存路径,比如:`C:\Users\Desktop\output` +**video_path**: 本地视频路径,比如:`C:\Users\Desktop\222.mp4`
+**output_path**: 输出图片保存路径,比如:`C:\Users\Desktop\output`
**frames_max_width**: 这个参数可以用来缩放视频,默认为0,表示不缩放视频,如果frames_max_width大于视频实际宽度,则视频不会被放大,保持原宽度,如果frames_max_width小于视频实际宽度,则视频会被缩小。 ___ @@ -42,11 +42,11 @@ ___ ![](./assets/2.png) ###### 参数说明 -**frame_path**: 本地图片路径,比如:`C:\Users\Desktop\output` -**fps**: 视频帧率,默认为`30` -**video_name**: 保存视频名称,比如:`222.mp4` -**output_path**: 视频保存路径,比如:`C:\Users\Desktop\output` -**audio_path**: 视频音频路径,比如:`C:\Users\Desktop\222.mp3` +**frame_path**: 本地图片路径,比如:`C:\Users\Desktop\output`
+**fps**: 视频帧率,默认为`30`
+**video_name**: 保存视频名称,比如:`222.mp4`
+**output_path**: 视频保存路径,比如:`C:\Users\Desktop\output`
+**audio_path**: 视频音频路径,比如:`C:\Users\Desktop\222.mp3`
___ ##### AddTextWatermark节点: 作用是在视频上添加文字水印
@@ -54,13 +54,13 @@ ___ ![](./assets/3.png) ###### 参数说明 -**video_path**: 本地视频路径,比如:`C:\Users\Desktop\222.mp4` -**output_path**: 视频保存路径,比如:`C:\Users\Desktop\output` -**font_file**: 字体文件,需要把字体文件放到`custom_nodes\ComfyUI-FFmpeg\fonts`目录下,不仅英文字体,中文字体也可以,比如:`ComfyUI\custom_nodes\ComfyUI-FFmpeg\fonts\Alibaba-PuHuiTi-Heavy.ttf` -**font_size**: 水印文字大小,比如:`40` -**font_color**: 水印文字颜色,比如:`#FFFFFF`或者`white` -**position_x**: 水印文字x坐标,比如:`100` -**position_y**: 水印文字y坐标,比如:`100` +**video_path**: 本地视频路径,比如:`C:\Users\Desktop\222.mp4`
+**output_path**: 视频保存路径,比如:`C:\Users\Desktop\output`
+**font_file**: 字体文件,需要把字体文件放到`custom_nodes\ComfyUI-FFmpeg\fonts`目录下,不仅英文字体,中文字体也可以,比如:`ComfyUI\custom_nodes\ComfyUI-FFmpeg\fonts\Alibaba-PuHuiTi-Heavy.ttf`
+**font_size**: 水印文字大小,比如:`40`
+**font_color**: 水印文字颜色,比如:`#FFFFFF`或者`white`
+**position_x**: 水印文字x坐标,比如:`100`
+**position_y**: 水印文字y坐标,比如:`100`
___ @@ -69,12 +69,12 @@ ___ ![](./assets/4.png) ###### 参数说明 -**video_path**: 本地视频路径,比如:`C:\Users\Desktop\222.mp4` -**output_path**: 视频保存路径,比如:`C:\Users\Desktop\output` -**watermark_image**: 水印图片路径,比如:`C:\Users\Desktop\watermark.png` -**watermark_img_width**: 水印图片宽度,比如:`100` -**position_x**: 水印图片在视频中的x坐标,比如:`100` -**position_y**: 水印图片在视频中的y坐标,比如:`100` +**video_path**: 本地视频路径,比如:`C:\Users\Desktop\222.mp4`
+**output_path**: 视频保存路径,比如:`C:\Users\Desktop\output`
+**watermark_image**: 水印图片路径,比如:`C:\Users\Desktop\watermark.png`
+**watermark_img_width**: 水印图片宽度,比如:`100`
+**position_x**: 水印图片在视频中的x坐标,比如:`100`
+**position_y**: 水印图片在视频中的y坐标,比如:`100`
___ ## 社交账号 diff --git a/README_EN.md b/README_EN.md index 7dabab3..e31ad6e 100644 --- a/README_EN.md +++ b/README_EN.md @@ -32,8 +32,8 @@ Install through ComfyUI-Manager by searching for 'ComfyUI-BiRefNet-Hugo' and ins ![](./assets/1.png) ###### Parameter Description -**video_path**: The local video path, e.g:`C:\Users\Desktop\222.mp4` -**output_path**: The path to save the output images, e.g:`C:\Users\Desktop\output` +**video_path**: The local video path, e.g:`C:\Users\Desktop\222.mp4`
+**output_path**: The path to save the output images, e.g:`C:\Users\Desktop\output`
**frames_max_width**: This parameter can be used to resize the video. The default value is 0, which means the video will not be resized. If frames_max_width is larger than the actual width of the video, the video will not be enlarged and will retain its original width. If frames_max_width is smaller than the actual width of the video, the video will be scaled down. ___ @@ -42,11 +42,11 @@ ___ ![](./assets/2.png) ###### Parameter Description -**frame_path**: local image path, e.g:`C:\Users\Desktop\output` -**fps**: video frame rate, default is`30` -**video_name**: saved video name, e.g:`222.mp4` -**output_path**: video save path,e.g:`C:\Users\Desktop\output` -**audio_path**: video audio path,e.g:`C:\Users\Desktop\222.mp3` +**frame_path**: local image path, e.g:`C:\Users\Desktop\output`
+**fps**: video frame rate, default is`30`
+**video_name**: saved video name, e.g:`222.mp4`
+**output_path**: video save path,e.g:`C:\Users\Desktop\output`
+**audio_path**: video audio path,e.g:`C:\Users\Desktop\222.mp3`
___ ##### AddTextWatermark Node: The function is to add a text watermark to the video.
@@ -54,13 +54,13 @@ ___ ![](./assets/3.png) ###### Parameter Description -**video_path**: local video path,e.g:`C:\Users\Desktop\222.mp4` -**output_path**: video save path,e.g:`C:\Users\Desktop\output` -**font_file**: font file: The font file needs to be placed in the`custom_nodes\ComfyUI-FFmpeg\fonts` directory. Not only English fonts, but Chinese fonts can also be used.,e.g:`ComfyUI\custom_nodes\ComfyUI-FFmpeg\fonts\Alibaba-PuHuiTi-Heavy.ttf` -**font_size**: watermark text size,e.g:`40` -**font_color**: watermark text color,e.g:`#FFFFFF` or `white` -**position_x**: watermark text x-coordinate,e.g:`100` -**position_y**: watermark text y-coordinate,e.g:`100` +**video_path**: local video path,e.g:`C:\Users\Desktop\222.mp4`
+**output_path**: video save path,e.g:`C:\Users\Desktop\output`
+**font_file**: font file: The font file needs to be placed in the`custom_nodes\ComfyUI-FFmpeg\fonts` directory. Not only English fonts, but Chinese fonts can also be used.,e.g:`ComfyUI\custom_nodes\ComfyUI-FFmpeg\fonts\Alibaba-PuHuiTi-Heavy.ttf`
+**font_size**: watermark text size,e.g:`40`
+**font_color**: watermark text color,e.g:`#FFFFFF` or `white`
+**position_x**: watermark text x-coordinate,e.g:`100`
+**position_y**: watermark text y-coordinate,e.g:`100`
___ @@ -69,12 +69,12 @@ ___ ![](./assets/4.png) ###### Parameter Description -**video_path**: local video path,e.g:`C:\Users\Desktop\222.mp4` -**output_path**: video save path,e.g:`C:\Users\Desktop\output` -**watermark_image**: watermark image path,e.g:`C:\Users\Desktop\watermark.png` -**watermark_img_width**: watermark image width,e.g:`100` -**position_x**: watermark image x-coordinate in the video,e.g:`100` -**position_y**: watermark image y-coordinate in the video,e.g:`100` +**video_path**: local video path,e.g:`C:\Users\Desktop\222.mp4`
+**output_path**: video save path,e.g:`C:\Users\Desktop\output`
+**watermark_image**: watermark image path,e.g:`C:\Users\Desktop\watermark.png`
+**watermark_img_width**: watermark image width,e.g:`100`
+**position_x**: watermark image x-coordinate in the video,e.g:`100`
+**position_y**: watermark image y-coordinate in the video,e.g:`100`
___ ## Social Account Homepage