DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   High Definition Video Editing Solutions (https://www.dvinfo.net/forum/high-definition-video-editing-solutions/)
-   -   Comparison of NLE HD to SD downconversion quality (https://www.dvinfo.net/forum/high-definition-video-editing-solutions/70792-comparison-nle-hd-sd-downconversion-quality.html)

Jason Livingston July 3rd, 2006 10:19 PM

Comparison of NLE HD to SD downconversion quality
 
Lately I've been frustrated by very soft-looking SD and DVD downconverts from my HDV projects, so I decided to do a scientific test to determine where the problem was coming from and what is the best workflow to work around it.

I took a 1920x1080 still frame test chart consisting of various patterns of horizontal, vertical, and diagonal lines of increasing frequencies, compressed it directly to HDV, and imported it into a variety of NLEs and video processing programs, then used a couple different kinds of workflows to eventually output a 720x480 16:9 MPEG2 for DVD. I'll compare the relative quality of the results I obtained.

In this comparison, 10 means "as close as possible to the original HD file", 5 means "no loss or gain from using an HD source vs. SD" (i.e. looks like the chart was shot in SD), and 1 means "looks far worse than using SD in the first place."

The software I've tested so far is: Premiere Pro 2.0 with Adobe Media Encoder (AME), Edius 3.6 with Procoder Express (PCE), VirtualDub (forgot which version), and Tsunami MPEG Encoder (tmpgenc). I would love to test FCP or Avid or other programs but I don't know anyone who uses them in my area. Note that for this comparison, HD means 1440x1080 (anamorphic HDV) and SD means 720x480 (anamorphic for 16:9 DVD). All MPEG compressions were done at CBR 9mbps which is the maximum quality a DVD can use.

Here are my results. I would like to post sample pics but I'm waiting for permission to use this test chart publically, and I need to set up a web host anyway.

Quality Scores, best to worst:

10/10 : HDV Clip import into Virtualdub, resize from HD->SD via Resize filter (method Lanczos3, Use Interlaced), export via frameserving or uncompressed temp file to Tmpgenc. The quality via this method is excellent. All lines are sharp but without jaggies or noticeable sharpening artifacts. The contrast and color balance are unchanged from the original.

9.9/10: HDV Clip recompressed near-losslessly to Canopus HQ or Cineform codec (via either PP2 or Edius, identical results), imported into Virtualdub for resizing and output to Tmpgenc as above. Virtually identical quality to the above method, just requires more disk space and time. This is an excellent option if you want to output your PP2/Edius HD timeline project for conversion to SD/DVD.

6/10: HDV Clip on Edius DV (SD) timeline, export via PCE for DVD. The image has become noticably softer and slightly brighter than the original. Also there are now black bars on the sides of the image, about 8 pixels wide each, thus the original material is now squished horizontally, everything becoming slightly taller and thinner (aspect ratio bug?). However, the luma resolution is still slightly better and the chroma much better than encoding from DV.

5/10: Camera downconvert to DV on Edius DV timeline, export via PCE. Chroma and (to a lesser extent) luma resolution has definitely been lost. After DVD encoding, chroma res is only 180x240 (4:1:0) due to the 4:1:1 DV and 4:2:0 DVD subsampling, as opposed to the 720x480 (4:4:4) that is possible when converting HDV directly to DVD. Contrast has increased slightly making the whites look a little brighter.

4.5/10: Camera downconvert to DV on PP2 DV timeline, export via AME. As with Edius, chroma resolution is only 180x240. Contrast and saturation have decreased somewhat and there is a very slight green tinge, apparently this is caused by the Adobe Media Encoder's MPEG2 codec and not by Premiere itself.

2/10: HDV Clip on PP2 HDV or SD timeline, export via AME for DVD. With PP2 there seems to be no difference between starting with an HD or SD timeline when downsizing for DVD. The image has become extremely soft, looking almost out of focus. The camera downconvert version looks significantly sharper, except maybe for chroma subsampling due to DV compression. It is also slightly darker and with less color saturation and a slight green tinge.

2/10: HDV Clip on PP2 HDV or SD timeline, export to uncompressed 720x480. I did this test to determine if the bad image quality above was caused by PP2 itself or by AME. I exported to uncompressed 720x480, thus using PP2's resampling algorithms but bypassing any effects caused by AME. The image was just as soft as in the above test, indicating that the softness problem is caused by PP2 and not by AME. The loss of contrast and saturation was not apparent, so those seem to be caused by AME.

1/10: HDV Clip on Edius HD timeline, export via PCE for DVD. Compared to the Edius SD timeline method (see above), there is now extremely bad stair-stepping and aliasing effects on horizontal and diagonal lines. It appears that sending 1080i material into PCE is the problem; either PCE uses a different (awful) resampling algorithm or it has a serious bug. When Edius does the resizing (that is, using an SD timeline project setting, as seen above), the result is not nearly as bad. This has been a known Edius/PCE bug for a long time.

1/10: HDV Clip import into Tmpgenc. Apparently Tmpegenc uses a resizing algorithm similar to PCE. Extremely bad stairstepping and aliasing. You MUST let Virtualdub do the resizing.


Conclusions: Those using Edius can obtain satisfactory results by switching to a DV timeline and outputting MPEG2 from PCE. Under no circumstances should Edius users attempt to output SD MPEG2 from an HD timeline due to severe artifacts.

Those using Premiere Pro 2 are less fortunate. PP2's resampling algorithm results in an image so soft it looks more like out-of-focus DV, whether your timeline is HD or SD. Also the Adobe Media Encoder is not very good at all, as it noticably lowers the contrast and saturation, and introduces a slight green tinge.

By far, the best DVD downconvert can be obtained by letting Virtualdub do the resizing and output to a good MPEG2 encoder like Tsunami. This requires more disk space since you have to output your Edius/PP2 project as an intermediate Canopus HQ/Cineform file, but I bet a lot of editors do this anyway, and the quality increase is significant and immediately noticable.

Please feel free to post any questions or comments about my results. Keep in mind that I'm very picky when it comes to image quality, and what I consider unacceptable might seem ok to you. If you are satisfied with your workflow results, then don't throw a fit just because I called it unacceptable. However I suggest you first try the Virtualdub method and see if you like the results better before criticizing my test.

P.S. If anyone knows some special setting or patch that corrects the issues I had with PP2, please let me know and I'll re-do this test. But from what I read on the Adobe message boards, everyone else is having the same problem with no known workaround.

Kevin Shaw July 4th, 2006 01:07 AM

That's right about the problems with encoding directly from an HD timeline to SD output using Edius 3.x with Procoder Express; it will be interesting to see if any improvement has been made with Edius 4 which began shipping recently. Another way around this problem is to capture and edit HD, render that out to an HD file for future use and then re-import that into a DV timeline for rendering to SD. That way you avoid problems switching back and forth from HD to SD resoluiton on the timeline, and end up with satisfactory HD and SD output.

Thomas Smet July 4th, 2006 05:13 AM

I should do this test on Avid Liquid. Avid Liquid has many different ways of resizing. The classic mode can even use lancsos, gauss, box, and many other math formulas just like in Virtualdub.

Trung Dau July 5th, 2006 01:55 AM

Great thread, thanks a lot Jasion

Yletin Thuz July 6th, 2006 11:40 PM

I'm a newbie, so please forgives of my stupid question.

Just downloaded and Used for the very first time Virtualdub, i resize the HDV clip .AVI captured and compressed with cineform, resize it with Virtualdub to 720X480, Lanczos3 filter mode , with interlaced .
It gives me an uncompressed avi with an aspect ratio not 16:9.
O.K., i went ahead anyway converted it with TMPGEnc setting for 16:9, still the mpg output cames out with wrong aspect ratio.
Please, what did i do wrong during the resizing or encoding????
I have to admit that the output mpg stream is excellent compared with everything i went thru so far using PP2 , Vegas, CinemaCraft...

TIA

Trung Dau July 7th, 2006 09:11 PM

Hi Jasion,

What Virtualdub version did u use?

Jason Livingston July 8th, 2006 09:33 AM

Quote:

Originally Posted by Yletin Thuz
I'm a newbie, so please forgives of my stupid question.

Just downloaded and Used for the very first time Virtualdub, i resize the HDV clip .AVI captured and compressed with cineform, resize it with Virtualdub to 720X480, Lanczos3 filter mode , with interlaced .
It gives me an uncompressed avi with an aspect ratio not 16:9.
O.K., i went ahead anyway converted it with TMPGEnc setting for 16:9, still the mpg output cames out with wrong aspect ratio.
Please, what did i do wrong during the resizing or encoding????
I have to admit that the output mpg stream is excellent compared with everything i went thru so far using PP2 , Vegas, CinemaCraft...

TIA

Make sure in Tmpgenc, under the Settings->Video tab, the aspect ratio is set to 16:9 Display, and in the Advanced tab, "Source aspect ratio" is set to 16:9 Display and "Video Arrange Method" is set to "Full screen." If your source footage is HDV interlaced then Field order should be Top Field First (or for NTSC DV its Lower Field First). That worked for me.

I don't think the settings or version of Virtualdub has any affect on the aspect ratio, but FWIW, I'm using Virtualdub-MPEG2 1.6.10 (somewhat older version).

Jason Livingston July 9th, 2006 07:54 PM

Vegas results
 
My friend with Vegas (6.0c I think) ran the same test and I checked the output files for their quality relative to my tests above.

9/10: HDV clip on Vegas HD timeline, output direct to MPEG-2 for DVD, rendering quality "best." Looks nearly identical to the Virtualdub/Tmpgenc output, except for thin vertical black bars on each side, and very slightly more moire/aliasing effect, but you'd probably never notice this in real footage.

7/10: HDV clip on Vegas DV timeline, output direct to MPEG-2 for DVD, rendering quality "best." In contrast with Edius, where the DV timeline export looks much better than the HDV export, with Vegas the DV export is clearly inferior to its HDV export. Sharpness is ok, but there is a lot of moire and aliasing on the test patterns, and some stairstepping on diagonal lines. Still not too bad though.

He also tried the "good" rendering mode, but the results were noticibly inferior in both tests (subjectively scored around a 5 or 6). Sharpness was down and there were significant moire and aliasing artifacts. It might not be noticable on all footage, but to ensure the best quality, make sure your final render is set to "best" quality.

Conclusion: Vegas users who want the best DVD output possible should edit HDV/Cineform on an HD timeline and need to use "best" for the rendering quality. Done this way, the results are good enough that the extra step of using Virtualdub/Tmpgenc is probably not worth it. Edius and (especially) Premiere users should still consider the Virtualdub method because the quality is much better than what you can achieve straight from the NLE.

Michael Y Wong October 28th, 2006 10:18 PM

Hi Jason

Sorry to dig up this thread but I have a question. I am giving this a try and you state:

10/10 : HDV Clip import into Virtualdub, resize from HD->SD via Resize filter (method Lanczos3, Use Interlaced), export via frameserving or uncompressed temp file to Tmpgenc. The quality via this method is excellent. All lines are sharp but without jaggies or noticeable sharpening artifacts. The contrast and color balance are unchanged from the original.

I am new to virtualDub but when u say import HDV clip to virtualDub, I output my final products to tape (m2t) and i tried importing to the m2t to virtualdub but it doenst work. When you say HDV do you mean output from pp2.0 as a 25mb/s mpeg2 file? What I did iinstead was took my final product m2t->cineframe hd (highest quality) then plugged that into virtualdub, which seemed to wrok fine.

For some reason I cant get frameserving to work (i am new to virtualdub/tmpgenc so I am just outputting to 720x480 avi (from virtualdub), I am assuming that this is the uncompressed temp file u are reffering to.

Am I on the right track? Thanks a LOT, this thread has been super helpful.

Michael

Also, is it just me or is virtual dub unforuntately NOT support dual core processors? I cant find anywhere in teh preferences so that dual core processing is exploited.

Brent Graham October 31st, 2006 09:19 AM

It'd be interesting to see what After Effects does with this stuff. Any chance you'll put AE through the ringer???

Ervin Farkas November 3rd, 2006 01:38 PM

Newbie question about frame serving
 
Quote: "10/10 : HDV Clip import into Virtualdub, resize from HD->SD via Resize filter (method Lanczos3, Use Interlaced), export via frameserving or uncompressed temp file to Tmpgenc. The quality via this method is excellent. All lines are sharp but without jaggies or noticeable sharpening artifacts. The contrast and color balance are unchanged from the original."

Jason is suggesting that frame serving is the way to go between VirtualDub and the encoder. Is there any other advantage to this other than saving hard drive real estate?

Thanks,

Devon Lyon November 6th, 2006 01:21 PM

I just performed the import HDV into Virtualdub - resize and export via the methods explained above and then import into TMPGEnc and export MPEG2.

The footage is from a Canon XH-A1 at 1440x1080 and footage shot in the 24f mode. I do agree that the quality seems sharper than my normal Premier Pro 2.0 export via Adobe Media Encoder to MPEG2, but I swear I am still seeing jaggies.

Any advice on my settings? I am choosing 16:9 when exporting and have tried both interlaced and deinterlaced. Thoughts?

Mark Miner November 6th, 2006 08:27 PM

Thanks
 
Jason,

thanks for the tests and the 'recipe'. I used the 9.9 method with canopushqintermediate, vdub, and tmpgenc. This has resulted in an wonderfully nice 16:9 SD file. Much better than my old pd170.

Mark Miner

Marc Plomp November 13th, 2006 02:00 PM

help for Virtual dub
 
Hi,

I am new to this forum. I try to convert a HDV file captured in PP2 (CFHD file) with virtualdub , but Virtualdub didn't reconize the file.
How can I get this file into virtualdub?
I hope someone can help me because the qualiti from the downconversion in PP2 is bad.
Thanks

Graham Hickling November 13th, 2006 07:16 PM

Virtualdub will need the VfW (Video for Windows) CFHD codec installed on your system....it comes as part of the AspectHD package so you might try (re)installing that?

Devon Lyon November 13th, 2006 09:52 PM

Question to those who are also experimenting with this process: why go through the virtual dub process to resize? I have tried both methods and it seems to me that the PPro 2.0 export as a Cineform HD .avi file imported directly into TMPEGenc and just resized in that program works fine. Am I missing some reason not to just let TMPEGenc just resize as it creates the MPEG?

BTW - I do agree that TMPEGenc quality SD MPEG makes for a MUCH nicer picture over the standard Adobe Media Encoder MPEG-2 DVD export that I used to use.

Paul Wags November 14th, 2006 09:20 AM

Interesting Post great work..

I found that encoding out a DVD file with Prem Pro and Aspect HD from a HDV timline better if I went straight out with Procoder 2 than to HDV to DV to DVD. I could also make progessive DVD's this way for much beter quality.

Now I have EDIUS 4, standard DVD's are abit soft but if you encode out progressive mpeg 2 file straight from the timline they look heaps better.

Im in PAL land and watching PAL and NTSC ones I have made, PAL is beter/larger due to more resolution. PAL- 720/576 NTSC- 720/480

Here are PAL / NTSC files I made straight from the EDIUS PAL HDV timline.
m2t ones
http://www.hdvunderwater.com/videoclips/NTSCshark.m2t 42megs
http://www.hdvunderwater.com/videoclips/PALshark.m2t 42megs

And here is a couple wmv ones
http://www.hdvunderwater.com/videoclips/pal.wmv
http://www.hdvunderwater.com/videoclips/ntsc.wmv

I J Walton November 14th, 2006 10:26 AM

All I have to say about this topic is; ADOBE AFTER EFFECTS 7.0.

I have done hundreds of tests after being dissapointed with Premiere pro 2's crappy downconverts. I have tried the latest Vegas and V'dub and all were soft.

The only way to make an SD clip out of HDV is to resize on render in after effests 7 (select PAL/NTSC widscreen from dropdown menu in stretch box).

I swear that this is THE method to use from all my tests. It looks so good rendered to Huffyuv that it still looks almost like HDV. Super clear, give it a try.

My two cents.

Devon Lyon November 14th, 2006 11:10 AM

I J:

What do you mean by "It looks so good rendered to Huffyuv"?

Does that mean that Huffyuv is a MPEG2 codec I can install into After Effects?

I J Walton November 14th, 2006 01:12 PM

When I render my HDV (intermediate codec, like cineform for example) to SD in After Effects, I use the Huffyuv lossless codec to keep the best possible quality. Then I take this Huffyuv SD file into Premiere Pro 2 for encoding to MPEG2 (or your own choice of MPEG2 encoder).

I find this to be the absolute best way to keep HD clarity on SD DVD.

Marc Plomp November 14th, 2006 03:37 PM

can I do this also with AE 6.0. (I don't have 7.0)
thanks.

I J Walton November 14th, 2006 04:22 PM

I'm not sure. I haven't used AE 6. I think there was a update download that made it suport HDV, I dont know. If you have HDV working in AE6, then I see no reason why it wouldnt work.

Lee Wilson November 14th, 2006 07:13 PM

Another vote for After Effects as the preeminent resolution squeezer™ - I have converted many a HD project to SD with fantastic results.

Lee Wilson November 14th, 2006 07:16 PM

Quote:

Originally Posted by Marc Plomp
can I do this also with AE 6.0. (I don't have 7.0)
thanks.


I just imported some HDV 1080i (Apple intermediate codec) footage into After Effects 5.5 - no problems.

Marc Plomp November 15th, 2006 10:17 AM

Thanks a lot, I treid 6.0 but I couldn't import a PP1.5.1 hdv clip. I download the trailversie AE7.0 and it worked. But I can't find the huffyuv codec. Can someexplain where I can find this codec.
Also when I rerender a HDV clip to lossless (no compression) DV/pal After effects does a great jobb. The new clip is very sharp. Maybe huffyuv is better,

Thanks

Graham Hickling November 15th, 2006 10:37 AM

http://neuron2.net/www.math.berkeley...fyuv-2.1.1.zip

Marc Plomp November 15th, 2006 11:40 AM

Thanks, this link works, now I can render to huffyuv.

Devon Lyon November 15th, 2006 01:33 PM

Ok, I downloaded the zip Huffey and installed it. Where in After Effects 7.0 does it actually give me the option to use the codec?

Marc Plomp November 15th, 2006 03:57 PM

I found it back in the screen render-options. (after I drag the clip into that screen) normally there is the setting "no compressed" when you click on that , there is an new screen with different options. Succes

Devon Lyon November 15th, 2006 06:12 PM

Thanks, found it! OK, another question, under the Huffy Configuration Dialog box, what "RGB Compression Method" is the best?

There are a number of options: (1) Predict Left No Decorr (Fastest); (2) Predict Left; (3) Predict Gradient (best); (4) Convert to YUY2

Thoughts?

Graham Hickling November 15th, 2006 09:39 PM

Well ... you see where is says "Best" after #3? That's the one to use.

Devon Lyon November 15th, 2006 11:26 PM

Yes, clearly...but what does the final one mean?

Arve Hansen November 16th, 2006 04:04 AM

Anyone have a tutorial to this encoding from HDV to DV with After Effects 7.0?

Michael Y Wong November 17th, 2006 11:04 AM

FYI, just dumping an m2t into Procoder does a stellar job.

I got sick of trying all these intermediate steps via cineform->virtualdub->procoder or cineform->aftereffects->procoder and just rendered out my hdv back to m2t (for tape backup), then also did an m2t->dvd (2 pass vbr high/master quality), and was curious to see how the image would hold up in the most common real life situations (popping the disc into dvd player, output via crt/progressive display devices)

Although when viewing the video file on the pc there may be some jaggies, when watching on tv:

1) interlaced crt - video looks fine, i didnt stand close to the tv searching for jaggies but it looked great on a 29" crt. Normal viewing distnaces the image looks sharp, can't see any jaggies (didnt look for any) and the colour space is fantastic. This test dindt matter too much to me since almost everyone I know (clients included) watches DVDs on some sort of progressive display device

2) progressive display device - i popped the dvd into a pansonic dvd player (progressive scan on) outputted to my wxga dlp projector and even via a 92" screen, the deinterlacer in the dvd player took care of the jaggies. If it wasn't the deinterlacer I dunno what it was, but there we're no jaggies whatsoever, and the image was fantastic and was comparible as to watchign the 1080i m2t file in full resolution (where the projector downconverts it to 480p wxga) coming from the camera itself, even on a 92 inch 16:9 screen.

Moral of story, you can save time just by dumping the M2t into procoder, still yeilding an excelelnt looking dvd (even though it may not look excellent on the comptuter dvd player, but in real life crt/progressive display tv devices it will look great). I would recommened burning a dvd-rw via this simple process and witnessing the results for yourself before spending any more time fiddling with the process. I am anal as hell when it comes to video quality and it really does look great!

Hope this helps!

Arve Hansen November 21st, 2006 01:34 PM

I'm very new at HDV.
Last project i convert HDV to DV inside the camera and into Ppro2.0 it was avi. Edit and then export to Encore DVD 2.0. Encorde do the transcode.

But I want to have the editing back to tape in HDV. So can anyone help me?

I capture from HDV into a portabel HDD. I tried HDVsplit to get a scene detect. Then i got .m2t files. Is this the way to capture?

I edit the m2t files into Ppro2.0. Can someone tell me step to step who to get this into Adobe Encore DVD 2.0? I have After Effect too, but need help step by step if i shall use this.

Thanks.

Chris J. Gearing January 13th, 2007 07:16 PM

best quality sd from hd premiere projects
 
Hi all,
I've tried to contact Mr IJ Walton and in the meantime would appreciate any assistance in how to use premiere pro2 HD project to get the high quality sd mpegs discussed here using after effects.
I have tried for several months, playing with different appliciations such as v/dub/tmpg/cce etc but sounds here that after effects may be worth trying.
Do people here agree with Mr Walton?
I have just downloaded the trial after effects but with ZERO knowledge of how to use this software need to understand how to involve same with the pp2 hd project.
Do I export the hd project using cineform hd avi etc or import the entire hd project into after effects etc and what next etc regards final export to sd mpeg to author my dvd.
Any help greatly appreciated.
Thanks in advance.

Steven Gotz January 13th, 2007 09:13 PM

I would try exporting the CFHD AVI at 1440X1080 and then import that into a SD project. Scale it down yourself. Either make it fit into a 16:9 SD project, or in a 4:3 project you can scale it down to letterbox, or a little less and the edges will be cut off. I use the third method mostly. It is easy to zoom in and out and pan left and right to get the best part of the large frame into the small frame.

Panos Bournias January 14th, 2007 11:55 PM

M2t to procoder
 
I agree with Michael. M2t to procoder works great. Is fast and easy to use. I convert m2t files from footage 30fr/sec to PAL and they look even better than the NTSC, but it takes 2X to transcode.
Give it a try
Panos

Spike Spiegel January 31st, 2007 12:44 AM

guys, what about a 10 bit downconversion thru a capture card like a Aja xena/kona? Anyone try this method? I imagine, playing back the HDV footage 10 bit downconverted to SD, outputted to Digibeta or some other format, should look quite nice.

I havn't tested this, but I will soon,and report back.

Kevin Shaw January 31st, 2007 09:05 AM

Quote:

Originally Posted by Spike Spiegel
guys, what about a 10 bit downconversion thru a capture card like a Aja xena/kona? Anyone try this method? I imagine, playing back the HDV footage 10 bit downconverted to SD, outputted to Digibeta or some other format, should look quite nice.

I would think that once you've recorded HDV to tape with 8-bit data, there's little if anything to be gained by running it through a 10-bit system for downconverting to SD. Applying effects at 10-bit might help, but for a simple downconvert it probably wouldn't.


All times are GMT -6. The time now is 09:59 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network