On 2013-02-13 19:06, oldcpu wrote:
>
> There are many ways to join files. A lot depends on the files’ data
> structure and also on the presentation that you want.
>
> Do you want transitions between the videos ?
Not necessarily. My clips are short, seconds, so inserting even a simple
fade to black removes seconds from the clip that I do not want to waste.
In fact, what I’m doing is separate each clip from the next about a
second (ie, a second of full black).
> Do the videos all have identical format ?
Yes, they are all shot with the same Samsung pocket camera:
> SAM_0774.AVI: RIFF (little-endian) data, AVI, 640 x 480, 30.00 fps, video: Motion JPEG, audio: uncompressed PCM (mono, 22050 Hz)
I think there is another command that gives better info about a video
stream, but I forget which.
I find the easiest way is to simply drag and drop into kdenlive, but
one does need to spend a few minutes to learn how to use the kdenlive
software. But there are video tutorials in youtube and also on the
kdenlive web site explaning this. ‘Tutorials | Kdenlive’
(http://www.kdenlive.org/tutorial) Its all pretty simple.
I have just tried kdenlive, after reading your post. Very nice program.
By default, the generated file was way bigger than that made by
openshot, but this can be reversed if I drop the bitrate from 8000 to
4000. I don’t really know how to calculate a suitable value. Trial and
error?
Now having the typed the above (preference for ‘kdenlive’) if the files
bit rates, codecs, resolution … etc are all identical (and that is
essential) then one can even use cat !!
WHAT? I have to try that. :-))
Code:
cat video1.avi video2.avi > combinedvideo.avi
Mmm. Xine doesn’t bite, it only plays the first video of the
combination. Same with mplayer. Let’s try reindexing
Some users also recommend to rebuild the video file index after
combining with cat, with something like:
Code:
mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi
Yes, now the combination plays to the end, but the sound seems broken.
It is an interesting experiment, but it doesn’t work right.
And anyway, I need to compress the clips, what the pocket camera
generates is too big.
IMHO using cat gives an ugly presentation with no transitions - but
each to their own.
It is interesting.
I’ve read users who use mencoder to combile videos with:
Code:
mencoder -oav copy -ovc copy -o output.avi file1.avi file2.avi
but I have never tried that myself - so I can not vouch for it
functioning.
Let me try. Hum, no, gives error:
-oav is not an MEncoder option
Ah, I see your next post with another combination. That produces an out
file, but with indexing broken, the slider in xine jumps back and forth.
It is interesting, though.
I would have to try several combinations of mencoder, read the man
pages, try compression options… It would have an advantage for me, as
what I want is simply to join several clips in one.
But so far the GUIs are easier
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)