Hi,
Thanks everyone for great help in years past, I've gotten much great info from this forum.
I've been using comskip for some years now to identify commercial breakpoints in mpg files. I use it manually from the cmd line, however, so if I have a set of mpgs, I will run it, wait for it to finish and then manually run it on the next file, until complete. Which requires me to be sitting at the computer so that I can run them one after the other.
Is there some other tool or script that can be run which I could use to have comskip run itself for all mpg files in a given directory? I've seen something called "comskip monitor" but not sure if that will do the trick (I suppose I can DL and try it?) Note that I don't necessarily need for comskip to delete the commercials, I'm just interested in the resulting .log files which produce.
Thanks for any help!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 9 of 9
Thread
-
-
you just create a BAT file and run it from that folder
Code:@echo off break>log.log for %%v in ("*.mpg") DO call :my_compskip "%%v" pause exit :my_compskip <video> echo processing %~nx1 rem below this rem text you include whatever sequence of command lines you need to rem but replace your regular name.mpg with general "%~1" echo done %~nx1 >> log.log echo. goto :eof
-
Thanks for the info!
And just wanted to get some clarification...
So, my comskip application is in folder C:\Users\lj01\comskip
Let's say the folder of mpgs is in folder C:\Users\lj01\Documents\TV Shows
Normally, i would run from cmd line and navigate to the comskip folder and then the cmd line would be comskip "C:\Users\lj01\Documents\TV Shows\show1.mpg" and so forth.
Do i place the BAT in the "comskip" folder or the "TV Shows" folder and/or does it then matter where the comskip exe file is?
Thanks again for your help! -
-
try to add /R in that FOR command, that should include subdirectories:
Code:for /R %%v in ("*.mpg") DO call :my_compskip "%%v"
Code:for /R "C:\main_folder\" %%v in ("*.mpg") DO call :my_compskip "%%v"
-
ok, in that case you can print whole path into that log as well, so it is not a mess:
Code:echo done %~dpnx1 echo done %~dpnx1 >> log.log
-
I m trying to get this to work but nothing is happening besides getting the names of my recordings into the log..
Do I have to add anything else to this batch file?
On the batch window after getting all my recordings listed I get a press any key to continue. . . and that s it..
thanks for any help..
Similar Threads
-
OTA/SageTV7/Mencoder/HDHomerun/Comskip audio sync issues
By thor95 in forum CapturingReplies: 0Last Post: 3rd Feb 2017, 23:00 -
Batch with Handbrake
By BobAchgill in forum Newbie / General discussionsReplies: 6Last Post: 6th Jun 2016, 23:14 -
[BATCH PROCESSING] how to replace CHOOSE.EXE in a batch routine?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 10th Nov 2015, 03:33 -
Comskip Help
By livetvbox in forum Newbie / General discussionsReplies: 2Last Post: 27th Oct 2012, 10:51 -
Batch Many Video Sizes
By lostfishbait in forum Video ConversionReplies: 1Last Post: 6th Sep 2012, 02:37