Very slow rendering with VS10+

Moderator: Ken Berry

Post Reply
koocha

Very slow rendering with VS10+

Post by koocha »

Hi

Why is my rendering so slow with VS10+?

I have a 26min .avi (720x576, 578kbps, DivX) and I'm creating a DVD with no menu.

So far I'm 12% total done, 61% of the title done and 1hour 49mins into it! It's only 26 mins long!

I have an Dual Opteron 165 running at 2.57Ghz, 1.5Mb RAM, SATAII HDD...

Any ideas? I could really do with this being faster
Terry Stetler
Posts: 973
Joined: Thu Mar 17, 2005 3:34 pm
Location: Westland, Michigan USA

Post by Terry Stetler »

I think we get this one about 5x a week, minimum :P

DivX, XviD, WMV, MPEG etc, etc, are all temporally compressed formats, meaning for every second there are maybe 2-3 real bitmaps separated by numerous synthetic frames calculated from the previous and next bitmap (I-Frame). The synthetic frames are called B or P frames. The whole collection is a GOP, or group of pictures.

These formats are for distribution, not editing, and one of the prices of attempting to recompress them to another format (in essance: an edit) the transcoder has to make real data out of all those synthetic frames.

As you have discovered this is VERY CPU intensive, and if the source format differs in how the GOP is arranged vs. the destination format things get worse, not better.

I typically convert them to an uncompressed format (HuffYUV or Quicktime/Component) or MJPeg before doing anything with them. In my experience this gives better results and is acutually a tiny bit faster as the transcoder doesn't have to do the IBP frame re-alignment thing.
Last edited by Terry Stetler on Wed Aug 16, 2006 12:24 am, edited 1 time in total.
Terry Stetler
koocha

Post by koocha »

Thanks for the reply. Why doesn't NeroVision Express have a problem with them then?
Terry Stetler
Posts: 973
Joined: Thu Mar 17, 2005 3:34 pm
Location: Westland, Michigan USA

Post by Terry Stetler »

Because Nero Vision is one of the fastest encoders out there right now, if not the fastest. I'm highly suspicious that it, like the ATI AVIVO encoder, may use the GPU's pixel shaders to decode the video...which is about 3-6 times faster than CPU only encoders can do it.
Terry Stetler
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Post by Ken Berry »

koocha -- can you tell us whether you are trying to produce a 'standard' DVD i.e. one which uses DVD-compliant mpeg-2 format, or one of the newer DVDs which uses mpeg-4 formats such as DivX? If the latter, then there are other programs out there more suited to the task. You have mentioned Nero, but I use one called DivX2DVD...
Ken Berry
koocha

Post by koocha »

It's just a standard DVD afaik.

Coming up to 3 hours for a 26 min file...

This rendering time is seriously putting me off using VS10+
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Post by Ken Berry »

It's not really the fault of VS. As far as I can guess, you are not following the recommended procedure for producing a standard DVD, which is contained in the top sticky post. Essentially, though, you are starting off with video in a format which is difficult to edit (mpeg-4/DivX which happens to have the carrier format of .avi). Anyway, our recommended procedure is, after editing, to convert the file to a DVD-compliant mpeg-2. To do this, you go to Share > Create Video File > DVD. Instead, I think you jumped this step and went directly to Share > Create Disc > DVD. The computer is thus having to work overtime to convert the file AND then multiplex and burn it on the fly. This will inevitably be a lengthy process, made moreso by the format you started off with. And it is also likely to cause less powerful computers to give up the ghost...

Now, I have actually used VS10+ to convert mpeg-4 files to mpeg-2, and the quality has been excellent. I have also done the reverse, and created DivX files from DV and mpeg-2 originals. But in this process, you have to be extremely careful as to how you configure the DivX codec. However, if you get it right, the results can also be excellent.

But while this is possible, and Ulead in fact advertises (correctly in my view, though not of others) that VS10+ can handle mpeg-4, and provides its own codecs for this, I am not sure that it has been tweaked specifically to do it as well as a program like Nero or other programs designed especially around mpeg-4/DivX, like DivX2DVD...

Unfortunately, from your apparent point of view of time being of the essence, the recommended procedure I outlined above will still take time. The conversion still has to take place, and this will take time whether it is part of a single process, such as I imagine you are undertaking, or as a single step in the procedure I follow. It's just that our recommended procedure is less likely to produce a failure...

But if you think Nero is better, then by all means use that. I for instance do so regularly, and I am quite impressed these days by Nero 7 Ultra's choice and sophistication in menus, for instance... :lol:
Ken Berry
PABrowns

Post by PABrowns »

Check you CPU usage (with Task Manager if nothing else). I found that I was only using about 50% at first. Then I added a second hard drive. Using one drive for system and one drive for working sped up my system considerable. Now my CPU is the rate limiter and running about 98-100% on both virtual cores in hyperthreading mode. Next step Conroe? :roll:

I also added another couple gigs of memory. I now have 3 GB of 533 MHz. Honestly, I rarely use more than 1GB. With a dual Opteron system, however, you may benefit from adding more memory per processor if you aren't running NUMA.

But even with a SATA drive, I think the best way to improve speed is using 2 drives. Otherwise the single drive creates a very narrow bottleneck.
lespurgeon
Posts: 52
Joined: Thu Jun 08, 2006 5:01 am

Post by lespurgeon »

Single 165 or dual 265s?

Either way, a 185 could help, or if you are on a 939 pin platform, an FX60.

In my experience, videostudio dos not do a good job of using dual cores for rendering, you probably have one core at 100% and the other 1 (or 3) cores at 0%. I have not found a fix (X2 4400 running at 4800 speed here).
sjj1805
Posts: 14383
Joined: Wed Jan 26, 2005 7:20 am
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Equium P200-178
processor: Intel Pentium Dual-Core Processor T2080
ram: 2 GB
Video Card: Intel 945 Express
sound_card: Intel GMA 950
Hard_Drive_Capacity: 1160 GB
Location: Birmingham UK

Post by sjj1805 »

Just as Ken said, I convert them beforehand with DivXtoDVD. - actually its been renamed to ConvertXtoDVD
It's much quicker and purpose built for the job.
Post Reply