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
General Forums
Newcomers Forum
How to compress .ts files?
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="erosco" data-source="post: 310832" data-attributes="member: 52829"><p>SHIFT</p><p></p><p>I use the TV Server's comskip plugin to execute a 'compress.cmd' file that contains the following statements:</p><p></p><p>QUOTE</p><p></p><p>@echo off</p><p>E:</p><p>CD \Recordings</p><p></p><p>echo compress.cmd invoked on %1 recorded from channel %2 >>compress.log</p><p></p><p>Rem %1 is the fully qualified name of the recorded mpeg file.</p><p>Rem %2 is the channel number of the recording</p><p></p><p>if %2 == "TCM" GOTO noads</p><p>if %2 == "Movie One" GOTO noads</p><p>if %2 == "Movie Two" GOTO noads</p><p>if %2 == "Movie Extra" GOTO noads</p><p>if %2 == "Movie Greats" GOTO noads</p><p></p><p>Rem run comskip to remove the ads</p><p>"C:\Program Files\Team MediaPortal\Comskip\comskip.exe" %1</p><p></p><p>:noads</p><p></p><p>Rem re-encode the show into DivX format</p><p>"C:\Program Files\Team MediaPortal\MEncoder\mencoder.exe" -profile Xvid-Good -o "%~d1%~p1%~n1.avi" -edl "%~d1%~p1%~n1.edl" "%~d1%~p1%~n1.ts"</p><p></p><p>Rem Delete temporary files created by comskip/showanalyzer</p><p>del "%~d1%~p1%~n1.edl"</p><p>del "%~d1%~p1%~n1.txt"</p><p></p><p></p><p>UNQUOTE</p><p></p><p></p><p>You can edit this to suite; but the main piece you'll want is the mencoder statement to compress the .ts file into an xvid encoded .avi file. You'll (obviously) need mencoder which is part of the mplayer package found on the net.</p><p></p><p>Cheers</p><p>Ross</p></blockquote><p></p>
[QUOTE="erosco, post: 310832, member: 52829"] SHIFT I use the TV Server's comskip plugin to execute a 'compress.cmd' file that contains the following statements: QUOTE @echo off E: CD \Recordings echo compress.cmd invoked on %1 recorded from channel %2 >>compress.log Rem %1 is the fully qualified name of the recorded mpeg file. Rem %2 is the channel number of the recording if %2 == "TCM" GOTO noads if %2 == "Movie One" GOTO noads if %2 == "Movie Two" GOTO noads if %2 == "Movie Extra" GOTO noads if %2 == "Movie Greats" GOTO noads Rem run comskip to remove the ads "C:\Program Files\Team MediaPortal\Comskip\comskip.exe" %1 :noads Rem re-encode the show into DivX format "C:\Program Files\Team MediaPortal\MEncoder\mencoder.exe" -profile Xvid-Good -o "%~d1%~p1%~n1.avi" -edl "%~d1%~p1%~n1.edl" "%~d1%~p1%~n1.ts" Rem Delete temporary files created by comskip/showanalyzer del "%~d1%~p1%~n1.edl" del "%~d1%~p1%~n1.txt" UNQUOTE You can edit this to suite; but the main piece you'll want is the mencoder statement to compress the .ts file into an xvid encoded .avi file. You'll (obviously) need mencoder which is part of the mplayer package found on the net. Cheers Ross [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
How to compress .ts files?
Contact us
RSS
Top
Bottom