user17179: So I've recorded all my old Mini DV tapes to .AVI with dvgrab, then Deinterlaced them with Handbrake (Bob Method) on the High Profile but I'm left with a bunch of M4V files now (due to the 2 audio tracks).
I want to make one file out of each tape now and, if possible, also preserve the timestamps in the filename. I have no idea how to join them now tho since making an MKV out of them would result in the player acting up (VLC, MPC and WMP all bring different results when playing the MKV file for some reason).
What's the best way to get the deinterlaced M4V files into one file for each tape now? Or do you guys have some other methods for this while still deinterlacing the original footage from 50i to 50p?

user9174: If you have ffmpeg installed, see this article that basically says to create a file that has all of the names, or to use the following command
  Concat Protocol
ffmpeg -i 'concat:input1|input2' -codec copy output

Or 
 Concat Video Filter 
ffmpeg -i opening.mkv -i episode.mkv -i ending.mkv \
 -filter_complex '[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat=n=3:v=1:a=1 [v] [a]' \
-map '[v]' -map '[a]' output.mkv

Or
Concat Demuxer
$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'

$ ffmpeg -f concat -i mylist.txt -c copy output

Which one to use
concat protocol: use with formats that support file level concatenation (MPEG-1, MPEG-2 PS, DV).
concat filter: use if you need to re-encode such as when applying filters.
concat demuxer: use when you want to avoid a re-encode and your format does not support file level concatenation.
If in doubt try the concat demuxer.
When in Doubt, choose Demuxer
This article was originally published here
Also, see http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f

17179: <p>So I've recorded all my old Mini DV tapes to .AVI with dvgrab, then Deinterlaced them with Handbrake (Bob Method) on the High Profile but I'm left with a bunch of M4V files now (due to the 2 audio tracks).</p>

<p>I want to make one file out of each tape now and, if possible, also preserve the timestamps in the filename. I have no idea how to join them now tho since making an MKV out of them would result in the player acting up (VLC, MPC and WMP all bring different results when playing the MKV file for some reason).</p>

<p>What's the best way to get the deinterlaced M4V files into one file for each tape now? Or do you guys have some other methods for this while still deinterlacing the original footage from 50i to 50p?</p>
 9174: <p>If you have <a href="https://www.ffmpeg.org/" rel="nofollow noreferrer">ffmpeg</a> installed, see <a href="https://trac.ffmpeg.org/wiki/Concatenate" rel="nofollow noreferrer">this article</a> that basically says to create a file that has all of the names, or to use the following command</p>

<p><a href="http://ffmpeg.org/ffmpeg-protocols.html#concat" rel="nofollow noreferrer"> <h1> Concat Protocol</h1></a></p>

<pre><code>ffmpeg -i 'concat:input1|input2' -codec copy output
</code></pre>

<p>Or </p>

<p><a href="http://ffmpeg.org/ffmpeg-filters.html#concat" rel="nofollow noreferrer"><h1> Concat Video Filter </h1></a></p>

<pre><code>ffmpeg -i opening.mkv -i episode.mkv -i ending.mkv \
 -filter_complex '[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat=n=3:v=1:a=1 [v] [a]' \
-map '[v]' -map '[a]' output.mkv
</code></pre>

<p>Or</p>

<p><a href="http://ffmpeg.org/ffmpeg-formats.html#concat-1" rel="nofollow noreferrer"><h1>Concat Demuxer</h1></a></p>

<pre><code>$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'

$ ffmpeg -f concat -i mylist.txt -c copy output
</code></pre>

<h2>Which one to use</h2>

<p><strong>concat protocol:</strong> use with formats that support file level concatenation (MPEG-1, MPEG-2 PS, DV).</p>

<p><strong>concat filter:</strong> use if you need to re-encode such as when applying filters.</p>

<p><strong>concat demuxer:</strong> use when you want to avoid a re-encode and your format does not support file level concatenation.
If in doubt try the concat demuxer.</p>

<h2>When in Doubt, choose Demuxer</h2>

<p>This article was originally published <a href="https://stackoverflow.com/questions/7333232/concatenate-two-mp4-files-using-ffmpeg">here</a></p>

<p>Also, see <a href="http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f" rel="nofollow noreferrer">http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f</a></p>
