Hi
I'm trying to combine 2 mpeg videos. I thought the following would work:
cat file1.mpg file2.mpg > final.mpg
When I play the final.mpg it works fine till the second video starts and returns the following error on the screen libmpeg2: stream not demultiplexed ? I'm using XINE.
I thought maybe what I need is a Video Editor for Linux and so found LVE on SourceForge but had problems compiling it.. This is the error I get qdir.cpp:10:26: qapplication.h: No such file or directory followed by a whole bunch of similar errors.
I'm using a GNU/Linux system (Knoppix 3.2 - Debian). Anyone had any luck with making lve?
One more thing ... the first video is 10 seconds long and does not contain any audio signal. Whereas the second video is a 32 minute video of RMS which is compressed big time since the file is only 53 MB.
Regards
Rishi
On Sat, 27 Dec 2003, Rishi Gangoly spake thusly:
Hi
I'm trying to combine 2 mpeg videos. I thought the following would work:
cat file1.mpg file2.mpg > final.mpg
I am sure those mpeg files have individual headers. How will it work if the headers of file 2 are found in between? You will require some software which combines the streams and then writes a common header.
Yes you do require a video editor I think. Or at least a simple app which does the combining.
I am sure those mpeg files have individual headers. How will it work if the headers of file 2 are found in between? You will require some software which combines the streams and then writes a common header.
Sorry buddy, but the reason I posted this question is because I needed help and I'm not a pro at this. However, as weird as it may sound, I was able to join two other mpegs using the cat command. Care to explain how that happens?
Yes you do require a video editor I think. Or at least a simple app which does the combining.
quasi
Great! thanks for all the help... Care to be of some help and point me in some direction to get a hold of some app that gets the job done? Or do you just want to get cute?
Regards
Rishi
On Sunday 28 December 2003 12:23 am, Rishi Gangoly wrote:
I am sure those mpeg files have individual headers. How will it work if the headers of file 2 are found in between? You will require some software which combines the streams and then writes a common header.
from your mail it seems you want to concatenate 2 mpeg compressed videos. try virtualdub. its GPL, enjoy !
On Sunday 28 Dec 2003 7:31 am, Nikhil Joshi wrote:
search freshmeat.net / google.com
Hello all,
Just wanted to say that I managed to get the job done. Apparently all I needed was mjpegtools to help multiplex the video I created from a JPEG. Since there was no audio in that first video, it was getting corrupted when joining it using the 'cat' command. By just adding some zero audio into the first video, the joining worked just fine.
Well it was a learning experience, and thanks for all the responses.
Regards
Rishi
On Sun, 28 Dec 2003, Rishi Gangoly spake thusly:
Sorry buddy, but the reason I posted this question is because I needed help and I'm not a pro at this. However, as weird as it may sound, I was able to join two other mpegs using the cat command. Care to explain how that happens?
Sorry, aint much up on mpegs.
Great! thanks for all the help... Care to be of some help and point me in some direction to get a hold of some app that gets the job done? Or do you just want to get cute?
I like getting cute. Gives me a high. And as I said, aint much up on mpegs. Virtual Dub for windows is good but it is for windows. I am sure one cannot just concat two mpeg4 sterams. My error that I thought it was the same for mpeg.
Regards
Rishi
On Saturday 27 December 2003 10:24, Rishi Gangoly wrote:
Hi
I'm trying to combine 2 mpeg videos. I thought the following would work:
cat file1.mpg file2.mpg > final.mpg
When I play the final.mpg it works fine till the second video starts and returns the following error on the screen libmpeg2: stream not demultiplexed ?
vls is your friend. Check it out at http://videolan.org/streaming/ features.html What exactly are you trying?
I'm using XINE.
I thought maybe what I need is a Video Editor for Linux and so
Not if you just want to string videos together.
found LVE on SourceForge but had problems compiling it.. This is the error I get qdir.cpp:10:26: qapplication.h: No such file or directory followed by a whole bunch of similar errors.
I'm using a GNU/Linux system (Knoppix 3.2 - Debian). Anyone had any luck with making lve?
One more thing ... the first video is 10 seconds long and does not contain any audio signal. Whereas the second video is a 32 minute video of RMS which is compressed big time since the file is only 53 MB.
vls is your friend. Check it out at http://videolan.org/streaming/ features.html What exactly are you trying?
Nothing on the URL seems to help do what I'm trying to do.
Trying to insert a video clip of 10 seconds I created before another video clip of RMS's speech.
Not if you just want to string videos together.
If 'string' means join/merge, then yes that's what I want to do.
I apologize for my poor knowledge in terminology.
Regards
Rishi
On Sunday 28 December 2003 18:57, Rishi Gangoly wrote:
vls is your friend. Check it out at http://videolan.org/streaming/ features.html What exactly are you trying?
AFAIK it does have the capbility to demultiplex, transcode and catenate multiple streams (i have used vls only for simple streaming). You would have to rtfm tho or sieve the mail archives. It is quite a complex beast and great for video stream gymnastics.