Credit Roll (Title Scroll): Getting it to Work

johnmeyer wrote on 12/20/2011, 10:39 PM
The old Vegas credit scroll produces ugly results when rendered to interlaced output (e.g., NTSC DVD). The text flickers and you can see scan lines traveling through the text as it rolls up the screen.

I fully understand the issues involved, and also have read, today, most of the posts on this forum where this topic has been discussed. I spent more time figuring this out than I did editing a two-camera HD shoot of a complete Nutcracker (that took less than eight hours, including re-syncing the original CD audio, and ducking the applause in and out).

To cut to the chase, the Vegas title scroll generator doesn't have any way to force the text to always progress up the screen by an exact (integer) number of scan lines. What this means is that the baseline of a particular letter may be aligned exactly with the bottom of a scan line on one frame, but in the next frame, Vegas advances the text to whatever position is required by the length of the total title scroll. As a result, the base of that character will now probably be somewhere between two scan lines, and the TV set will have to figure out how to display that. The result is text which flickers and morphs as it goes up the screen.

During the course of this long day, I tried a LOT of things including, but not limited to, changing all the following settings (in various permutations):

Project Deinterlace, None, Interpolate, Blend
Credit Roll Event Reduce flicker on/off
Credit Roll Event smart/disable resample
Credit Roll Event field order TFF/progressive
Text bold/normal (and different sizes)
Text color 255/235
Background color 0/16
Frameserve to Nick Hope's HD to SD AVISynth script and render in external MC MPEG encoder
Change project AND credit roll to 720x480 widescreen and render to DVD MPEG from that
Make credit roll 10x longer; render resulting slo-mo credits to intermediate; import that and speed up 10x
Use a supersample envelope

All of these tests were done on a 1440x1080 credit roll, which was being rendered (using the Best setting) to a 720x480 widescreen MPEG-2 file.

I could go on, but it was a long day. Surprisingly, absolutely nothing listed above made even the slightest difference. I was rather surprised that the "reduce interlace flicker" has zero effect.

I also tried every single blur fX available in Vegas, at different settings.

I viewed the output on a real, old-fashioned CRT monitor with a DVD player that uses component (not composite) output, and also on a LCD big screen display, both from an xBox connected via HDMI as well as an old DVD player connected via composite (no S-video input on this TV).

I was about to give up, but decided to try to manually force Vegas to line up the text the way a real credit roll generator would do. It actually isn't that hard, once you've done it once. I don't have time for a complete tutorial, but here is the essence of how you do it.

This procedure makes the scrolling text look very good on an interlaced TV set, and look spectacular on a modern progressive set that deinterlaces NTSC DVDs.


First, you start with the vertical resolution of the output you are trying to create. Don't worry about the resolution of the credit roll itself, or of the project properties. These don't matter. However, to do this test, temporarily set the project properties to match the output resolution (this is important).

Then, go to the timeline and go frame-by-frame until the top of a letter just comes into view at the bottom of the screen. Then, go back one frame until it disappears.

Write down the frame number.

Go forward on the timeline until the top of that letter is at the top of the display. Go forward until you just see the top of the letter you used as reference begin to get clipped. Go back until it is not clipped.

Write down the frame number and subtract it from the first number.

Now, here comes the math. If the Vegas engineers had done their work, they could have added a single feature that would let you "slave" the crawl to the desired output resolution in such a way the the letters in the scroll would always line up exactly at the same vertical position relative to the raster (or pixel matrix). The following simple math would then be buried behind the UI, where it belongs.

But, the way to do this manually is to realize that if you want the letters to go up exactly one scan line for each frame (which would be a very slow scroll, especially for HD), then you need to force the result of the difference between the first and second frame number to be exactly the vertical resolution: 480 for NTSC SD; 576 for PAL SD; and 1080 for HD.

You do this by changing the length of the credit roll event.

If you want a faster scroll, then you want the text to jump two, or three, or four scan lines. You can divide the vertical resolution by any integer and use that number. For a two line jump in NTSC, you would divide by two, yielding a difference of 240 frames (288 for PAL, and 540 for HD). At 30 frames per second, it takes eight seconds for the text to go from the bottom to the top of the frame. This is a little fast, but still reasonable. If you divide 480 by three (so that the text jumps exactly three scan lines every frame), you only have 160 frames for the text to move across the screen, which happens in just over five seconds. This is too fast.

So, for NTSC, you are pretty much stuck with 240. There may be a way to adapt this to work so that the text aligns on alternating fields. This will probably result in twitter, but will avoid all the problems of the scan lines seeming to move through the text.

You then temporarily change the Vegas ruler to frames, and then open the credit roll event and read its duration in frames. You then multiply (or divide) the ratio of the number you got from the difference between the two numbers above by the duration, and then enter the new duration into the event.

The credit roll will now be the correct duration so that text lines up on the same scan line in each successive frame, and you will get flicker free text, without having to blur over all the artifacts created by the poor credit roll generator.


Comments

farss wrote on 12/21/2011, 1:10 AM
Interesting read, thanks John.

The gent who did the online for the movie I did some work on recently used FCP for the online and Adobe's Titler for the credits, looked smooth as silk and watching him use it and later playing around with it myself it is much easier to use than the one in Vegas for credits with multiple layouts.

One of my own videos I did recently did have a credit roll at the end and I edited it on a HD T/L and did the credits without anything special apart from a tiny amount of vertical GB. By the time that was downscaled to SD PAL it looked quite acceptable with no line twitter on the leading edge of the characters.

I have also thought about all this a bit myself. The credits at the end of movies playout perfectly. They would have been created at 24fps, telecined at 23.976 and played out down here at 25fps. I doubt they scroll at one line per frame. Whilst going to all the effort of keeping to the magic numbers works I think there's more to it than that.

Bob.
johnmeyer wrote on 12/21/2011, 1:21 AM
Yes, there is definitely a lot more to it, I suspect. Obviously things are easier when dealing with 24p or anything else that is progressive. Also, I am pretty sure that a proper approach to aliasing -- which all the blur "fixups" are attempting to emulate (badly) -- would allow scroll rates that aren't integer submultiples of the vertical resolution.

I suppose at some point I should try the various titlers that have been bundled with Vegas, although I'm not very tempted to try the NewBlue product at the moment, given the problems that have been reported here.

I did actually try ProType earlier today. As always, I ask myself, "who the heck let this thing out of the lab?" However, I did succeed in getting it to scroll some titles, and it produced artifacts during part of the scroll, but not others because, clearly, there was some sort of beat pattern happening. I think I just accidentally hit a scroll rate that was close, but not exactly, one of the "magic" numbers. It was actually this accidentally discovery that made me spend so much time trying to find a way to get the old scroll generator to line up the text.

Laurence wrote on 12/21/2011, 1:23 AM
I'm using the Credit Roll generator for the first time on my current project and it looks jerky as heII even at 30p. I imagine it would be even worse interlaced. I think what is going on is that there are rounding errors where it has to make a jump in order every so often in order to correct this. If I could understand your process (it's 2:30am and maybe that has something to do with it) it might help even with progressive video.
Grazie wrote on 12/21/2011, 1:29 AM
John, you doing this test makes me understand at a deeper, logical level why I ditched using CR. I saw the jumps and thought it just wasn't for me. That was 8 years ago.

I now exclusively use the Placement Tab Function, in the standard Sony Text. I get very acceptable CRs. The question remains, what is it in using my method that circumvents the issues coming up/through Sony CR? Maybe in answering that could give a clue to Math not being done in SONY CR?

G



Christian de Godzinsky wrote on 12/21/2011, 2:06 AM
Hi,

This is a subject that has also puzzled me for a long time, facing the fact that we still live in a interlaced world, and must play in the foreseeable future obeying it's rules... Therefore I'm delighted to see that also someone else has spent hours in figuring this out :)

I know that BBC and other excellent quality producing companies use scrolling titles that scroll synced to the interlaced line rate. Watching such recorded programs in slowmo you clearly see that the text crawl is synced with interlace crawl, or in an integer multiple thereof. Older programs used probably hardware text generators where this was easy to arrange.

The same could be achieved in software, but none of the Vegas text generators have such a feature. I believe that in some really professional editing software (but not in Vegas) there is an option to sync the text crawl with the interlace crawl. It just makes sense whenever the delivered output is interlaced, especially if you opt to use serif fonts, and want a professional look and feel.

I have noticed that for some strange reason get better results (PAL SD) when I doubled the generated text media resolution from 720x576 to 1440x1152 before the final render. Go figure.

I too have spent many hours adjusting the ProTitler text scroll speed to sync it to the interlace rate. A manual chore that is VERY difficult to get right, but not impossible. How simple would it be just to push a (non existent) button in the generated media edit window that would sync the crawl to the interlaced spec. Should we send this to SCS as a feature request? I would use it every time.

Christian

WIN10 Pro 64-bit | Version 1903 | OS build 18362.535 | Studio 16.1.2 | Vegas Pro 17 b387
CPU i9-7940C 14-core @4.4GHz | 64GB DDR4@XMP3600 | ASUS X299M1
GPU 2 x GTX1080Ti (2x11G GBDDR) | 442.19 nVidia driver | Intensity Pro 4K (BlackMagic)
4x Spyder calibrated monitors (1x4K, 1xUHD, 2xHD)
SSD 500GB system | 2x1TB HD | Internal 4x1TB HD's @RAID10 | Raid1 HDD array via 1Gb ethernet
Steinberg UR2 USB audio Interface (24bit/192kHz)
ShuttlePro2 controller

farss wrote on 12/21/2011, 2:36 AM
"what is it in using my method that circumvents the issues coming up/through Sony CR?"

I suspect in the CR the vectors that makeup the text are "moved" and then rasterized. In your method the text is rasterized and then moved.


Bob
NickHope wrote on 12/21/2011, 3:41 AM
Interesting post John. Thanks.

What I'm doing at the moment is re-editing a PAL interlaced DVD, for publication to a new DVD and to YouTube.

Because of the magic I've found in AviSynth's mvtools and QTGMC, I've decided to resample the 576i to 480i NTSC for the DVD (so I only need 1 version), and to 720p for YouTube (so it gets more exposure, and hopefully looks clearer, as "HD").

What I'm doing is first resampling the video stream to 720x480-60p for the DVD, and to 984x720-25p for YouTube, and bringing these back into Vegas on a matched, progessive timeline as lossless avi files to add my titles, graphics, credit roll etc. at the correct resolution, in the hope that this will give those graphics the best chance of sharp quality. I'll then reinterlace the DVD stream later.

John, do you think this approach will help the credit-roll flickers, or is it still relevant for me to use your mathematical approach to get the speed right?
amendegw wrote on 12/21/2011, 4:08 AM
"The text flickers and you can see scan lines traveling through the text as it rolls up the screen.My old mind is having a little trouble getting around the whys & wherefores of this issue, but I'll throw the following out as a "shot in the dark".

The Vegas 11 Gaussian Blur FX now allows the user to add Vertical & Horizontal blur to the 4th decimal place (vs 3 decimal places in previous versions). Previously, a value of .001 would noticeably soften the image too much. Possibly adding a blur of .0001 to .0009 might help here???

...Jerry

System Model:     Alienware M18 R1
System:           Windows 11 Pro
Processor:        13th Gen Intel(R) Core(TM) i9-13980HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)

Installed Memory: 64.0 GB
Display Adapter:  NVIDIA GeForce RTX 4090 Laptop GPU (16GB), Nvidia Studio Driver 566.14 Nov 2024
Overclock Off

Display:          1920x1200 240 hertz
Storage (8TB Total):
    OS Drive:       NVMe KIOXIA 4096GB
        Data Drive:     NVMe Samsung SSD 990 PRO 4TB
        Data Drive:     Glyph Blackbox Pro 14TB

Vegas Pro 22 Build 239

Cameras:
Canon R5 Mark II
Canon R3
Sony A9

Grazie wrote on 12/21/2011, 4:11 AM
True Jerry, but I think John, having done the Math, would rather like the programmers to get busy with their own collective Abacus too! - Resulting in supplying a tool that works, and works first and every time.

One has to read between the lines here . . literally.

G

farss wrote on 12/21/2011, 4:30 AM
"Resulting in supplying a tool that works, and works first and every time."

First time I recall these issues being raised was around V5.

Link to the article I (I think it was me) found way back then written by Adam Wilt here. You need to scroll down the page to find the part about credit rolls and text generation.

Bob.

megabit wrote on 12/21/2011, 5:06 AM
This discussion comes timely for my current project, as I'm just at the stage of generating some long credit roll :)

However Bob - having read the article you linked us to - I still don't remember what I once grasped and used successfully:

- with the old (Legacy) Text Generator, how do I set the time length of a roll (basing on the total lines in my credits), so that I'm close to an Even Multiply of 50i?

Piotr

AMD TR 2990WX CPU | MSI X399 CARBON AC | 64GB RAM@XMP2933  | 2x RTX 2080Ti GPU | 4x 3TB WD Black RAID0 media drive | 3x 1TB NVMe RAID0 cache drive | SSD SATA system drive | AX1600i PSU | Decklink 12G Extreme | Samsung UHD reference monitor (calibrated)

farss wrote on 12/21/2011, 6:27 AM
"with the old (Legacy) Text Generator, how do I set the time length of a roll (basing on the total lines in my credits), so that I'm close to an Even Multiply of 50i?"

The theory is that it doesn't matter if you create the credits using the old text generator and animate that so it scrolls.

If you did want to get it aligned and you had photoshop the easiest way I can think of at this time of night would be to create the credits in PS then you know exactly how many pixels high the page is. Then just some arithmeticto work out which durations giveinteger multiples of one complete line (576/2 of them) per frame.

Bob.

JJKizak wrote on 12/21/2011, 7:11 AM
With this new info it is theoretically possible to create/program a credit roll that actually works in Vegas with a couple of buttons.
JJK
johnmeyer wrote on 12/21/2011, 10:15 AM
First, here are two short samples of the before and after of my credit scroll. You can run these on your computer, using any media player, whether it uses deinterlacing or not. These two are exactly the same, with absolutely no fX used on either one. The only difference is that I adjusted the length of the credit roll in order to ensure the timing for a 480 line vertical resolution codec setting.

6 MB before/after credit roll files

On my computer display, the difference is both readily apparent and significant.


What I'm doing is first resampling the video stream to 720x420-60p for the DVD, and to 984x720-25p for YouTube, and bringing these back into Vegas on a matched, progessive timeline as lossless avi files to add my titles, graphics, credit roll etc. at the correct resolution, in the hope that this will give those graphics the best chance of sharp quality. I'll then reinterlace the DVD stream later.Nick, I'm not a big fan of deinterlacing and then reinterlacing, although as you know better than anyone, if you are changing resolution, this is unavoidable.

The issues surrounding credit roll, where a high-contrast object (text) is moved at a smooth, mechanically generated rate in an exactly vertical direction is going to cause problems whether the source -- or whether the display -- are interlaced.

For instance, think of the little hole in the letter "e." That may only be one or two pixels high. Since there are not enough pixels to display it smoothly, there are all sorts of tricks to make it look proper on a display that has (compared to a high-res printing device) few pixels. In the old days, this tuning was done by hand, and you paid a company like Bitstream a small fortune to get fonts that were prepared for a certain printing or display device. (I once visited their offices in Cambridge, MA, and they had about twenty people in a basement with huge digitizing boards, working on fonts, one character at a time, and one font size at a time).

The point is, when that font is not moving, it looks reasonably close to what the font looks like on a high-res printed page. However, when it is moved upward by a non-integer number of pixels, all those approximations have to be done in a different way, and the font actually changes shape. I watched this happen yesterday, on a progressive display. In fact, that's what started me on this quest: the fonts looked like rubber even on a progressive display.

Nick, we can have a separate discussion about possible improvements to the workflow for preparing your work for a DVD and YouTube upload.


Possibly adding a blur of .0001 to .0009 might help here???I don't think so. I was using Vegas 8, so my fX didn't go to .0001 (Spinal Tap??), but even at the 10x stronger setting that I had at my disposal, the artifacts were still there and still annoying. Thus, while the newer, smaller values should reduce the unwanted blurring, since the stronger values didn't do the job, the lesser ones most definitely won't help the problem.


Link to the article I (I think it was me) found way back then written by Adam Wilt here. Thanks for posting that. It was linked to from one of the earlier discussions in this forum (I read several dozen yesterday) and I read it completely. It was one of the things that gave me the confidence to keep going.


With this new info it is theoretically possible to create/program a credit roll that actually works in Vegas with a couple of buttons.Ah, the scripting idea. I briefly thought about that, but as Ed Troxel (jetdv) has pointed out since he first started scripting, you can't control any of the titling tools via the script interface.

One final note. This tortured workflow definitely dramatically reduces the warping and flickering of text scrolled with the old credit roll tool. However, there are still plenty of ugly artifacts that can only be prevented by creating a properly designed credit roll generator. In particular, if you look at the tops of characters, you will often see little extra pixels sticking out the top. You don't see these until you fix the scroll rate to an integer submultiple of the vertical resolution, but once the characters are rendered in the same way on each successive frame, these artifacts become quite noticeable. This is where clever tuning -- contained in TrueType and PostScript Type 1 fonts -- is needed, and why the CG needs to be directly tied into this technology.

farss wrote on 12/21/2011, 4:27 PM
'In particular, if you look at the tops of characters, you will often see little extra pixels sticking out the top. "

Indeed but here's a thing I noticed a long time ago.
I could point my old D8 camera at a printed page, wave it around and get vastly better looking moving text than I could by generating text in my NLE. That was quite a WTF moment for me, it seems to defy simple logic.

The answer I believe lies in the camera's Optical Low Pass Filter and the way the camera creates motion blur. Both of those analog things are impossible to replicate fully in the digital realm. Oversampling, i.e. creating the text at much higher resolution and then downsampling, can help.

Bob.
megabit wrote on 12/21/2011, 11:52 PM
Back to the traditional method of credit rolling in the Legacy Text Generator: please remind me if and why the length of the roll is defined twice:

- in the "Duration" field
- by the length of text event itself?

Isn't that redundant - i.e. if one makes a 2 mins event with the properly defined start and end positions, is entering the Duration necessary?

BTW, out of the couple of methods tested I still find this way (i.e. with the Legacy generator) to produce the least stuttering results...

Piotr

AMD TR 2990WX CPU | MSI X399 CARBON AC | 64GB RAM@XMP2933  | 2x RTX 2080Ti GPU | 4x 3TB WD Black RAID0 media drive | 3x 1TB NVMe RAID0 cache drive | SSD SATA system drive | AX1600i PSU | Decklink 12G Extreme | Samsung UHD reference monitor (calibrated)

farss wrote on 12/22/2011, 12:06 AM
"Isn't that redundant - i.e. if one makes a 2 mins event with the properly defined start and end positions, is entering the Duration necessary?"

My understanding is that the duration field is the length of the source clip.
The length of the event is as per any other event on the T/L

Say you make the duration 10s and extend the event to 20s you'll see a divet at 10s and if you've applied any keframes you'll see the event repeat.

Bob.
john_dennis wrote on 12/22/2011, 4:12 PM
Burn this DVD folder to disk and comment.
johnmeyer wrote on 12/23/2011, 12:45 AM
Burn this DVD folder to disk and comment.First of all, thanks for the additional ideas and taking the time to create the test DVD.

Here are my comments.

The test DVD looked good on my LCD display, driven by my XBox 360 connected via HDMI. However, it did not look any better, when viewed on my CRT connected to a standard DVD player via the three cable component connections, than my (bad) original titles.

Your post says that it is a PNG file rendered at 24p. I'll be interested in why a PNG file should produce better results. Also, how did you generate this PNG? In PhotoShop? And, how did you scroll it? Using Pan/Crop, Track Motion, or some other way outside of Vegas.
I am not in any way challenging the idea, but I just don't understand how it would get around the basic problem of synchronizing with the scan lines.

I noticed that your scroll was almost half the speed of what I created. Did you do this in order to achieve better quality, or did you not attempt to match the speed I had? Again, this isn't a criticism, but instead I am trying to understand if the slower speed was part of your solution.

Also, my main program is 60i, so I really don't have the option in this particular situation to switch to 24p. This is especially true because, for various reasons, I start the titles superimposed over the top of the 60i ballet.

Finally, I did notice that you chose a fairly low bitrate and different MPEG-2 encoding settings (at least that's what MediaInfo reports). This is probably just the template you had lying around, but if you chose settings for a specific reason, I'd be interested in that.

Once again, thanks!

PeterWright wrote on 12/23/2011, 1:43 AM
John, have you tried Grazie's suggestion of using the Placement tab to scroll? I use this method too, and have had satisfactory results ( usually 50i).
john_dennis wrote on 12/23/2011, 11:48 AM
“[I]it did not look any better, when viewed on my CRT[/I]”

This morning I played the DVD on the last remaining CRT TV in my house through a composite cable and I agree that there was little to no improvement. I could see black scan lines running through the white text.

“[I]PNG file [/I]”

The rationale for this is to eliminate the text generator in Vegas. Stick with me here this is convoluted but I do this kind of thing all the time so it doesn’t take as long to do as It takes to describe. Though if you use a picture file you might find it easier to time the video to match the scan rate you desire. I haven’t tried it yet but it seems that once the keyframes are set, just Control-dragging the event would allow one to get the even to the desired size.

I created the credits in Microsoft Excel.

Printed to Adobe Acrobat to an Architect C-Size page.

From Acrobat, I extracted a PNG file

Opened the PNG file in PhotoShop and inverted the colors to produce white on a black instead of black on white, resized and added a leader and trailer on top and bottom. Saved as PNG.

In Vegas I cropped the event on the timeline to16x9 and panned down the page.

“[I]rendered at 24p[/I]”

The rationale for using 24p: Progressive video doesn’t have the artifacts (at least on a progressive display).

“[I] your scroll was almost half the speed of what I created.[/I]”

That was just the luck of the draw. I didn’t spend much time thinking about it. My preference is that the scroll rate not be tied to the technology but rather be an artistic choice or a choice based on what seems to be most readable for the audience.

“[I]my main program is 60i, so I really don't have the option in this particular situation to switch to 24p. This is especially true because, for various reasons, I start the titles superimposed over the top of the 60i ballet.[/I]”

My assumption was that the credits would be a separate title on the DVD, linked from the main title and running at 24p. At least, with more modern equipment, 24p appears to produce somewhat better results than 60i for high contrast, high detail scrolling text. I wonder how many people realize that DVDs can have different titles with different frame rates? I didn’t realize that until less than a year ago.

“[I]I did notice that you chose a fairly low bitrate and different MPEG-2 encoding settings[/I]”

I didn’t intentionally use a lower bit rate, but the frame rate and the scroll rate were different. This may account for the difference in actual bit rate. I used the DVD Architect 24p NTSC widestream video stream template from Vegas Pro 11.

As always, it's been a learning experience.
johnmeyer wrote on 12/23/2011, 2:14 PM
John,

Thanks for the very complete explanation. All your choices were made for the reasons I suspected, but it is good to have it confirmed.

I tried a few things and found that I can cut a few steps off your workflow by using Microsft Publisher, which lets you save directly in PNG format.

I wonder how many people realize that DVDs can have different titles with different frame rates? I do know that, and it is why I made the point above that I couldn't do that because -- for both timing and artistic considerations, the titles had to start while the curtain was closing. Therefore, the separate title is out of the question.

And for those still reading, your idea extends to mixing widescreen and 4:3 on the same disc.

An even more advanced trick is to encode using the same aspect ratio and frame rate for all sections of the video, but for really critical sections, encode at a higher bitrate. Then, use Womble or a similar tool to join together the separate segments. Since MPEG-2 permits variable bitrate, this is just a variation on that capability. This is sort of a poor-man's way of getting a little of what the truly high-end MPEG-2 encoders provide, namely manual control over bitrate.
john_dennis wrote on 12/23/2011, 3:56 PM
"I tried a few things and found that I can cut a few steps off your workflow"

I once had a version of PhotoShop that wouldn't open a PDF. Now, exporting the PNG from Acrobat is no longer neccessary though I still do it. Senility setting in...