Archive for category Avid

Dylan’s Templater

Because I needed something to do the job, and I’ve been rediscovering Windows application programming, I created a simple application to make it easy to create Avid project templates.

It’s a pretty simplistic application, but seems to do the job, there’s more detail on the Dylan’s Templater page (linked above).

No Comments

DV Generational Loss in Avid

There has been some disagreement about the potential for generation loss in DV video via Firewire in Avid. The idea is that DV video, as data, is transferred and ‘captured’ as a simple data stream via a Firewire connection – there should be no loss, as it is simply moving data back and forth.

But is that the case?

Read the rest of this entry »

7 Comments

Wayne’s World Transition

Wave Plugin Settings A user on one of the Avid forums asked about recreating the Wayne’s World ‘doodly-do doodly-do’ transition. Here is how do to it…

The only non-standard plugin (from modern Avid releases) you will need is DFT Composite Suite GFast Blur, it is a freely available plugin as part of the Composite Suite package trial version – download it from Digital Film Tools. Without registering, only the Fast Blur plugin will work properly, but that’s all you need.

Step 1. Add a 20 frame disolve to the vision cut on V1.

Step 2. Use the Add Edit tool to cut filler on V2 at 18 frames before and 18 frames after the V1 edit, making a 36 frame block of filler on V2.

Step 3. Add the Illusion FX Wave plugin to the cut filler on V2.

Step 4. Use Add Edit to cut filler on V3 at about 10 frames before and after the V1 cut, creating a 20 frame block of filler.

Step 5. Add the DFT Fast Blur plugin to the filler on V3.

Step 6. Set keyframes on Wave plugin – three keyframes, one at 0 frames, one at 18 frames (lining up with V1 cut) and one at the last frame. Apply the settings, as in the illustration above, to the first and last keyframe. For the second keyframe, change the Amount slider to 100.

Step 7. Set keyframes on Fast Blur plugin – three keyframes, one at 0 frames, one at 10 frames (lining up with the V1 cut) and one at the last frame. Keyframes 1 and 3 should have horizontal and vertical blur set to 0, keyframe 2 should be set to 10 for both attributes.

Timeline segment
An idea of what the finished timeline should look like.

No Comments

Avid Resolutions Compared

Compression Test - Photoshop Layers Setup Working on an Avid Media Composer Adrenaline at online resolutions most of the time, I have been curious about the various resolutions and compressions available to me. I have not been able to find any satisfactory comparisons focusing on the visual quality of the compression techniques.

So, I have conducted some research of my own, I think it provides a reasonable overview of the quality of the resolutions. This was all done with PAL footage, but I assume that roughly the same results will be had with NTSC.

Technique

I captured a small clip from a Digital Betacam tape at all the resolutions I wished to test, and then exported a representative still from Avid using an uncompressed TGA export setting.

Opening each file in Photoshop, I created a single file that contained each still on a layer on it’s own, and applied the ‘Difference‘ blending mode. Each layer was differenced against the 1:1 reference capture to issolate places where the recorded image varied. I then applied a adjustment layer than cropped the levels to between 0 and 32 (or 1/8 of the image’s total range) to highlight the variances.

To get some sort of accurate and consistant measure of the level of variance, I used Photoshop’s histogram tool to give me statistics on the resulting difference image (without the levels applied) – this gives us two useful measures, Standard Deviation telling us how far the lumanance levels in the diff vary, and the Mean, which demonstrates the average lumananance in the picture. As I figure it, the lower the number, the less the picture has varied from the 1:1 reference image.

  Compression Test - Image Segment
Frame Segment
 
Compression Test - 2:1 Compression
2:1
Compression Test - 3:1 Compression
3:1
Compression Test - 10:1 Compression
10:1
Compression Test - MPEG50 Compression
MPEG50
Compression Test - MPEG40 Compression
MPEG40
Compression Test - MPEG30 Compression
MPEG30
  Compression Test - DV25 4:2:0 Compression
DV25 4:2:0
 

Results

Resolution Data rate Mean Std. Dev.
1:1 170 Mbit N/A N/A
2:1 70 Mbit 1.36 1.26
3:1 46 Mbit 2.20 2.28
10:1 17 Mbit 4.42 4.46
MPEG IMX 50 50 Mbit 1.40 1.23
MPEG IMX 40 40 Mbit 1.76 1.54
MPEG IMX 30 30 Mbit 2.23 1.96
DV25 4:2:0 25 Mbit 3.53 4.75

(These Meridian bitrates are estimates)

Based on these results, I’d rate these compressions in the following order:

1st 1:1
2nd = 2:1
2nd = MPEG 50
4th MPEG 40
5th = 3:1
5th = MPEG 30
7th DV 25
8th 10:1

Notes

Obviously DV25 suffers in this case due to it’s 4:2:0 sampling method, although it does general produce what I think is a better picture than 10:1 in most cases. MPEG IMX is a 4:2:2 I-frame MPEG2 codec. I am not clear what sampling method is employed by the Meridian codec.

The footage I have used in this case represents what I feel is a reasonable representation of an average frame of video. It has a wide dynamic range, a good range of colours, skin tones and moderately complex fine detail in some areas of the picture. I suspect other images will yeild different results – complex tree patterns are a prime example.

The sample footage was shot on a Sony DVW-790P, onto Sony stock, played in a DVW500AP, captured via SDI into an Avid Media Composer Adrenaline.

1 Comment

Offline Timecode Drift

An increasingly frustrating problem for online editors is a fairly recent tedancy for Avid to experience a type of sync drift while digitising whole tapes at an offline stage.

This is not apparent at the offline stage, as the captured footage appears to have continuoius timecode, and in sync audio, however at online stage many clips can drift out of sync with the provided audio by as much as 18 frames (or potentially even more).

The problem is two-fold…

Firstly, it is a camera problem. A number of cameras (only Sony models it seems) appear to skip a frame or two when continuing timecode after powering off or entering standby mode. They do not miss any actual frames but the timecode of the first frame after this power cycle does not immedidately follow the timecode of the last frame recorded, instead it is one or two frames further on.

The second part of the problem is to do with the way Avid records timecode while capturing footage. Rather than recording exact timecode from the deck, it gets in sync with the deck when the capture starts and from then on simply counts frames. This isn’t normally an issue, as any discontinuities in timecode will be detected as a timecode break, and Avid will halt the capture. However, and this is a big however, Avid does not detect timecode breaks of less than six frames, so in when digitising tapes with the above problem, the timecode Avid records will get more out of sync every time it passes one of these break points.

Sync Drift Illustration

While the audio and pictures are tied together as one stream in the offline, this is not a problem, however when it comes time to reconform the edit on another suite, problems arise. Because the batch capture process generally cues to within a few second of the required material, it syncs with the tape timecode at that point, and is again correctly in sync with the actual recorded timecode. However, this is not the timecode that has been recorded as part of the edited sequence, nor is it the timecode that the original audio was captured with.

To correct this problem, it is necessary to resync each shot in the new online sequence to the recorded sound, to counter the original inaccurate timecode recorded at offline time. There are a number of ways to achieve this in a non-linear environment, some are not even that difficult. However if the show is to be onlined on a linear suite, there is no way to correct the problem. It will introduce problems with audio sync, and often created flash-frames where shots have slipped enough to pass the end of a take.

There are a number of options available at the time of the offline, or even during the shoot, to help reduce this problem.

  • Digitise tapes in smaller chunks
    If offline tapes are digitised in segments of five or ten minutes, these small breaks to not continue to accumulate to create large sync discrepencies toward the end of tape, as they will if a tape is digitised as one single clip.
  • Shoot ‘Time of Day’
    If shooting ‘Time of Day’ timecode it is impossible to create breaks of less than six frames between takes. However this can introduce other problems if tapes are used over multiple days or past midnight (00 comes before 23, decks have trouble figuring out how to cue). Another option might be ‘Free Run’ – However, in this case timecode breaks WILL be created, and care must be taken to allow for pre-roll at the beginning of all takes.

1 Comment