<div class="gmail_quote">On Mon, Jul 19, 2010 at 5:58 PM, David Moore <span dir="ltr"><<a href="mailto:dmoo1790@ihug.co.nz">dmoo1790@ihug.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">Stephen Worthington wrote:<br>
> Just using cat to join those files is not valid. There are headers on<br>
> the front of each file .mpg file. So you will probably get a playback<br>
> glitch when the second set headers gets read as bad data.<br>
><br>
<br>
</div></div>I'm not sure how significant the mpg headers are but the file does play<br>
with only a small glitch at the join and the time/duration reported by<br>
myth as it plays is correct. The glitch may be due to missing frames in<br>
the original recording and it is very minor and would be hard to spot if<br>
I didn't kow where it was.<br>
<br>
I have seen other stuff on the web that says you can cat mpg files but<br>
the timestamps in the final file need reprocessing. This is essentially<br>
what I did by processing the second file so that it had timestamps<br>
starting at the duration of the first file. Not saying my method is<br>
fool-proof but seems to work so far.<br></blockquote><div><br>Are those TS or PS files? If they are TS files then cat should be fine. If they are PS then there is a header and you'd be better off using something designed for the purpose.<br>
<br>Cheers,<br>Steve <br></div></div>