Mailinglist Archive: opensuse-multimedia (4 mails)

< Previous Next >
Re: [suse-multimedia-e] multiple mpgs
  • From: Claus Olesen <colesen@xxxxxxxxxxx>
  • Date: Tue, 13 Jun 2006 18:09:31 -0700
  • Message-id: <200606131809.31114.colesen@xxxxxxxxxxx>
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

< Previous Next >
List Navigation
Follow Ups