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 … 109 110 111 112 113 … 125 Next »
ComClean cuts file size, but not length....

 
  • 0 Vote(s) - 0 Average
ComClean cuts file size, but not length....
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#31
2005-08-29, 05:43 PM
Version 0.0.1 is the one I use (of comclean).
If you can't find it in the comclean thread (in community announcements, about page 2), I can post it here (already modified so it works properly).
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
erik
Offline

Posting Freak

Posts: 1,143
Threads: 124
Joined: Apr 2005
#32
2005-08-29, 06:35 PM
When postprocessing.bat is strarted %1 is substituted by the name of the file to process.
Please do NOT remove %1 otherwise nothing will happen.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
jusatry
Offline

Member

Posts: 52
Threads: 11
Joined: Apr 2005
#33
2005-08-29, 11:53 PM
reboot Wrote:I can post it here (already modified so it works properly).


.....if you don't mind.... Smile
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#34
2005-08-30, 04:33 PM
Your wish is granted Big Grin
Code:
@echo off Rem comclean.bat Version 0.0.1 Rem Adapt to your framerate times 100 (PAL=2500/NTSC=2997) set framerate=2997 Rem Adapt to where mpgtx.exe can be found set mpgtx="c:\Program Files\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 if "%1"=="FILE" goto :eof if "%1"=="------------------------" goto :eof rem Output the clip information for the show part set /a length=%1-%start% set /a duration=%duration%+%length% call :totime %length% 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
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
erik
Offline

Posting Freak

Posts: 1,143
Threads: 124
Joined: Apr 2005
#35
2005-08-30, 06:08 PM
Reboot,

I have merged your improved version with the trick to check on variable amount of dashes (required for using both comskip and SA) and created version 0.0.5
It can be downloaded from http://mk.kaashoek.com/gbpvr
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
#36
2005-08-30, 07:04 PM
Excellent Erik.
Good idea about the number of dashes...I had forgotten that bit.
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


Possibly Related Threads…
Thread Author Replies Views Last Post
  xmltv doesn't import all the channel information in xmltv file vokuit00 2 3,518 2010-06-07, 04:35 AM
Last Post: vokuit00
  Change Pop up Panel Size steeb 3 3,847 2010-03-05, 05:54 PM
Last Post: steeb
  transcode from file.ts to file.mpeg in parallelproocessing alevideotestservice 4 3,767 2009-12-30, 07:27 PM
Last Post: alevideotestservice
  Showanalyzer Doesn't Run While Show is Recording a .TS File ww4397 1 3,098 2009-12-02, 11:14 AM
Last Post: ww4397
  change Font Size? pduncan67 2 2,255 2009-02-12, 08:48 PM
Last Post: pduncan67
  Comclean issues.. _Dude_ 9 5,342 2009-01-17, 03:29 PM
Last Post: tmschmal
  File Renaming Utility: AddEpisode turkey 185 65,722 2008-12-14, 05:30 PM
Last Post: heath11
  Comskip: Interpreting the aspects file zehd 0 2,012 2008-11-29, 07:41 AM
Last Post: zehd
  SkipTool creates a bogus file if the name contains & mkenyon2 40 18,660 2008-10-23, 06:59 PM
Last Post: pastro
  yapi2cml reporting corrupted listing file? teookie 1 2,209 2008-09-25, 10:50 PM
Last Post: zehd

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

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

Linear Mode
Threaded Mode