Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cat * > newfile.mpg probs
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
AmishArmadillo
n00b
n00b


Joined: 08 Jun 2003
Posts: 31

PostPosted: Thu Nov 20, 2003 11:42 pm    Post subject: cat * > newfile.mpg probs Reply with quote

I used to be able to join movies(avi mp(e)g etc) together using cat


Code:
cat file1.mpg file2.mpg > newfile.mpg


but as of two months ago, when i do this, "newfile.mpg"'s size is the sum of the file1 and 2.mpg.....

BUT, when played in a media player (mplayer, kaboodle, I even tested it on a windows computer at school) the movie will play what was on "file1.mpg" but that is ALL it will play... the seekbar is even on the far right, as if there is nothing else there, even tho the file size represents the two files combined......

i dont know what im doing wrong, the code below is EXACTLY what i have typed:

Code:
cat project3-1.mpg project3-2.mpg > project3.mpg


it HAS worked before in the past, and if i recall there was an update for cat.... im not sure on that either....

thanks.
_________________
root@AmishArmadillo / #: emerge complete power
Back to top
View user's profile Send private message
OliD
n00b
n00b


Joined: 12 Jun 2003
Posts: 9
Location: Germany

PostPosted: Fri Nov 21, 2003 8:36 am    Post subject: Reply with quote

Hi!
Im not sure if it works with MPEG, but it definately shouldn't work with AVI. For AVI try avijoin. For MPEG I don't know.

Ciao

Oli
Back to top
View user's profile Send private message
AmishArmadillo
n00b
n00b


Joined: 08 Jun 2003
Posts: 31

PostPosted: Tue Nov 25, 2003 12:59 am    Post subject: Reply with quote

thx, but on sourceforge.net

avijoin is for windows...
Which is awsome if your into that sorta thing, but i dont use windows.

http://sourceforge.net/project/showfiles.php?group_id=4882&release_id=10307
_________________
root@AmishArmadillo / #: emerge complete power
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Tue Nov 25, 2003 11:27 am    Post subject: Reply with quote

For most (simply) video operations/conversions I'd like to think that mplayer/mencoder is your friend.

For example to join 2 avi files this command worked for me

Code:
cat file1.avi file2.avi | mencoder - -oac copy -ovc copy -o newfile.avi


Mencoder default outputs avi and for avi it works fine. You have to explicity specify if you want the output to be mpg, otherwise when you cat two mpg files into 1 avi, only mplayer is going to be able to play it afaik.
Back to top
View user's profile Send private message
OliD
n00b
n00b


Joined: 12 Jun 2003
Posts: 9
Location: Germany

PostPosted: Tue Nov 25, 2003 6:43 pm    Post subject: Reply with quote

Ooops. Not avijoin, its avimerge :oops:

Ciao

Oli
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