[mythtv-users] How to make a clip from a recording

John Finlay finlay at moeraki.com
Thu Oct 29 19:41:21 UTC 2009


Jay Foster wrote:
> I have some HDHR recordings that I would like to make some short clips 
> from.  I don't want to do any re-encoding, just clip a specified 
> portion out.  I tried mencoder with -ss 01:43:00 -endpos 00:01:00 -oac 
> copy -ovc copy, but can't get it to work.  After some experimenting, I 
> think it is because mencoder can only seek by an amount that will fit 
> in a 32-bit integer.  The file is 2 hours and 14GB in size.  mencoder 
> will work if I keep the -ss value small enough, but the part I want is 
> well past that.
>
> Is there some other simple way to do this.  I would like to be able to 
> specify the starting point of the clip (relative to the beginning of 
> the program) and how long (or the end point).
>
> Jay
I've used ffmpeg with a command line like:

ffmpeg -y -ss 01:50:00 -t 5 -i filename.mpg -f dvd -acodec copy -sameq 
clip.mpg

to make short clips (5s in this case).

John


More information about the mythtv-users mailing list