2015-08-09, 10:56
Currently vnsi only supports vdr marks
(2015-08-11, 15:40)whoisterencelee Wrote: Not to doubt about vdr marks support with vnsi.
But username145 did mentioned that he was able to skip commercial with comskip txt using file manager? I suppose it's another mechanism.
username145 please chime in and let us know how:
1) you setup the nextscene button?
2) did you get kodi to read comskip txt?
Comskip 0.81.077, made using avcodec
Public build
The commandline used was:
Z:\home\terence\comskip\wine\comskip.exe
Usage:
comskip [-h|--help] [-w|--debugwindow] [-n|--playnice] [--zpcut] [--zpchapter] [--videoredo] [--videoredo3] [--csvout] [--quality] [--plist] [-m|--demux] [-p|--pid=<string>] [-t|--ts] [-d|--detectmethod=<int>] [-v|--verbose=<int>] [-u|--dump=<int>] [-s|--play] [--timing] [-q|--quiet] [--ini=<file>] [--logo=<file>] [--cut=<file>] [--output=<file>] [--selftest=<int>] <file> [<file>]
-h, --help Display syntax
-w, --debugwindow Show debug window
-n, --playnice Slows detection down
--zpcut Outputs a ZoomPlayer cutlist
--zpchapter Outputs a ZoomPlayer chapter file
--videoredo Outputs a VideoRedo cutlist
--videoredo3 Outputs a VideoRedo3 cutlist
--csvout Outputs a csv of the frame array
--quality Outputs a csv of false detection segments
--plist Outputs a mac-style plist for addition to an EyeTV archive as the 'markers' property
-m, --demux Demux the input into elementary streams
-p, --pid=<string> The PID of the video in the TS
-t, --ts The input file is a Transport Stream
-d, --detectmethod=<int> An integer sum of the detection methods to use
-v, --verbose=<int> Verbose level
-u, --dump=<int> Dump the cutscene at this frame number
-s, --play Play the video
--timing Dump the timing into a file
-q, --quiet Not output logging to the console window
--ini=<file> Ini file to use
--logo=<file> Logo file to use
--cut=<file> CutScene file to use
--output=<file> Folder to use for all output files
--selftest=<int> Execute a selftest
<file> Input file
<file> Output folder for cutlist
import os
import subprocess
import time
program = 'C:\Program Files (x86)\Comskip\comskip.exe'
batch = 'C:\Program Files (x86)\Comskip\comskiprename.bat'
# subextract = 'C:\Program Files (x86)\Comskip\ccextractorwin.exe'
listofiles = [os.path.join(dp, f) for dp, dn, fn in os.walk(os.path.expanduser("P:")) for f in fn]
textfiles = '.log'
tsfiles = '.ts'
listoftxt = []
listofts = []
replacedtxt = []
realfinallist = []
for entry in listofiles:
if textfiles in entry:
listoftxt.append(entry)
elif tsfiles in entry:
listofts.append(entry)
for item in listoftxt:
replacedtxt.append(item.replace(".log", ".ts"))
finallist = [item for item in listofts if item not in replacedtxt]
currenttime = time.time()
for entry in finallist:
statstime = os.stat(entry)
modifiedtime = statstime.st_mtime
if currenttime - modifiedtime > 120:
realfinallist.append(entry)
print '----------------THESE FILES WILL BE PROCESSED-----------------'
for entry in realfinallist:
print entry
print '--------------------------------------------------------------'
for item in realfinallist:
subprocess.call([program, item])
print 'And renaming...'
subprocess.call([batch])
print 'Done!'
print '----------------THESE FILES WERE NEWLY PROCESSED-----------------'
for entry in realfinallist:
print entry
P:
for /r %%x in (*.vdr) do ren "%%x" marks
...
["Playback", [
"nextscene" , "NEXT_SCENE",
"play" , "Play",
...
<keymap><fullscreenvideo><keyboard><key id="61472">nextscene</key></keyboard></fullscreenvideo></keymap>
<FullscreenVideo>
<keyboard>
<key id="221">PreviousScene</key>
<key id="223">NextScene</key>