Koter,
Just an opinion here, but I don't think that it should be necessary to defrag every time you do the coversion. Obviously, it's fixing your issue with shutting down the computer, but I think it stems from something else. Can you delete the large video file off the computer BEFORE attempting to shut down the computer? Does that help?
Have you updated the graphics drivers on your computer to the most current? Drivers can cause shutdown conflicts.
When creating and converting the large files, do you shut down all other unnecessary programs and services, such as antivirus, firewall, etc?
If you allow it to shut off normally, but slowly, after creating the files, then restart the machine, does it shut down correctly from then on? If so, it may be the large swap file use because of insufficient RAM. If you only have 512 MB of RAM, I suggest you add as much as you can, probably the maximum would be best.
Hope this helps.
Grif
By turning analog videos into DVDs, I have to defrag after every download of video tape. I don't know if that harms a hard drive but it takes my PC to switch off damn long time.
Hard drive is "Western 80 gig-8meg ata 100" partitioned in 3.
1st and 2nd partitions are in FAT 32.
3rd in NTFS. Then aded a 40 gig maxtor ata 130 also in NTFS as some softwares ask for NTFS.
The PC is 2400 Atholon-512/400 mems.-leadtek 5200 with NERO 6 and LG 8x DVD burner Win XP-PRO. The downloading software is Windows moviemaker2, then turning it into DVDs I use InervideoWinDVD.Moviemaker2 is used for clarity of downloaded tape(pixels not running) and the WinDVD for ease and quality of transposition into DVDs.Is there anything I do wrongly or what improvment or change is to be done.
Novice!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic