DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Adobe Creative Suite (https://www.dvinfo.net/forum/adobe-creative-suite/)
-   -   2hr Pal HDV timeline to SD DVD (https://www.dvinfo.net/forum/adobe-creative-suite/506608-2hr-pal-hdv-timeline-sd-dvd.html)

Eric Olson April 7th, 2012 12:45 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Sareesh Sudhakaran (Post 1725583)
Deinterlace footage . . . Use CBR with a value of 6.5Mbps

Deinterlacing before down converting to SD yields about 30% greater apparent spatial resolution while losing 50% of the temporal resolution. If your footage doesn't have very much motion this is a reasonable tradeoff. As a bonus the resulting video may compress more efficiently, especially if you encode as 30p progressive flagged for 2:2 pulldown using an external encoder. Note, however, that 6.5 mbps will only fit 1.5 hours on a single-layer DVD. For 2 hours try a rate less than 5 mbps.

Bart Walczak April 7th, 2012 05:19 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Peter Manojlovic (Post 1725542)
I used to run these programs, and it took forever..Just think of the processing power involved. Also, think of all the different deinterlacers, options, and parameters in each deinterlacer, and we can come to the conclusion that Adobe hasn't taken the issue seriously...

OK, I never thought I would actually be defending Adobe in this regard. However I would recommend reading their article on scaling here:

some details about scaling in Premiere Pro CS5 and CS5.5 Premiere Pro work area

You get different scaling algorithms depending on whether you have or don't have nVidia CUDA card in your system, and whether you choose Maximum Render Quality, or not.

Let's also separate three issues that are involved in this discussion:

1. The bug of improper deinterlacing in case of different fields on input and output (HDV to DV/MPEG-2)
2. Scaling of interlaced footage in general
3. Encoding of MPEG-2 files.

Ad 1.

The bug is there, hands down, and it has been there for past two iterations, so it's the highest time Adobe should step up and really fix this issue. You know, like half a year ago? I guess most people who complain about the poor quality of downscaling are the victims of this bug. The difference is best seen in generated graphics like lower thirds or credit rolls. If you have rounded corners where you should have sharp ones, this is the result of this bug.

The workaround is to separate the steps - first scale down to the footage with the same field order (like uncompressed 4:2:2), and then reverse the field dominance during encoding to MPEG-2 or DV.

So - before you complain, first make sure that you avoid this bug!

Ad 2.

The algorithm that is used for scaling depends on the hardware that you have or don't have. Lanczos filter, touted as the recommended method in the link that you posted, is used only when you have CUDA card on board. Otherwise it is very computationaly expensive - as you yourself have mentioned. But with GPU acceleration, it is much quicker and feasible. And it works quite well in my experience.

There is a noticeable difference between Gaussian (MRQ and no CUDA) and Lanczos (MRQ with CUDA) resizing. Frankly, I was surprised, comparing the results of one render with another. But to make sure that you export with the highest quality, you should have a CUDA card.

I agree that allowing the power-user to choose the scaling algorithm would give you more control, and allow non-CUDA users more choice between encoding time and quality, however the defaults that Adobe uses seem quite sensible to me, and to say that they "don't treat this issue seriously" is unjust. Perhaps it should be re-phrased as "they don't treat this issue seriously enough for me".

Ad 3.

Various encoders give various results. AME is not the best encoder out there, although it is very good, and will be sufficient for most cases. We routinely publish the DVDs and don't feel the need to resort to third parties software. However, I usually export CBR 8 Mbit/s files for the best quality that the DVD player can handle.

TMPGEnc and Cinema Craft come to mind as a little better software encoders. If you really want the highest quality, you would go for the third party encoder anyway, perhaps even a hardware solution. Some time ago the best MPEG-2 encoders were big boxes which would give you total control over everything that you needed, and many things that you didn't. But it was a solution for big authoring studios, costing hundreds of thousands of dollars.

Matthew Cairns April 8th, 2012 01:53 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Thanks all for your replies.

Quote:

Originally Posted by Sareesh Sudhakaran (Post 1725583)
CS3 handles HDV to SD brilliantly on its own.

Sareesh - thanks for your suggestion and wonder if anyone else has successfully tried that method. I will give that a try.

Perhaps I could ask for some suggestions on the current worklow:

Source HDV 1080i, mostly interviews with still interviewees, some motion (eg interview with car driver with scenery passing behind outside the car window, also some moving camera - but only about 5% of the film is with motion)

Based on HD2SD (for SD PAL DVD's mainly on SD DVD players)

1.Export file(s) from Premiere -

Via AME - Mpeg2 Blu Ray (m2v), Upper Field First, Interlaced-or-De-interlace???
VBR 2 pass, Level:High, min Bitrate 25, Target 30, Max 35

2.AviSynth Script -

To keep it interlaced ("xxx.m2v", OutputFieldRate=50)
Should I convert from UFF to LFF for Encore??
If so ("xxx.m2v", OutputFieldRate=50, OutputBFF=True)
I have read "the HD2SD function uses TFF by default. Output BFF=True can be set to reverse the field order, which seems better when encoding with Adobe Encore"

3. VirtualDub -

Fast re-compress with Lagarith codec (which is YV12 colourspace) & save as avi

4. Import avi's to Encore

Transcode final as VBR 2 pass with bitrate min 0, average 4000, Max 7000
Audio PCM (I dont have Dolby Dig as an option although I could use mpeg).
Use Dual layer if 2hr 12min content goes over limit.

Cheers

Bart Walczak April 8th, 2012 02:45 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Matthew, in my opinion you will waste quite a lot of time, especially encoding to Full HD H.264.

I suggest you first try encoding dkirectly to uncompressed SD 4:2:2 (upper field first), either mov or avi, then import it directly to Encore, and see if you like the results.

If you're going for double-layer, make it CBR 7 or 8 Mbit. 2h12 should fit about that. Plus Encore automatically encodes audio to Dolby Digital, but only if you transcode it in Encore. For some reason AME can't do it, probably something to do with licensing.

But this is what I myself would do.

Matthew Cairns April 8th, 2012 09:14 PM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Sareesh Sudhakaran (Post 1725583)
Export your movie as an uncompressed image sequence (I used TIFF 16-bit from AE, since I had finished in AE). I strongly recommend using AE to render your project as opposed to Premiere Pro. Deinterlace footage unless your material is true progressive (unlikely). If you need to, sharpen your footage before exporting.

Open a new project in Premiere and import your image sequence and export to Encore. Use CBR with a value of 6.5Mbps (should be just about right in terms of size on a single layer DVD).

Sareesh, I am trying your method and realise I have a few questions- particularly where the actual HD to SD takes place.

1. AE Export - I have imported the HDV Premiere project into AE. When I am exporting the first of the files (I'm doing the 2hr 12 as 5 separate files) am I maintaining the HD resolution or down sizing to 720 x 576 (would have to use the stretch command)?

There isn't an option for bit size for the TIFF's but I notice they are 24bit.

Where can you de-interlace in the AE Export? "Field Render OFF"?

2. Premiere New Project - HD or SD here?

3. Regarding the bit calculations, is this one ok? DVD-HQ : Bitrate & GOP calculator

Eric Olson April 8th, 2012 10:13 PM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Matthew Cairns (Post 1725914)
There isn't an option for bit size for the TIFF's but I notice they are 24bit.

I think exporting 2 hours of video as an uncompressed TIFF image sequence may be a problem. At HD resolution you will get 1 TB of data; at SD resolution you will get 208 GB. If the DVD looks better deinterlaced and you've already made such a DVD, then you are done unless you want to experiment with different encoders and down sampling methods.

Quote:

Originally Posted by Matthew Cairns (Post 1725914)
Regarding the bit calculations, is this one ok? DVD-HQ : Bitrate & GOP calculator

The calculator recommends an average video bitrate of 4700 kbps for fitting 2 hours onto one DVD. This sounds right.

Sareesh Sudhakaran April 8th, 2012 11:11 PM

Re: 2hr Pal HDV timeline to SD DVD
 
1. In AE, the bit depth is determined by each project, and is a global setting. It is under File-->Project Settings --> Color Settings -->
a. If you have heavy grading and finishing work, choose 32-bit float. Or, if you are using a modern system, select 32-bit float.
b. If you just want to render without making major changes choose 16-bit

For color space, Rec 709/HDTV is good enough for simple work. Choosing and working in a higher color space is beyond the scope of this post, and let's not complicate matters at this point.

Your comp resolution should match your source resolution, and fps should match, pixel aspect should be 1, with no deviations from your source material. Most HD systems are upper field, so under File-->Interpret Footage-->
a. Select upper --> then double click the footage to open it in the footage window --> use the time control to step forward five or more frames:
i.If the motion is consistent in one direction, you have set it right
ii. if the motion steps back every other frame, choose the lower field order setting.

Render settings: The point is to only render once.
a. Under Render Queue-->Output Module-->Lossless-->Format: TIFF sequence--> Choose any one
i. Millions of colors - 16-bit
ii. Trillions of colors - 32-bit
iii.Trillions+ (32-bit float)

An ideal master should be 16-bit, and that's good enough for broadcast work. Use 32-bit only for VFX work. Note: There's a difference between this setting and the project setting, and depending on what you've chosen in the project setting, your choices will vary.

b. Render Settings-->Best Settings-->
i. Color Depth: Match what you have chosen, or leave it at Project Settings
ii. Regarding Field Render, the simplest way is to perform a test on your footage. The CS3 manual explains it perfectly. In short, the idea is to test a 3-second clip with both settings and choose the one that works for you. The test should take 10 minutes. Do it.

2. The new Premiere project is HD and matches your master, with no changes, at 25p.

3. The link you have provided seems okay, and you could use that to recheck your calculations. However, I strongly suggest you read the Encore CS3 manual --> Planning your project --> Everything, including Bit Budgeting. Once you have learnt how things work, you can confidently use a calculator (or build your own with MS Excel!) for future projects.

Regarding deinterlacing:

There are two ways:
1. User the deinterlace flicker tool or another tool. If you have really weird interlacing artifacts, this will help to a certain extent, with the downside that it reduces resolution + you need different settings for each 'problem' and it's a lengthy process.

2. Read 'Separate video fields' in the AE CS3 manual. It explains things perfectly. I recommend option 2, because the goal is to preserve resolution. Use only when required. This might seem daunting at first but once you get the hang of it, it's pretty easy.

Here's one of the tricks it suggests (use sparingly!):
a. Import the same footage twice.
b. Interpret one with field upper, the other with field lower.
c. Blend both to get film-like blur.

Hope this helps.

Ron Evans April 9th, 2012 06:14 AM

Re: 2hr Pal HDV timeline to SD DVD
 
I use TMPGenc TMPGEnc - Products: TMPGEnc Video Mastering Works 5. Has a very good encode from HD. It allows you to see how much the disc is being used for the data rate chosen.

Ron Evans

Roger Averdahl April 9th, 2012 10:27 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Matthew Cairns (Post 1724869)
Are you using CS5.5? If so have you experience with creating SD DVD's from HD footage?

Yes, i am using CS5.5 with a certified graphic card for hardware acceleration. When the graphic card handles the downscaling it is really good.

Note that the export settings do default to Lower Field First in CS3, so manually changing it to Upper Field First must be done. If you accept the default, then the de-interlaced export do look better. If you change to Upper Field First, the interlaced export looks best. Export directly to MPEG2-DVD and avoid going to DV PAL/DV NTSC.

What "best" is is of course in the eye of the viewer. I don't like the look of de-interlaced material...

Matthew Cairns April 9th, 2012 06:43 PM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Ron Evans (Post 1725974)
I use TMPGenc TMPGEnc - Products: TMPGEnc Video Mastering Works 5. Has a very good encode from HD. It allows you to see how much the disc is being used for the data rate chosen.

Ron Evans

Hi Ron,

What's your workflow for HD to SD with Premiere & TMPGEnc (& Encore if you use it).

Thanks

Ron Evans April 9th, 2012 09:11 PM

Re: 2hr Pal HDV timeline to SD DVD
 
My normal editing is with Edius and with that I would edit HD export a Canopus HQ file and then encode with TMPGenc. Since this codec is on my PC I can use this with Premiere or Vegas as well as Edius. Not sure what options you may have on your PC for higher quality file export but you would need to use the best format short of uncompressed that may create a very large file !!!

I author in one of Encore, DVD Architect or DVDLab Pro. All will take the files from TMPGenc without re encoding.

Ron Evans

Ann Bens April 10th, 2012 04:00 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Matthew Cairns (Post 1726110)
Hi Ron,

What's your workflow for HD to SD with Premiere & TMPGEnc (& Encore if you use it).

Thanks

If you do not use an intermediaire codec frameserving from Premiere to TMPGEnc is the easiest way.
Download Advanced FrameServer 0.3.118 Free - Frame server for your Premiere application - Softpedia

Eric Olson April 10th, 2012 10:49 AM

Re: 2hr Pal HDV timeline to SD DVD
 
Quote:

Originally Posted by Ann Bens (Post 1726184)
If you do not use an intermediaire codec frameserving from Premiere to TMPGEnc is the easiest way.
Download Advanced FrameServer 0.3.118 Free - Frame server for your Premiere application - Softpedia

If you can't get frame serving to work or want to master the DVD on a different computer, you could also use DNxHD which is available for free download from Avid.

Avid | DNxHD Codec - Beauty Without Bandwidth

DNxHD works well for me when moving video between different programs and computers.


All times are GMT -6. The time now is 01:30 PM.

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