NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 106 107 108 109 110 … 125 Next »
How do I use comskip - and auto cut commercials?

 
  • 0 Vote(s) - 0 Average
How do I use comskip - and auto cut commercials?
Cape-City
Offline

Member

Posts: 237
Threads: 44
Joined: Aug 2005
#11
2005-09-03, 10:32 PM (This post was last modified: 2005-09-03, 10:37 PM by Cape-City.)
Hi,

when i put the comskip.exe in the gbpvr directory gbpvr executes the exe automaticlly
wthout having the postprocessing.bat created.

When i create the postprocessing.bat with the content shown above, didnt the system
runs the comskip.exe twice (not at the same time, but after eachother) ????

Another Question ...

Is it possible that comskip didnt work with recordings in germany ? O.k. he found
different things in the mpeg (e.g. the Channel Logo), but when running the
comclean.bat - nothing is different in the 'Com-Free Mpeg', only the filesize
is a bit smaller ...

Greetz
CC
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#12
2005-09-04, 03:06 AM
Quote:when i put the comskip.exe in the gbpvr directory gbpvr executes the exe automaticlly
wthout having the postprocessing.bat created.

When i create the postprocessing.bat with the content shown above, didnt the system
runs the comskip.exe twice (not at the same time, but after eachother) ????
comskip.exe is not run if PostProcessing.bat is found in the GB-PVR directory.
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#13
2005-09-04, 05:54 AM
Comskip already has some additional features specific for germany.
First thing to do is to look at the .txt file that comskip generated and to check if the frame numbers of the commercials (one per line) are aout right.
Comclean will cut out the frame ranges who's numbers are in the .txt file generated by comclean.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Cape-City
Offline

Member

Posts: 237
Threads: 44
Joined: Aug 2005
#14
2005-09-05, 07:15 PM (This post was last modified: 2005-09-05, 07:26 PM by Cape-City.)
Hi,

i attached the log and txt file which comskip generated on a 2 hours movie.
When i watch the comclean mpg all commercials are still in there, when
i activate the gb-pvr function to skip com when found the txt it jumps
forward there where no commercials are (i used the original of 'course) ?!?

CC
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#15
2005-09-05, 08:36 PM
66% of the show has logo, this looks normal.
Its look like comskip detected the parts that include a logo as show and the most of the parts without logo as commercials.
COuld you check if the commercials have a logo?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Cape-City
Offline

Member

Posts: 237
Threads: 44
Joined: Aug 2005
#16
2005-09-06, 05:52 PM
the commercials have no logo, only the channel own commercial (preview, etc...) has
sometimes a logo .
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#17
2005-09-06, 06:19 PM
Comclean has failed to cut the mpg properly.
This happens every time a commercial is found in frames 0 or 1.
Post your comclean.bat file.
I believe there's a way around it, and it's got to do with the number of dashes.
Even if the first commercial is found in frames 0 or 1 it should still process the rest of the file, and clean the commercials.
This depends on what version of comskip, and what version of comclean you're using.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
Cape-City
Offline

Member

Posts: 237
Threads: 44
Joined: Aug 2005
#18
2005-09-06, 07:18 PM
the last available me think (comskip75.zip & comclean_0_0_5.zip)...

Code:
@echo off
Rem comclean.bat Version 0.0.5
Rem Adapt to your framerate times 100 (PAL=2500/NTSC=2997)
set framerate=2500
Rem Adapt to where mpgtx.exe can be found
set mpgtx="c:\Programme\devnz\gbpvr\mpgtx.exe"

rem Initialize the variables
set start=0
set duration=0

rem Set the command line start
set cmdline=%mpgtx% -j -f -o "%~dpn1_clean.mpg" "%~dpn1.mpg"
set cutpoints=

rem Process all the lines from the Comskip output file
for /F "usebackq tokens=1,2,3*" %%i in ("%~dpn1.txt") do call :processline %%i %%j
rem Output last clip
call :totime %start%
set cmdline=%cmdline%  [%tim%-]
echo Resulting cutpoints: %cutpoints%
rem echo %cmdline% >"%~dpn1.bat"
rem echo exit >>"%~dpn1.bat"
rem start /wait /low call "%~dpn1.bat"
@echo on
%cmdline%
@echo off
echo Resulting cutpoints: %cutpoints%
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_clean.mpg" "%~dpn1.mpg"
rem exit
goto :eof

:processline
rem Skip useless lines
set arg=%1
if "%arg:~0,4%"=="FILE" goto :eof
if "%arg:~0,4%"=="----" goto :eof

rem Output the clip information for the show part
set /a length=%1-%start%
set /a duration=%duration%+%length%
call :totime %duration%
set cutpoints=%cutpoints% %tim%

if "%1"=="0" goto :nostartshow
call :totime %start%
set cmdline=%cmdline% [%tim%
call :totime %1
set cmdline=%cmdline%-%tim%]
:nostartshow
rem Remember start of next clip
set start=%2
goto :eof

:totime
set tim=
if "%1"=="0" goto :eof
set /A position=%1 *100 / %framerate%
set /A hours=%position% / 60 /60
set /A hrest = %position% - %hours%*60*60
set /A minutes=%hrest% /60
set /A seconds = %hrest%  - %minutes%*60
set tim=%hours%:%minutes%:%seconds%
goto eof
:eof
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#19
2005-09-06, 07:47 PM
.txt does not start at 0 of 1.
length matches long file (Galaxy Guest is a good long film Smile )

Please post your postprocessing.bat,
also try to do a manual run on the mpg with comclean

create a shortcut on your desktop to comclean.bat (ALT-pull to the desktop)
then drop the mpeg recording on the comclean icon.
procesing should take "some" time.

Better is to do a start/run CMD.
cd to the gbvpr directory and do a manual run of comclean.
that way you will see all message.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#20
2005-09-06, 08:08 PM
Did you output a comclean.err file?
If so, open it in notepad, and post it here.
If not, run comclean this way:
Comclean %1 >> comclean.log >> comclean.err
The .err file will be easier to diagnose if something went wrong.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Transcode w/ Comskip? pduncan67 1 2,181 2009-11-25, 03:59 AM
Last Post: johnsonx42
  Comskip & Digital? nightwalker 8 3,627 2009-08-29, 06:34 PM
Last Post: nightwalker
  comskip wont run anymore HELP :) DoPeFiSh 1 2,003 2009-07-21, 07:34 PM
Last Post: DoPeFiSh
  Comskip build 0.80.011 Released erik 13 6,373 2009-03-01, 11:36 AM
Last Post: erik
  How to use VideoReDo to AUTOMATICALLY remove commercials reboot 60 48,804 2009-02-02, 04:59 PM
Last Post: InvisibleGeek
  comskip problem j210277 11 6,250 2009-01-28, 05:25 AM
Last Post: stustunz
  Comskip: Interpreting the aspects file zehd 0 1,613 2008-11-29, 07:41 AM
Last Post: zehd
  Comskip.exe Question spector9 17 9,586 2008-10-28, 03:02 AM
Last Post: reboot
  Comskip quit working DoPeFiSh 5 2,834 2008-10-06, 04:09 PM
Last Post: DoPeFiSh
  problem with comskip GUI wannabepvr 3 2,953 2008-06-08, 06:53 AM
Last Post: erik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode