I'm looking for a program to append episodes of a series that are named like so:
"Series Name - Episode 1 - Part 1.mp4""Series Name - Episode 1 - Part 2.mp4"
"Series Name - Episode 2 - Part 1.mp4"
"Series Name - Episode 2 - Part 2.mp4"
I just want to append part 2 to part 1 for each episode separately/
I've been searching around for longer than it probably would have taken to do it manually.
The only real answer I've stumbled upon was one where someone asked the same question as me, but answered it them self as they had scripting knowledge for Avidemux.
+ Reply to Thread
Results 1 to 7 of 7
Thread: Batch Append 2-Part Episodes
No such program. And making a batch seems very complex. Those scripts just shows how to join files and nothing special about the file names.
What about a program for joining two files and queuing lots of jobs? What would be the best option for that?
Like drag in a file, drag in the second file, click "add to queue" or something, then repeat until I've queued all 250 files to be joined into 125? Or a program that uses what ever other simple methods for doing this with lots of files?
I'm repeating myself, but I'm basically just asking: In a situation where you need to join together A LOT of 2 part episodes, what would be the best way to go about it?
Example with mp4box:
@ECHO OFF &SETLOCAL for /f "delims=" %%a in ('dir /b /a-d *1.mp4^|find "1.mp4"') do ( set "fname=%%~a" setlocal enabledelayedexpansion set "sname=!fname:1.mp4=2.mp4!" set "nname=!fname:1.mp4=1 - 2.mp4!" mp4box -cat "!fname!" -cat "!sname!" "!nname!" endlocal )
There is a similar request at http://forum.videohelp.com/threads/360389-Joining-Multiple-Files-in-same-directory and the same important question is, are they all the same codec and size?
If they are, you can use Fryk's example or ffmpeg or several others. If they aren't, there's none that I know of that will join without re-encoding. While that is not necessarily a bad thing, you wouldn't want 125 instances of any batch process or ffmpeg or mp4boxgui, etc. running all at once. That means you would have to kick each off manually because your computer isn't going to wait if you automate it... Not unless there's a program to schedule them and as far as I know, it hasn't been written... YET... (I'm playing around with it)
The reason it is hard to find a program or script for what you ask is that each objective to merge files is unique in their container, compression, filenames, amount of files to be merged, folder locations, etc. to name a few.
Do whatever you wanted to do in MKVToolnix or YAMB since you're dealing with an MP4 and it should display the commandline of how it did it. With YAMB it creates a log file in the directory of the video you processed so copy whatever was on there and manually edit the batch. You should only have to change the filenames.
I've personally had issues combining MP4s, MKVs might be easier.