hi all, just joined, hope this is the right sub-forum (!)
i DLed someone comskip and comcast
i get the timings ok, but
1. in postprocessing.bat, comclean is not getting the correct name
i have had the file named to an *.MPG
is it "%~dpn1.mpg" - excuse me for not trying, but i could really do with someone explaining what it means, please!
thanks
2. more seriously... comclean calls MPGTX.exe
so here i am droppingthe resulting MPG directly only the comclean.bat file, avoiding the wonky postprocessing.bat problem above
)
BUT when i play it, i get audio only, the video is blank / black
i DLed the latest MPGTX from http://mpgtx.sourceforge.net/#Download
but that made no difference
any ideas why, please?
3 lastly, was THINKING of deleting the 2 dud files, automatically
yes i know, best doing it manually, but if i get all the above to work, and it is consistant, then i want the option
so i need the original filename.TS and the %~dpn1_original.mpg too
so what are my last two lines of code please
many thanks
hope all ok with 3 questions in one, but hoping too that others need these scripts
BTW, on windows 8.1 with LATEST k-lite mega codecs
i DLed someone comskip and comcast
i get the timings ok, but
1. in postprocessing.bat, comclean is not getting the correct name
i have had the file named to an *.MPG
Quote:"C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -fflags +genpts -i "%~1" -vcodec copy -async 1024 -acodec copy -f vob "%~dpn1.mpg"so i KNOW that
Quote:call comclean %1will not work as it needs the filename and cannot figure what should replace the %1
is it "%~dpn1.mpg" - excuse me for not trying, but i could really do with someone explaining what it means, please!

thanks
2. more seriously... comclean calls MPGTX.exe
so here i am droppingthe resulting MPG directly only the comclean.bat file, avoiding the wonky postprocessing.bat problem above
Quote:set mpgtx="c:\Users\Public\NPVR\Scripts\mpgtx.exe"all good, it generates and the resulting, smaller file (1.5Gb to 1.3Gb
set cmdline=%mpgtx% -j -f -o "%~dpn1_clean.mpg" "%~dpn1.mpg"

BUT when i play it, i get audio only, the video is blank / black
i DLed the latest MPGTX from http://mpgtx.sourceforge.net/#Download
but that made no difference

any ideas why, please?
3 lastly, was THINKING of deleting the 2 dud files, automatically
yes i know, best doing it manually, but if i get all the above to work, and it is consistant, then i want the option
so i need the original filename.TS and the %~dpn1_original.mpg too
so what are my last two lines of code please
many thanks
hope all ok with 3 questions in one, but hoping too that others need these scripts

BTW, on windows 8.1 with LATEST k-lite mega codecs