Hi,
I am looking for a script to automatically merge several chunks of mpeg2 .ts files to one large file and delete all the
chunks after merging them, leaving only the large file. Does anybody have something like that ?
[Req.] Script to merge mpeg2 .ts files
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: [Req.] Script to merge mpeg2 .ts files
I've already posted a solution to this. have you tried searching? (a solution for windows users, don't know what you're using...)
Re: [Req.] Script to merge mpeg2 .ts files
i did search for a couple of phrases (mpeg2 merge for instance) and got no results. I even tried to search for
posts from you just now, but I can't find what I am looking for.
If it's not too much to ask, could you post a link to what you are referring to? Seems I can't find it.
posts from you just now, but I can't find what I am looking for.
If it's not too much to ask, could you post a link to what you are referring to? Seems I can't find it.
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: [Req.] Script to merge mpeg2 .ts files
no problem. the thread is http://forums.sabnzbd.org/index.php?topic=1271.0 (it gets on to joining at about the second page). it's worth reading the conversation as the script below assumes you are placing your .ts files in a sub-directory
the code is
the code is
Code: Select all
set name=%3
set name=%name:"=%
set dirname=%1
set dirname=%dirname:"=%
copy /B "%dirname%\*.ts" "%dirname%\temp.newts" && del /q "%dirname%\*.ts" && rename "%dirname%\temp.newts" "%name%.ts"