MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » General Talk


General Talk Talk about the MediaPortal TV-Server

Reply
 
Thread Tools Display Modes
Old 2007-02-20, 01:29   #1 (permalink)
Portal Member
 
Nightmare77's Avatar
 
Join Date: Jul 2005
Location: Canberra
Age: 29
Posts: 521
Thanks: 2
Thanked 1 Time in 1 Post

Country:

My System

Send a message via ICQ to Nightmare77
Default Comskip/Comclean

Anyone have a working version of Comskip/Comclean with the new tv engine, i haven't been able to configure comskip/comclean yet, and was wondering if anyone has managed to do it, if they have is it possible to get the ini file from the comskip folder to help me on my way.
Nightmare77 is offline   Reply With Quote
Old 2007-02-20, 08:36   #2 (permalink)
Portal Member
 
Join Date: Nov 2005
Age: 20
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post

Country:

My System

Send a message via ICQ to luksmann
Default

I actually have a working comskip solution, but not with the new TV-Server.

My solutions works with the myPrograms plugin and deletes commercials in all .mpeg and dvr-ms recordings.

Send me a PM if you need further information!

Greets, Luksmann
luksmann is offline   Reply With Quote
Old 2007-02-20, 13:12   #3 (permalink)
Retired Team Member
 
Join Date: May 2005
Location: Germany
Posts: 688
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Default

Quote:
Originally Posted by luksmann View Post
I actually have a working comskip solution, but not with the new TV-Server.

My solutions works with the myPrograms plugin and deletes commercials in all .mpeg and dvr-ms recordings.

Send me a PM if you need further information!

Greets, Luksmann
Hi Luksmann,

what program do you use for cutting dvr-ms files automatically after comskip has detected the ads?
Is it the dvr.ms-cutter from Comskip-Page? 'cause this is not working on my machine.

Regards
Ralph
__________________
MP: 0.2.3.0 latest SVN
Case: Silverstone LC03
Celeron 2,4 GHz ,512MB memory, NVidia FX5200, 1x160GB, 1x250GB, 1x500GB, Asus P4P deluxe
OS: Window MCE SP2
TVcard: Hauppauge PVR 350
Remote: MCE 2005
Ralph is offline   Reply With Quote
Old 2007-02-21, 10:38   #4 (permalink)
Portal Member
 
Join Date: Nov 2005
Age: 20
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post

Country:

My System

Send a message via ICQ to luksmann
Default

It is dvrcut from the comskip-page.
You have to open the comskip.ini and set output_dvrcut to 1

i got as far as that but thant I encountered a few problems.

what's most imporant is that you have to put all the comskip files into your user directory (C:/Documents and Settings/username) or comskip and dvrcut won't work.

you'll also have to unzip all the dvrcut files into your recordings folder. for me that's
e:/recordings - the files have to be in exactly the same directory as your recordings - no subfolders allowed.

than you'll have to edit your postprocessing.bat

my postprocessing.bat now looks like this:

comskip %1 /opens comskip; %1 is the full name of the recording.

"%~dpn1.bat" /comskip creates a .bat file, named after the input file. the content of this file is something like dvrcut "full name of the recording" xx:xx:xx and so on. this line open the .bat file. no matter where it is located (which solves the drive letter problem)

del "%~dpn1.txt
del "%~dpn1.log"
del "%~dpn1.bat"
move "%~dpn1.dvr-ms" "%~dpn1_original.dvr-ms"
move "%~dpn1_clean.dvr-ms" "%~dpn1.dvr-ms" /the three del commands clean up all the comskip logs. the move commands rename the original recording into recordingname_original.drv-ms and the recordingname_clean gets renamed to recordingname, which solves most problems with the MP tv-recordings database.

so my finished postprocessing.bat looks like this:

@echo off

comskip %1

"%~dpn1.bat"

del "%~dpn1.txt
del "%~dpn1.log"
del "%~dpn1.bat"
move "%~dpn1.dvr-ms" "%~dpn1_original.dvr-ms"
move "%~dpn1_clean.dvr-ms" "%~dpn1.dvr-ms"

i hope my solution works for you! if you experience any further problems feel free to pm me!

regards, luksmann
luksmann is offline   Reply With Quote
Old 2007-02-21, 11:39   #5 (permalink)
Portal Member
 
Join Date: Feb 2007
Age: 22
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Off topic, but did you use 'move' instead of rename because you got errors with rename, or because you're Linux/Unix savvy? Or did you just copy it from someone else?
Azazyel is offline   Reply With Quote
Old 2007-02-21, 11:54   #6 (permalink)
Portal Member
 
Join Date: Nov 2005
Age: 20
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post

Country:

My System

Send a message via ICQ to luksmann
Default

I never did batch file programming so I read some online tutorials.
the first command i found which matched my requirements was "move" - so I used it

greets, luksmann
luksmann is offline   Reply With Quote
Old 2007-02-22, 10:11   #7 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 96
Thanks: 2
Thanked 5 Times in 4 Posts


Default

I assume DVRCut could be anywhere in the PATH.
That is, in the current directory, or in the windows system directory or in the windows directory.
You can add directories to the path.
To find you where your PATH is open a cmd.exe window and type
path
Or you could set in your comskip.ini where dvrcut can be found
change
dvrcut_options="dvrcut \"%s.dvr-ms\" \"%s_clean.dvr-ms\" "
to
dvrcut_options="d:\\path\\to\\dvrcut \"%s.dvr-ms\" \"%s_clean.dvr-ms\" "
Make sure to use double backslash for the path to dvrcut (needed because of the escaping)

I also assumed you had to use
call "%~dpn1.bat"
instad of
"%~dpn1.bat"
but its good to hear its working!
erik1958 is online now   Reply With Quote
Old 2007-02-22, 10:43   #8 (permalink)
Portal Member
 
Join Date: Nov 2005
Age: 20
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post

Country:

My System

Send a message via ICQ to luksmann
Default

Works just fine without the "call" command...

but thanks for the information about the PATH problem!

greets, luksmann
luksmann is offline   Reply With Quote
Reply

Bookmarks

Tags
comskip or comclean

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DVRMS Toolbox vs Comskip : Which one should I use? ignacvucko MediaPortal 1 Talk 0 2007-02-04 18:15
i guess comclean is not working for me Green_Star MediaPortal 1 Talk 0 2006-07-11 12:42
How to run Comskip automatically ? olbo General Support 4 2006-06-21 07:32
Comskip 0.79 build 41: Many improvements erik1958 Tips and Tricks 2 2006-05-16 06:16
comskip support rob_z11 Improvement Suggestions 2 2005-05-26 19:40


All times are GMT +1. The time now is 08:39.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden