[mythtvnz] Cutting H.264 DVB-T files with ffmpeg without transcoding
Steve Hodge
stevehodge at gmail.com
Mon Jul 19 07:07:24 BST 2010
On Mon, Jul 19, 2010 at 5:58 PM, David Moore <dmoo1790 at ihug.co.nz> wrote:
> Stephen Worthington wrote:
> > Just using cat to join those files is not valid. There are headers on
> > the front of each file .mpg file. So you will probably get a playback
> > glitch when the second set headers gets read as bad data.
> >
>
> I'm not sure how significant the mpg headers are but the file does play
> with only a small glitch at the join and the time/duration reported by
> myth as it plays is correct. The glitch may be due to missing frames in
> the original recording and it is very minor and would be hard to spot if
> I didn't kow where it was.
>
> I have seen other stuff on the web that says you can cat mpg files but
> the timestamps in the final file need reprocessing. This is essentially
> what I did by processing the second file so that it had timestamps
> starting at the duration of the first file. Not saying my method is
> fool-proof but seems to work so far.
>
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.
Cheers,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/mythtvnz/attachments/20100719/ae37010b/attachment.htm
More information about the mythtvnz
mailing list