Replies: 2 comments
-
Queue, I want to know this too |
Beta Was this translation helpful? Give feedback.
0 replies
-
download from youtube and extract frames pip install yt_dlp
python -c "from yt_dlp import YoutubeDL; YoutubeDL({'overwrites':True, 'format':'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'outtmpl':'/content/video.mp4'}).download(['https://youtu.be/EU3hIXXeiz4'])"
mkdir /content/video
ffmpeg -i /content/video.mp4 '/content/video/%04d.png' or pip install yt_dlp
python -c "import os; from yt_dlp import YoutubeDL; ydl_opts = {'overwrites':True, 'format':'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'outtmpl':'/content/video.mp4'}; YoutubeDL(ydl_opts).download(['https://youtu.be/EU3hIXXeiz4']); os.system('ffmpeg -i /content/video.mp4 \'/content/video/%04d.png\'')" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, enable
Settings
>ControlNet
>Skip img2img processing when using img2img initial image
andDo not append detectmap to output
.Then open the
Batch
tab of theimg2img
tab.Enter the folder containing the images for ControlNet in
Input directory
, and the path of the output destination folder inOutput directory
. Do not set images on the ControlNet canvas.Beta Was this translation helpful? Give feedback.
All reactions