This is a simple batch script that I have setup to capture screenshots of a video file/files every 10 seconds (mainly using this for tv show episode caps).Code:if not exist Ready md Ready for %%g in (*.mkv) do ( ffmpeg -i %%g -r 0.1 Ready\%%g_%%04d.jpg )
What it currently does (if you are part of this forum you obviously know this) is copy all the screenshots from all the episodes in the directory into one folder - "Ready". What I want it to do is create a seperate folder for each episode/video file using the filename of the video file. So with "Dexter - New Blood (2021) S01E09 The Family Business.mkv" it would create a folder named "Dexter - New Blood (2021) S01E09 The Family Business" and load the screenshots into that folder for that video file. Then when it gets to "Dexter - New Blood (2021) S01E10 Sins of the Father.mkv" it would create a folder titled "Dexter - New Blood (2021) S01E10 Sins of the Father" and load the screenshots into that folder and so on.
Any help is greatly appreciated.
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Tricky subtitle problem -out of sync, dual episodes, but different episodes
By fireaza in forum SubtitleReplies: 6Last Post: 19th Jan 2022, 12:03 -
Need help trying to download the following episodes
By oopargentina in forum Video Streaming DownloadingReplies: 25Last Post: 19th Sep 2021, 04:13 -
how do i add libx264 and hevc to ffmpeg when i compile ffmpeg for ubuntu 21
By oduodui in forum Newbie / General discussionsReplies: 2Last Post: 17th Jul 2021, 04:12 -
Get the complete FFmpeg command line when using FFmpeg Batch Converter
By pascor in forum Newbie / General discussionsReplies: 8Last Post: 13th May 2021, 23:14 -
[FFMPEG] Is there a way to remove this part that FFMPEG puts in the meta?
By GEOLINK in forum Newbie / General discussionsReplies: 2Last Post: 1st Feb 2021, 17:51