Computers & Electronics

Video Editing to clip/merge without re-encoding?

  • Last Updated:
  • Feb 26th, 2011 1:12 pm
Tags:
None
[OP]
Deal Addict
User avatar
Jan 6, 2002
4768 posts
4692 upvotes
Toronto

Video Editing to clip/merge without re-encoding?

Can anyone recommend a freeware or shareware tool for editing short videos on a PC, that has the ability to clip/merge parts of an existing file without re-encoding/converting the actual video data?
Yes, Here's to the few
Who forgive what you do
And the fewer who don't even care.
4 replies
Deal Expert
Oct 20, 2001
18709 posts
1160 upvotes
What are the codec and file format of the videos?
These folks have taken over RFD, so I'm done here.

Mutu qabla an tamutu
[OP]
Deal Addict
User avatar
Jan 6, 2002
4768 posts
4692 upvotes
Toronto
Rehan wrote:
Feb 26th, 2011 11:02 am
What are the codec and file format of the videos?

They are MOV files in h264 created by a screenshow recording tool (Lotus Unyte.) Trying to clip out parts I don't need and merge the remainder into a single file, but all the tools I run seem to baloon the output file in size due to re-encoding. As it is my original file is 1280x800, 35 minutes long, and only 18MB.

Playing around with mencoder now but it's a bit obtuse if you've never used mplayer/mencoder before. Also trying ffmpeg with this command (to get the first minute of video, for example) but it just seems to copy the entire file:

ffmpeg -ss 1 -t 60 -acodec copy -vcodec copy -i input.mov output.mov
Yes, Here's to the few
Who forgive what you do
And the fewer who don't even care.
Member
User avatar
Oct 20, 2010
487 posts
192 upvotes
Austin, TX
hoob wrote:
Feb 26th, 2011 11:44 am
They are MOV files in h264 created by a screenshow recording tool (Lotus Unyte.) Trying to clip out parts I don't need and merge the remainder into a single file, but all the tools I run seem to baloon the output file in size due to re-encoding. As it is my original file is 1280x800, 35 minutes long, and only 18MB.

Playing around with mencoder now but it's a bit obtuse if you've never used mplayer/mencoder before. Also trying ffmpeg with this command (to get the first minute of video, for example) but it just seems to copy the entire file:

ffmpeg -ss 1 -t 60 -acodec copy -vcodec copy -i input.mov output.mov

Try NanDub (Windows only) or AVIDemux (Linux/Windows). They will both merge clips, but you must make sure audio syncs on the last half of the clip when merging is complete; if not, need to adjust time delay on second clip used to merge. Also, merging becomes finicky when the audio stream is encoded in VBR MP3.

MEncoder is the fastest way but there are commands you can use without ffmpeg.

Edit (I forgot): if you use mencoder, try this:

Code: Select all

mencoder -oac copy -ovc copy -idx -o output.mov input1.mov input2.mov
The -idx argument forces mencoder to build an index if there is none. This can help with sync issues on the latter half of the merged clip.
The sea is behind you and the enemy is in front. — Tariq ibn Ziyad
[OP]
Deal Addict
User avatar
Jan 6, 2002
4768 posts
4692 upvotes
Toronto
flight878 wrote:
Feb 26th, 2011 12:35 pm
Try NanDub (Windows only) or AVIDemux (Linux/Windows). They will both merge clips, but you must make sure audio syncs on the last half of the clip when merging is complete; if not, need to adjust time delay on second clip used to merge. Also, merging becomes finicky when the audio stream is encoded in VBR MP3.

MEncoder is the fastest way but there are commands you can use without ffmpeg.

Edit (I forgot): if you use mencoder, try this:

Code: Select all

mencoder -oac copy -ovc copy -idx -o output.mov input1.mov input2.mov
The -idx argument forces mencoder to build an index if there is none. This can help with sync issues on the latter half of the merged clip.

Thanks... AVIDemux seems like it would work, but it just crashes on my system trying to play the original input file, let alone convert/clip it. Still struggling with ffmpeg to extract the clips too; it seems to complietely ignore the intended meaning of the "-ss" and "-t" parameters for some reason... Oh well, I will keep plugging away at it.
Yes, Here's to the few
Who forgive what you do
And the fewer who don't even care.
× < >

Top