[mythtv-users] Cutting and merging videos

Damon Searle djsearle at netspace.net.au
Sat Dec 4 23:45:41 UTC 2004

I've been thinking about trying to change the scheduler so there is an
option to record consecutive shows as one recording. I often can't delete
one show because the start or end of another show is in the recording, so
there might as well be one file which doesn't have annoying little gaps in
the shows. (The gaps being however long it takes to end one recording and
start another, usually enough to miss a sentence or two of dialog). Each
show would still appear individually in the list and when you play one it
starts playing from an offset in the file based on its start time.

This would also make things easier for Nate's situation as only the show
would need to be cut out of the recording, and not have to join two
recordings together.

Any comments on the idea? (or has this already be discussed before?)

- Damon

> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of nate s
> Sent: Sunday, 5 December 2004 6:54 AM
> To: Discussion about mythtv
> Subject: [mythtv-users] Cutting and merging videos
> Due to my system time drifting, I've managed to record three back to
> back shows off sync with the start and end time by about two minutes.
> However, since they were back to back, the piece of the show that got
> cut off of the end of one is at the beginning of the next oet (for all
> but the last.)
> I'm wondering if there is some way to split the beginning of one video
> file, and tack it on to the end of the previous one.  Has anyone doen
> this?  Ideally, I'd like the videos to still be in the recordings, but
> if exporting them was necessary, that'd be ok too.
> My thoughts on how to go about this are to split the video with
> someting like avidemux2, and then somehow joining them back together
> again.  Would it work to just do a cat video.part.1 video.part.2 >
> whole.video ?  I'm not really an expert on the file formats (mpeg2
> from a pvr250, btw) so I'm not sure if they have some sort of header
> or something that would pervent this, though the fact that you can get
> mpeg2 by doing cat /dev/video makes me think it would work.  Or does
> someone know of a better way to go about this?
> -Nate

More information about the mythtv-users mailing list