Re: multiple mpgs
Claus Olesen <[email protected]>
| Newsgroups | gmane.linux.suse.multimedia |
|---|---|
| Message-ID | <[email protected]> |
Makes me think of bash'es curly braces
cat file{01,02,03}.mpg > combined.mpg
Saves typing if *.mpg is not what you want.
On Tuesday 13 June 2006 15:45, Dave Grosvold wrote:
> Tim Hanson wrote:
> > Is there a utility that will take a list of mpegs and concantenate them
> > into one long playable mpeg? I thought the kaffeine "Save Stream" option
> > would work, but it only streams one file at a time.
>
> On the command line, try:
>
> cd ./mpgfolder
> cat *.mpg >> combined.mpg
>
> Just make sure you have the filenames numbered in seqence so the files
> get concatenated in the right order. For example,
>
> file01.mpg
> file02.mpg
> ...
> file10.mpg
> file11.mpg,
>
> Not:
>
> file1.mpg
> ...
> file10.mpg
> ...
>
> This works for me.
>
> -- Dave Grosvold