LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   combining video streams (https://www.linuxquestions.org/questions/linux-software-2/combining-video-streams-113975/)

matt_w_lambert 11-08-2003 11:37 PM

combining video streams
 
is there a way to combine video like if i have 2 mpg or 2 avi 's all i need is a simple program that does that but i resaly don't know what to look for:scratch:

MasterC 11-08-2003 11:52 PM

Sure, 2 avi's I know work with cat and mplayer, I'd assume mpg would be the same:
cat file1.avi file2.avi > bigfile.avi
mplayer -forceidx bigfile.avi

Cool

matt_w_lambert 11-09-2003 12:07 AM

yeah thanks i did the cat but it didn't work for me but i didn't know that i had to use the mplayer mplayer -forceidx bigfile.avi

i wander if i incode the bigfile.avi to an mpg or whatever maby then i would not have to use -forceidx everytime?

MasterC 11-09-2003 12:16 AM

If it works, be sure to report back so others can see what you have found ;)

Cool

matt_w_lambert 11-09-2003 01:01 AM

it does not work it says that it is damaged
so i told konqueror to use the mplayer -forceidx command on the .avi filetypes
and it works even if the avi is not dammaged
havent tryed to combine the mpegs yet though

ucntcme 03-05-2004 11:59 AM

just incase anyone finds this thread, yes you can cat mpegs into a larger file and have it work w/mplayer,


All times are GMT -5. The time now is 12:23 PM.