OpenELEC Forum
Syntax error with Comskip 0.93i on OpenELEC 6.0.3 - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: OPENELEC ADDONS (https://forum.openelec.tv/forumdisplay.php?fid=29)
+---- Forum: unofficial OpenELEC Addons (https://forum.openelec.tv/forumdisplay.php?fid=31)
+---- Thread: Syntax error with Comskip 0.93i on OpenELEC 6.0.3 (/showthread.php?tid=82425)



Syntax error with Comskip 0.93i on OpenELEC 6.0.3 - DugieHowsa - 08-03-2016

I am attempting to run comskip on some mpg files. When I run comskip, I receive the following error message:

OpenELEC:~/dvr/Bones # comskip "Bones S11E15 20160512 [20160513-0000].mpg"
Comskip 0.93i.000, made using avcodec
The commandline used was:
comskip.bin --ini=/storage/.kodi/addons/tools.comskip/etc/comskip.ini Bones S11E15 20160512 [20160513-0000].mpg

Errors:
ComSkip: excess option 20160512
ComSkip: unexpected argument "[20160513-0000].mpg"

I tried the command with no quotes, single quotes and doubles quotes around the file name.

I tried a final time, by replacing all the spaces in the file name with underscores, and I was able to successfully run the program.

Is there a way to run the program where the file name contains spaces?

Code:
OpenELEC:~/dvr/Bones # ls
Bones S11E15 20160512 [20160513-0000].mpg Bones S11E19 20160616 [20160617-0000].mpg Bones_S11E14_20160505.csv
Bones S11E16 20160519 [20160520-0000].mpg Bones S11E20 20160623 [20160624-0000].mpg Bones_S11E14_20160505.edl
Bones S11E17 20160526 [20160527-0000].mpg Bones S11E21 20160714 [20160715-0000].mpg Bones_S11E14_20160505.log
Bones S11E18 20160602 [20160603-0000].mpg Bones S11E22 20160721 [20160722-0000].mpg Bones_S11E14_20160505.mpg
OpenELEC:~/dvr/Bones # comskip "Bones S11E15 20160512 [20160513-0000].mpg"
Comskip 0.93i.000, made using avcodec
The commandline used was:
comskip.bin --ini=/storage/.kodi/addons/tools.comskip/etc/comskip.ini Bones S11E15 20160512 [20160513-0000].mpg

Usage:
comskip [-h|--help] [-w|--debugwindow] [-n|--playnice] [--zpcut] [--zpchapter] [--videoredo] [--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
--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

Detection methods available:
1 - Black Frame
2 - Logo
4 - Scene Change
8 - Resolution Change
16 - Closed Captions
32 - Aspect Ratio
64 - Silence
128 - CutScenes
255 - USE ALL AVAILABLE

Errors:
ComSkip: excess option 20160512
ComSkip: unexpected argument "[20160513-0000].mpg"
OpenELEC:~/dvr/Bones # comskip 'Bones S11E15 20160512 [20160513-0000].mpg'
Comskip 0.93i.000, made using avcodec
The commandline used was:
comskip.bin --ini=/storage/.kodi/addons/tools.comskip/etc/comskip.ini Bones S11E15 20160512 [20160513-0000].mpg

Usage:
comskip [-h|--help] [-w|--debugwindow] [-n|--playnice] [--zpcut] [--zpchapter] [--videoredo] [--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
--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

Detection methods available:
1 - Black Frame
2 - Logo
4 - Scene Change
8 - Resolution Change
16 - Closed Captions
32 - Aspect Ratio
64 - Silence
128 - CutScenes
255 - USE ALL AVAILABLE

Errors:
ComSkip: excess option 20160512
ComSkip: unexpected argument "[20160513-0000].mpg"
OpenELEC:~/dvr/Bones #