Log in

View Full Version : Joining AVIs


MarNED
9th April 2004, 20:48
Can anyone tell me what is the EXACT way to join
more AVI movies in a single one AVI ?

I'm not familiar with Virtual Dub at all.

p.s. Does anyone knows also some program
which does the same, but with MPEG files?

stickboy
9th April 2004, 21:06
For AVI files, open the first file in VirtualDub. Then select File > Append AVI Segment and select your next file. Both files must have the exact same properties (frame size, frame rates, sampling rates, etc.).

For MPEG files, use TMPGEnc (http://www.tmpgenc.net/), under File > MPEG Tools > Merge and Cut.

MarNED
10th April 2004, 12:21
Stickboy, THANKKKKSSSSSSSS!!!!
expecialy for 'explanation for dummies' like me!

I downloaded TMPGEnc, and it works GREAT!!!

VirtualDub, wont do so good, it jerks me with framerates,
example 14,99999 and 15,00001 won't join.

Are U familiar with *.WMV movie format ?
And afcourse, joining them ?
Neither VirtDub, nor TMPGEnc won't join it...
:(



Anyway, THANKS A LOOOOOOOOOOTTTTTTTTTT
for previous explanation to me ...
LOT'S OF GREETINGS FROM Serb&Montengr.!

Marko

BYE !!!

p.s. if you know anything abaout that WMV, please tell me.
p.p.s. What is 'stickboy' ??? :)
I know what stick and boy means, but not together !
bye again!

t_2
10th April 2004, 17:07
.WMV is short for Windows Media Video, it is a media container like .AVI. Another name for .WMV is .ASF

Whatever name you call it, it seems to be the same beast. Unfortunately it is harder to edit than AVI. There are 2 ways that I know to edit a WMV file.

1. There is a version of VirtualDub which opens all uncompressed and some earlier compressed AFS/WMV files. If this version of VirtualDub doesn't open your file, you can open all ASF/WMV files in Windows Media Encoder and save them as uncompressed ASF. Then this special version of VirtualDub will open the uncompressed ASF. The Question is, do you have enough hard disk space for this????

2. The easiest and best way to edit ASF files is to open them in AviSynth using DirectShowSource, then change the properties of the files, using the commands in AviSynth so that all video streams have the same frame rate, color space, etc, and finally combine them, Then recompress the whole thing again in VirtualDub. There is now a Windows Video 9 VFW codec which you can download for free and install on your system. It will allow you to recompress the final edited video again in Virtual Dub, but the resulting file will be an AVI file. This is usually better anyway. If you really want to stay with an ASF/WMV container, then you will have to recompress in Windows Media Encoder using a frameserver like VFAPI. Nic also has a front end for Windows Media Encoder which allows you to open AVS (i.e., AviSynth project files) files directly.

By the Way, if you have trouble joining video files in VirtualDub because of minute framerate differences, open the files using AviSynth, and use: AssumeFPS(15.00) on all videos. Then combine them.

Example1:This avs script opens 3 seperate avi files and joins them together.

video1=AviSource("c:\folder\folder\myfile1.avi").AssumeFPS(15.00)
video2=AviSource("c:\folder\folder\myfile2.avi").AssumeFPS(15.00)
video3=AviSource("c:\folder\folder\myfile3.avi").AssumeFPS(15.00)
video=video1+video2+video3
Return video

Example2: This avs script opens 3 seperate wmv files and joins them. It assumes that you know the frame rate of the video to be 15 frames per second.

video1=DirectShowSource("c:\folder\folder\myfile1.wmv",fps=15.0)
video1=DirectShowSource("c:\folder\folder\myfile2.wmv",fps=15.0)
video1=DirectShowSource("c:\folder\folder\myfile3.wmv",fps=15.0)
video=video1+video2+video3
Return video

MarNED
10th April 2004, 17:34
OH MY GOD!!!
That's LOT OF INFORMATION !!!
And the word "dummie" should stand before MarNED
:(

What is "AviSynth", is that a option i Virt.Dub?
How to use it?

- What is "avs script", where to find option to enter it, is it a option in Virtual Dub?

-"Windows Media Encoder" is separate program I hav to download,
or is it integral part of WIN98 ?

Ok, I understand the procces for making all of that,
but I'm not quite familiar with the terms (like AviSynt etc...)
If U can, please tell me WHERE is that option in program (or is it a program/not option) ...

:(

Cyberman
10th April 2004, 20:18
t_2: That was VirtualDub 13C. Nowadys itīs useless, I think, because most of the times the codecīs missing(WMV1).

MarNED: www.avisynth.org Avisynth is a great program for video editing, itīs scripted, so you have to create a text-file containing the commands for it(the AVS file). This file can then be opened by most(if not all) programs that would usually expect a media file - Avisynth works behind the curtain, so to speak, delivering the program whatever you tell it to do.
You can, for example, open the AVS script with VDub and work as if it were the actual video file.

The drawback is the lack of a GUI, at least I donīt know one, but I rarely use AviSynth.

BTW: Another way to convert the ASF/WMV file would be GraphEdit. Itīs rather easy to use, once you spent some time with it.

Media Encoder is a separate program, I believe. I try to stay away from anything ASF/WMV related ;-)

t_2
11th April 2004, 00:00
@Cyberman: That's right, version 1.3c! I have used it to convert a HD Windows Media Video 9 file (1080p@24fps)that you can download from the Windows Media site to Xvid at the same resolution. I simply opened the file in Windows Media Encoder and saved it again as an uncompressed ASF file, which virtual dub 1.3c could then open. (I don't know what would happen if I would try to open the same file with the WMV9 VFW codec installed and perhaps alter the four letter code)

@MarNed: If you learn AviSynth you will have to give up your video dummie status forever. It is the most misunderstood, underrated, most powerful program in the video world, period! It is a true NLE and more and it's free! The link Cyberman gave you is the best place to look. Just download AviSynth (version 2.54) and install it on your computer. You don't even need to reboot and you will find some very helpful Docs explaining almost everything about the program at START/PROGRAMS/AviSynth/Documentation. Then open up a Word Processor, NotePad is perfect and it comes free with Windows, and type the commands I gave you in my last post and save the file as a .txt file. Then change the file extension from .txt to .avs. After you have done this you can open the .avs file in VirtualDub, and you will see a video! You can edit the video by changing the commands and their paramaters in the avs file.

Windows Media Player is not a free part of Windows 98, as is Windows Media Player, but you can download it for free. The only problam is if you want Windows Media Encoder 9, you need to have Windows 2000 or XP installed. With this you can recompress your edited wmv files back to another wmv file. But there is usually no good reason to do this, since you can use VirtualDub and a good VFW codec like Xvid or WMV9 to recompress the file into an user friendly avi file, which can be easily played and edited. So unless you really need a wmv file stay away from Windows Media Encoder.

ukb007
11th April 2004, 01:31
I hate the term newbie. You are not a newbie, you are a learner, like all of us. It's just that some of us know some things more than others, but it's natural. Only God knows everything. See Bruce Almighty and you will be convinced !

You need to read some guides from the Guides section of Doom9. Asking questions is great, but the answers will be piecemeal and only on what you want to know, and not on the things that you don't know you don't know and should know. :)

Regards.

t_2
11th April 2004, 07:03
In my last post:

"Windows Media Player is not a free part of Windows 98, as is Windows Media Player"

should read:

"Windows Media Encoder is not a free part of Windows 98, as is Windows Media Player"

MarNED
12th April 2004, 00:24
Guys,
you know what?

THANKS A LOT FOR TRYING TO EXPLAIN ME
THIS MUMBO-JUMBO THINGS (AT LEAST, FOR ME)

Even furher, I was ready to do all that,
to try these thing, but, on my luck,
I bumped into one program today which
solve ALL MY PROBLEMS !!!!!!!!!!!!!!!
Just like that!
I didn't looked for it, I just saw it
on some CD program compilation in my
friend's comp.
IT's:

Easy Video Joiner (Version 5.21)
www.DoEasier.org

AND (LISTEN THIS) IT'S FOR JOINING
AVI MPEG RM and WMV/ASF files !!!!

So, some 3MB's programs does this thigs
just like that. I guess there was someone
who had problems like me, but had a lot
more expiriance, and a motivation to
write that program.

OK GUYS !!!!
t_2, ukb007, Cyberman, and afcourse - stickboy,
LOT's OF GREETHINGS FOR U FROM SERBIA&MONTENEGRO
(ex Yugoslavia)!!!!!!!!!!!!!!!!!!!!!!!!!

BYE!!!!!!!!!

ukb007
12th April 2004, 00:42
Hey, hey, come on. Your post sounds ominously like a farewell message. Are you leaving the forum ? Don't. You helped a lot of people with your last post. You have to continue to do that. Help people, I mean. So don't go.

Regards.

MarNED
12th April 2004, 18:05
:)

OK, I'm not leaving U,
but I was pretty disapoitment when I post a previous
question regarding same theme, and some of your seniour
member was realy rood (I don't know haw to spoell that)
I mean - 'not pleasant' ...
answered me in one sentance to get hell from here.
Something like that.
I know that I'm maybe a little boring,
but everyone can tell me what he wants to tell me,
but a little more thorough (just when mention some
terms to tell me is that a option in some program or
is it a whole new program.
and something like:
'For MPEG files, use TMPGEnc, under File > MPEG Tools > Merge and Cut
select that and that ...' and that is just one sentance more than just a one word, and I won't bothering him again anymore.

Anyway, I preformulated my question, put it in right room,
and met U guys here.
You are OK!
This is not U! :)))))

Ok, I'm here, not going anywhere!

Now trying to solve why my comp. wont play so good movies in XviD,
with AC3 sound codec, but almoust everyone DivX with MP3 sound plays fine. I think it's becouse sound in AC3 codec is more 'larger' than
a MP3. (some are in 447kbs instead of 128kbs of MP3) and my comp is too slow for that.
It's AMD K6 IIID 450MHz, 64MB RAM, Matrox Mill.G200 8MB AGP.
:)))
But ... this is a new subject, and not for this room!
Isn't it??

BYEEE!

ukb007
14th April 2004, 02:10
I think you may put the specifications of your computer as a signature in all your posts; this way you won't have to type it each time a related query comes on. You can do that by clicking profile below your post and then going into user cp.

A faster computer certainly helps.

It is not clear exactly what happens when movies in XviD with ac3 sound won't play so good. You can try to uninstall your XviD codec and re-install Koepi's latest RC-4 version 1.0. Alternately, you can download it with the latest version of Auto Gordian Knot, known as AutoGK 1.0 with the Update to v 1.16; the latest XviD codec is included in the update. Install first the version 1.0 without the XviD, and then install the update with the XviD. You can download all these from here (http://dvd.box.sk/index.php?pid=soft&prj=list&pol=0).

You can also uninstall your ac3 codec and re-install it, you can get it from here (http://dvd.box.sk/index.php?pid=soft&prj=list&tools=acodec&pol=2).

With the links above it is possible to use a Download Manager like MyGetRight.

You can also browse the Downloads section of Doom9's site - that's the site you are in right now. It has heaps of useful software. You can not use a download manager with Doom9's site, though; if you do, you get what is called a leech, an html page explaining why you can't use a download manager there. The reason is good and sufficient.

Regards.

MarNED
15th April 2004, 10:29
Hey, thanks a lot!
I'll try, one step at a time.

This is just 'testing' the new layout of my posts

:D

C U!

p.s. How do U put pictures below the name?

ukb007
17th April 2004, 02:01
You can have an avatar that is 70 X 70 pixels or 20,000 bytes (whichever is smaller) from a selection in either the web (internet) or your own computer. The picture will be stored in your local server and retrieved each time any of your posts appears in the forum web-page.

You can have an avatar this way:

profile > user cp > edit options > Change Avatar > Custom Avatar > use custom avatar (click 'yes') > then you can either choose an URL of a graphic image in the web, or Browse to Upload an image from your own computer.

Regards.