I am calling comskip from a script and I would like to minimize the console chatter, but even if I set verbose=0 in the ini file
and use -q or --quiet on the command line, I still get at least this much console output:
Comskip 0.81.056, made using avcodec
[wtv @ 04ab2880] truncated file
[wtv @ 04ab2880] truncated file
[wtv @ 04ab2880] truncated file
[wtv @ 04ab2880] truncated file
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[mpeg2video @ 04fbf860] 0x0 is invalid
[wtv @ 04ab2880] Stream #4: not enough frames to estimate rate; consider increasing probesize
Input #0, wtv, from 'Live! With Kelly and Michael_WTAEDT_2013_10_08_08_58_00.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Live! With Kelly and Michael
WM/SubTitleDescription: Sarah Michelle Gellar (``The Crazy Ones''); author Jessica Seinfeld.
genre : Talk Show;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;Kelly Ripa/Michael Strahan;
service_provider: WTAEDT
service_name : WTAEDT (WTAE-DT)
WM/MediaNetworkAffiliation: ABC Affiliate
WM/MediaOriginalChannel: 104
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2013-10-08T04:00:00Z
WM/MediaOriginalRunTime: 37151696333
WM/MediaIsStereo: true
WM/MediaIsRepeat: false
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : false
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/ParentalRating: TV-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2013-10-08 12:58:04
WM/WMRVSeriesUID: !MCSeries!280112408
WM/WMRVServiceID: !MCService!28458684
WM/WMRVProgramID: !MCProgram!293799206
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 420
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
Duration : 37159872285
WM/WMRVEndTime : 2013-10-08 14:00:00
WM/WMRVBitrate : 13.530514
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 415
WM/WMRVActualSoftPostPadding: 0
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
WM/MediaThumbWidth: 352
WM/MediaThumbHeight: 198
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 16
WM/MediaThumbAspectRatioY: 9
WM/MediaThumbTimeStamp: 4646235438090357197
Duration: 01:01:55.09, start: 4.002217, bitrate: 13533 kb/s
Stream #0:0[0x9a](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:1[0x9b](spa): Audio: ac3, 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2[0x9c]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
Stream #0:3[0x9d]: Subtitle: eia_608
Stream #0:4[0x0]: Video: mjpeg, yuvj420p, 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : TV Thumbnail
[wtv @ 0539a020] truncated file sec(257.86 fps), 1.00 sec(226.00 fps), 3%
Last message repeated 3 times
[mpeg2video @ 04ab2c80] 0x0 is invalid
Last message repeated 23 times
[wtv @ 0539a020] Stream #4: not enough frames to estimate rate; consider increasing probesize
Strange pts step: -4436.999999 frames
[wtv @ 0539a020] truncated file.19 sec(380.42 fps), 1.00 sec(426.00 fps), 99%
Last message repeated 3 times
[mpeg2video @ 050fc9c0] 0x0 is invalid
Last message repeated 23 times
[wtv @ 0539a020] Stream #4: not enough frames to estimate rate; consider increasing probesize
[wtv @ 05b748a0] truncated file
Last message repeated 3 times
[mpeg2video @ 050fc5e0] 0x0 is invalid
Last message repeated 23 times
[wtv @ 05b748a0] Stream #4: not enough frames to estimate rate; consider increasing probesize
[wtv @ 05b748a0] truncated file
Last message repeated 3 times
[mpeg2video @ 050fc9c0] 0x0 is invalid
Last message repeated 23 times
[wtv @ 05b748a0] Stream #4: not enough frames to estimate rate; consider increasing probesize
[wtv @ 0511b9e0] truncated file
Last message repeated 3 times
[mpeg2video @ 05a2abe0] 0x0 is invalid
Last message repeated 23 times
[wtv @ 0511b9e0] Stream #4: not enough frames to estimate rate; consider increasing probesize
115755 frames decoded in 321.23 seconds (360.35 fps)
The commandline used was:
comskip --ini=c:\Users\Public\DvrmsToolbox\applications\comskip.ini --quiet "Live! With Kelly and Michael_WTAEDT_2013_10_08_08_58_00.wtv"
Setting ini file to c:\Users\Public\DvrmsToolbox\applications\comskip.ini as per commandline
Using c:\Users\Public\DvrmsToolbox\applications\comskip.ini for initiation values.
Commercials were found.
*****************************************************************************************************
Are there settings that I could enable to cut that down?
comskip --quiet ,,, isn't
Re: comskip --quiet ,,, isn't
You can redirect the stdout and stderr to the null device
Google for howto do that.
Google for howto do that.
Re: comskip --quiet ,,, isn't
Well, I'm working in a bit of an odd environment where a normal console redirect isn't working for some reason. I'm using cygwin to allow me to get a shell to the windows box via ssh and then running a windows version of perl to call comskip in either a system() or `` (back tick) call. I'm sure it is some level of ignorance that is preventing my 2>&1 redirect not to work, but I can' tell what layer isn't working. That's why I tried the --quiet in the first place.
It obviously isn't working, and I don't expect a fix for it. In the grand scheme of things, I'm delighted to be using a working commercial skip after fighting with SA for a few years.
Console spam is a nit pick.
It obviously isn't working, and I don't expect a fix for it. In the grand scheme of things, I'm delighted to be using a working commercial skip after fighting with SA for a few years.
Console spam is a nit pick.
Re: comskip --quiet ,,, isn't
YOu can set
verbose=0
to get the least output but that does not stop the error messages from the video decoder
verbose=0
to get the least output but that does not stop the error messages from the video decoder