jochen.k Posted June 18, 2009 Posted June 18, 2009 Hallo! ich habe comskip getestet und es geht wirklich gut. nur wie kann ich eine aufnahme nach beendigung automatisch an die batch des comskip übergeben ? vielen dank für Antworten Quote
Tjod Posted June 18, 2009 Posted June 18, 2009 Für den DVBViewer habe ich das hier beschrieben: http://www.DVBViewer.info/forum/index.php?...st&p=241419 Aber vielleicht ist Film//Riss insgesamt für dich interessant http://www.DVBViewer.info/forum/index.php?showtopic=33298 Quote
jochen.k Posted June 18, 2009 Author Posted June 18, 2009 filmriß scheidet aus da ich lieber videoredo benutze wie muss ich das von dir zitierte verstehen ? wo muss ich da was reinmachen ? \DVBViewer\Scripts\stoprec.vbs am ende in der Zeile vor end sub ich müsste da dann mein comskip skript aufrufen mit dem parameter"sendername" kannst du mir da ein beispiel geben ? wird der rechner dann auch wie beim timer eingestellt erst runtergefahren wenn das skript abgearbeitet ist ? besten dank! Quote
Tjod Posted June 18, 2009 Posted June 18, 2009 Das ganze mal etwas auseinander genommen: OSD.ExecNewProcess "c:\[.....]\filmriss\FilmRiss.exe", """" & Filename & """", False, True c:\[.....]\filmriss\FilmRiss.exe durch den Pfad zum aufrufen von comskip ohne Parameter ersetzen. & Filename & übergibt den Dateinahmen der Aufnahme samt Pfad als Parameter. Wenn da noch andere notwendig sind kannst du das da ergänzen. Was ich nicht verstehe ist was du mit dem Sendenamen willst. Quote
jochen.k Posted June 18, 2009 Author Posted June 18, 2009 das skript was ich benutze kann anhand des sendernamens verschiedene konfigurationen je sender aufrufen hier das beispiel der comskip.cmd @echo off REM Comskip and VideoRedo REM replace the comskip and videoredo path in the file below REM ******************************************************** if EXIST "%~dpn1.VPrj" goto continue :comskip Rem this trick also makes it possible to have dedicated comskip.ini file for certain channels. goto generic if %2 == "SAT1" goto SAT1 if %2 == "RTL" goto RTL if %2 == "RTL2" goto RTL2 if %2 == "RTL II" goto RTL2 if %2 == "KABEL" goto KABEL if %2 == "VOX" goto VOX if %2 == "PRO7" goto PRO7 if %2 == "DMAX" goto DMAX if %2 == "ARD" goto ARD if %2 == "ZDF" goto ZDF Rem use the default comskip.ini for all other channels goto generic :SAT1 "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\sat1.ini --logo=sat1.logo.txt %1 goto continue :RTL "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\rtl.ini --logo=rtl.logo.txt %1 goto continue :RTL2 "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\rtl2.ini --logo=C:\comskip\ChannelLogos\rtl2.logo.txt 1% goto continue :KABEL "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\kabel.ini --logo=C:\comskip\ChannelLogos\kabel.logo.txt %1 goto continue :VOX "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\vox.ini --logo=C:\comskip\ChannelLogos\vox.logo.txt %1 goto continue :PRO7 "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\pro7.ini --logo=C:\comskip\ChannelLogos\pro7.logo.txt %1 goto continue :DMAX "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\dmax.ini --logo=C:\comskip\ChannelLogos\dmax.logo.txt %1 goto continue :ARD "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\ard.ini --logo=C:\comskip\ChannelLogos\ard.logo.txt %1 goto continue :ZDF "c:\comskip\comskip.exe" --ini=C:\comskip\ChannelIni\zdf.ini --logo=C:\comskip\ChannelLogos\zdf.logo.txt %1 goto continue :generic "c:\comskip\comskip.exe" %1 :continue echo Comskip succeeded, will now start videoredo cscript //nologo "C:\Programme\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_clean.mpg" /t4 /d /e if NOT EXIST "%~dpn1_clean.mpg" goto cuttingfail Rem RENAME the old .mpg file and rename the new one to the old name :if EXIST "%~dpn1_clean.mpg" move "%~dpn1.mpg" "%~dpn1_original.mpg" :if EXIST "%~dpn1_clean.mpg" move "%~dpn1_clean.mpg" "%~dpn1.mpg":success echo Removing commercials was succesful! goto eof :eof Quote
Tjod Posted June 18, 2009 Posted June 18, 2009 Das müsste sich mal jemand angucken der etwas ahnung von VB Scripten hat. Es gibt da die ID und die ChannelID die auds der ID und dem Sendernamen besteht. Das müste man irgend wie auseinander pflücken. Ich habe aber keine Ahnung wie das geht. Eventuell hat das DVBViewer COM Interface (DVBViewer COM Interface.chm Mitgliederbereich) auch noch weitere Möglichkeiten. Aber auch dafür sind mein Programmiere Kenntnissen zu beschränkt. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.