Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Merging MPG files?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Thu Nov 21, 2002 4:46 am    Post subject: Merging MPG files? Reply with quote

I captured several MPEG files from my digital camera and now I want to merge them into a single movie. Am I correct in thinking that you can just sort of dump them all into a single file using dd and it will work? If so, what exact command would I use to do this, and if not, does anyone know of a program that can do this? transcode possibly? (I've used that to do this with AVIs before).
Back to top
View user's profile Send private message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Thu Nov 21, 2002 5:13 am    Post subject: Reply with quote

Nevermind, I figured it out.
You can indeed use dd to merge MPGs, and you just do it by dumping them all with bs=512 into a single file, which then plays seamlessly.
Back to top
View user's profile Send private message
jondkent
Apprentice
Apprentice


Joined: 26 Jul 2002
Posts: 289
Location: London

PostPosted: Thu Nov 21, 2002 9:34 am    Post subject: Reply with quote

I've found that you can also use something like:

Code:
cat xyz.mpg >> merge.mpg
cat zxy.mpg >> merge.mpg


usually works for me, easier than dd

Jon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum