home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
My TS fix/clean and advert ( comskip ) removal script
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="James_3" data-source="post: 520212" data-attributes="member: 47044"><p>Hi, I did something simelar myself and just came across this.</p><p></p><p>Just thought i'd add something i used.</p><p>I used a batch file named comskip</p><p>Called it from my current one using</p><p>start /b /wait c:\batch\comskip "%~dpn1.txt"</p><p></p><p>"2ND FILE"</p><p>"C:\comskip\comskip" %1</p><p>exit</p><p></p><p>This way you can review the adverts that it has detected and set start and endpoints.</p><p>I found using projectX made the av sync perfect with mencoder.</p><p></p><p>My full file is as follows</p><p></p><p>@echo "Folder Path" %~p1</p><p>@echo "File Name no ext" %~n1</p><p>@echo "Full Path of new file" "%~dpn1.mpg"</p><p></p><p>Rem DEMUX TS FILE</p><p>start /wait java -jar "c:\projectx\projectx.jar" %1</p><p>REM REMUX mp2 and m2v Files</p><p>"c:\codecs\ffmpeg" -i "%~dpn1.mp2" -i "%~dpn1.m2v" -vcodec copy -acodec copy "%~dpn1-ads.mpg"</p><p>REM Delete DEMUX FILES</p><p>del "%~dpn1.mp2" </p><p>del "%~dpn1.m2v"</p><p>del "%~dpn1-02.mp2"</p><p>REM RUN COMSKIP</p><p>"c:\comskip\comskip" "%~dpn1.ts"</p><p>REM CHECK FOR COMMERCIALS</p><p>start /b /wait c:\comskip.bat "%~dpn1.txt"</p><p>REM REMOVE COMMERCIALS</p><p>"c:\codecs\mencoder" "%~dpn1-ads.mpg" -of mpeg -ovc copy -oac copy -o "%~dpn1_clean.mpg" -edl "%~dpn1.edl"</p><p>REM Rename Output and del com mpg</p><p>del "%~dpn1-ads.mpg"</p><p>move "%~dpn1_clean.mpg" "%~dpn1.mpg"</p><p></p><p>pause</p><p></p><p>NOTE: you must press w to save the ads you have chosen and you must press ESC to exit the preview window</p></blockquote><p></p>
[QUOTE="James_3, post: 520212, member: 47044"] Hi, I did something simelar myself and just came across this. Just thought i'd add something i used. I used a batch file named comskip Called it from my current one using start /b /wait c:\batch\comskip "%~dpn1.txt" "2ND FILE" "C:\comskip\comskip" %1 exit This way you can review the adverts that it has detected and set start and endpoints. I found using projectX made the av sync perfect with mencoder. My full file is as follows @echo "Folder Path" %~p1 @echo "File Name no ext" %~n1 @echo "Full Path of new file" "%~dpn1.mpg" Rem DEMUX TS FILE start /wait java -jar "c:\projectx\projectx.jar" %1 REM REMUX mp2 and m2v Files "c:\codecs\ffmpeg" -i "%~dpn1.mp2" -i "%~dpn1.m2v" -vcodec copy -acodec copy "%~dpn1-ads.mpg" REM Delete DEMUX FILES del "%~dpn1.mp2" del "%~dpn1.m2v" del "%~dpn1-02.mp2" REM RUN COMSKIP "c:\comskip\comskip" "%~dpn1.ts" REM CHECK FOR COMMERCIALS start /b /wait c:\comskip.bat "%~dpn1.txt" REM REMOVE COMMERCIALS "c:\codecs\mencoder" "%~dpn1-ads.mpg" -of mpeg -ovc copy -oac copy -o "%~dpn1_clean.mpg" -edl "%~dpn1.edl" REM Rename Output and del com mpg del "%~dpn1-ads.mpg" move "%~dpn1_clean.mpg" "%~dpn1.mpg" pause NOTE: you must press w to save the ads you have chosen and you must press ESC to exit the preview window [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
My TS fix/clean and advert ( comskip ) removal script
Contact us
RSS
Top
Bottom