ComSkipLauncher - LaunchProcess(): The handle is invalid

Here you can ask your questions on how to use Comskip for the detection of commercials. Also questions on how to remove commercials are welcome
Post Reply
ccna55
Posts: 2
Joined: Fri Nov 29, 2013 5:09 pm

ComSkipLauncher - LaunchProcess(): The handle is invalid

Post by ccna55 »

I have already opened topic in media portal forum and they cannot seem to know what the issue is, So i am asking in comskip forum if someone else has seen this error.

I have scoured the internet and Media portal forums for any help to no avail. I have only heard of one other user in media portal having this issue.
Win7 32bit
MP version = 1.3.0.0
comskip 0.81.056 Donator version

Here is a copy of my log showing the recording ending and then below you will see the error that is thrown when trying to start comskip.
it happens with multiple versions of comskip along with all versions of media portal (except the newest have not tried that one yet).

I cant find nothing on this, At times it will work for a few days or weeks without issue then all the sudden it wont work and nothing seems to fix it, Not a reboot , service restart nothing.
I have tried many versions of comskip and now i am even using the paid version.
When it does work it works great...but when it suddenly stops working i cant figure out how to fix.

tv.log
2013-11-28 00:15:05.449218 [scheduler thread(16)]: tvcard:FreeAllSubChannels
2013-11-28 00:15:05.451171 [scheduler thread(16)]: analog: StopGraph state:confused:topped
2013-11-28 00:15:05.453125 [scheduler thread(16)]: Controller: epg start
2013-11-28 00:15:05.560546 [scheduler thread(16)]: TV3BlasterPlugin: Received TV Server Event "ScheduleDeleted"
2013-11-28 00:15:05.571289 [scheduler thread(16)]: Recording flag decreased - Recordings=0 TimeShiftingActive=False
2013-11-28 00:15:05.574218 [scheduler thread(16)]: ComSkipLauncher: Recording ended (E:\DVR-Recordings\NHL Hockey\NHL Hockey - Chicago Blackhawks at Calgary Flames - 2013-11-27.ts on 09), launching program (E:\Comskip\comskip.exe "E:\DVR-Recordings\NHL Hockey\NHL Hockey - Chicago Blackhawks at Calgary Flames - 2013-11-27.ts") ...
2013-11-28 00:15:05.703125 [scheduler thread(16)]: TV3BlasterPlugin: Received TV Server Event "RecordingEnded"
2013-11-28 00:15:22.596679 [(11)]: BackupSettingsServer: BackupSettings Polling: _NextBackup=12/6/2013 6:00:00 AM recording=0 TimeShiftingActive=False
2013-11-28 00:16:22.598632 [(11)]: BackupSettingsServer: BackupSettings Polling: _NextBackup=12/6/2013 6:00:00 AM recording=0 TimeShiftingActive=False
2013-11-28 00:17:06.047851 [PowerEventThread(8)]: OnPowerEvent: PowerStatus: Suspend
2013-11-28 00:17:06.047851 [PowerEventThread(8)]: OnPowerEventHandler: PowerStatus: Suspend
2013-11-28 00:17:06.048828 [PowerEventThread(8)]: TvController.OnSuspend()
2013-11-28 00:17:06.060546 [PowerEventThread(8)]: Scheduler: stopped
2013-11-28 00:17:06.064453 [PowerEventThread(8)]: Scheduler: thread stopped.
2013-11-28 00:17:06.066406 [PowerEventThread(8)]: Stopcard
2013-11-28 00:17:06.066406 [PowerEventThread(8)]: tvcard:FreeAllSubChannels

error.log
2013-11-28 00:15:05.692382 [scheduler thread(16)]: ComSkipLauncher - LaunchProcess(): The handle is invalid <--This is the error and Comskip fails to run


It will work perfect if i run it manually just not automatically.

Thanks,
ccna55
Jagad
Posts: 131
Joined: Wed Dec 07, 2011 12:37 am

Re: ComSkipLauncher - LaunchProcess(): The handle is invalid

Post by Jagad »

Try adding a -t in parameters.
http://wiki.team-mediaportal.com/1_MEDI ... p_Launcher

Code: Select all

Parameters (Default: "{0}")
Comskip at minimum requires a filename to process but can also be given other info on the command line (press the ? button for more info)
You can add -t to indicate that the input file is a transport stream
ccna55
Posts: 2
Joined: Fri Nov 29, 2013 5:09 pm

Re: ComSkipLauncher - LaunchProcess(): The handle is invalid

Post by ccna55 »

I would have added a screen print of config however couldnt figure out how
to attach.
I already had a -t in parameters config page.
As mentioned at times it will work perfect for say 3weeks
Then for some unknown reason just start throwing this error.

Thanks,
ccna55
Jagad
Posts: 131
Joined: Wed Dec 07, 2011 12:37 am

Re: ComSkipLauncher - LaunchProcess(): The handle is invalid

Post by Jagad »

Which syntax does comskip launcher use when invoking comskip?
Post Reply