![]() |
Field repeats, tearing, wobbly lines?
2 Attachment(s)
In the Restored version of the second clip, one frame is repeated a couple of frames later as the player crosses the top of the key. Seems to occur as a still frame in the Original.
There's also tearing, although it only affects one field and seems to come and go at random. Not sure if that's just how tearing is, or not. I've had other tapes tear but it's been consistent enough that I picked it up earlier on in the process. In the first clip, in the Restored version, the edges of the numbers are doing something weird. Not really sure what's going on there. |
2 Attachment(s)
Quote:
beginning in both of your samples has invalid levels. I didn't correct for that (you'd have to do it separately from other sections), I just worked with the second half. I don't know what you were trying to do with color on your restoral except replace a blue color cast with a brownish one. Likely it'll never look really great, the original chroma is a mess. Code:
AviSource("path\to\Original.avi") |
1 Attachment(s)
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
I realize your guys aren't pros with a camera, but it's difficult to conceive how the original you posted came straight from an unaltered camera tape. If the sample is what the camera produced, it's indeed a darn sorry camera, putting you through some very hard and mostly unnecessary work.
The court action scene is much darker than the opening sequence. If you want a more natural contrast range for that second scene, then the opening shot would be too bright. You would have to adjust the contrast range in those two shots separately. Your restoration is too red, especially compared to the off-color tones in your posted reference. That poor VHS "reference" color rendering should never be used as a reference, which is supposed to be a view of known values produced under precisely controlled conditions. Neither of us has such a reference. In any case, I figured that some of the posters along the wall would be white-ish, especially the two "Winfield Stadium" signs and some of the floor markings, and I supposed there was mostly green and blue in the court surface, plus some people in the audience appeared to be wearing white-ish shirts and some blackish or bluish-jeans trousers (but all of the darks look like chocolate). I don't see any of that in your restoration, so I'm assuming the sample you posted refers mostly to the noise and distortion problems and has nothing to do with color balance. Such a discussion about color is pretty academic anyway -- there's no way you can get any color accuracy out of the original sample. |
1 Attachment(s)
Quote:
I dug up duplicates of some of the other tapes in the archive recently as well, so one or both versions of those must be copies as well. I actually do this job for a club in a smaller league now, which gives me access to the online portal with all the games across the league. One was yellow. I can only assume they white-balanced for a night game and left the settings the same for a day game and some natural light got in and ruined it, but it looks absolutely awful. Quote:
Even then, mine is less blown out than yours; the world's most ironic no-smoking sign clips on your version. Quote:
Quote:
Quote:
In terms of color, I think the biggest issue is actually the three-point line, rather than necessarily shooting for the most accuracy possible. In the original it's almost exactly the same color as the court, which I thought was just bizarre until I stumbled across that other footage and saw that the court was actually green. So I was shooting for the most contrast I could get between the three-point line and the court, within a range that made everything else look pretty much right. I initially color-balanced the brights to the backboard against the wall, but that looked awful. I've found with some of these tapes that the lighting varies in such a way that it's often a waste of time to balance anything other than the players/referees and their uniforms, because that's where most of the footage is and everything else has some sort of cast. I've attached a framegrab from Premiere of a zoom in on a couple of players, if that helps any. EDIT: You missed my questions about 'frame hops' and the SelectOdd() lines. |
2 Attachment(s)
No one's blaming you for the condition of the tapes. They're the owners' fault completely. I hope you've made aware of it. You're just doing the best you can with abused material.
The first thing I saw in the original was the obvious U/V imbalance. I elected to make an initial correction first in YUV before going to RGB. http://www.digitalfaq.com/forum/atta...1&d=1496940471 Initial YUV corection, before using RGB tweaks: http://www.digitalfaq.com/forum/atta...1&d=1496940525 You can handle it any way you want, but I chose to correct in YUV first. Quote:
Quote:
Quote:
|
Should UV necessarily be balanced, though? In this instance we know the court is somewhere between bluish green and green, and it takes up most of the picture, so wouldn't you expect the sort of thing shown in that first screengrab?
|
In that particular YUV histogram, the closer the channels and peaks get tighter around the center mark, the closer the picture will be to a grayed-out look or will look almost monocolor. No, it's not necessary to perfectly center everything, especially since a nature pic will have a lot of green or blue sky. I adjusted until I got something more workable and realistic IMO. Not that this sample will ever look so "right". It's been through too much. I hate it when that happens, you just do what you can. 10 people will come up with 10 versions of those frames.
How you'll get that court to look like your reference is a mystery to me. Maybe reflecting lights and ceiling affect it here. |
Quote:
Quote:
I'm still not sure why yours blows out the no-smoking sign...or why there's a no-smoking sign in a stadium that is otherwise covered in Winfield signage. Quote:
Quote:
Quote:
I think the scoreboard looks better on yours, but the court itself looks closer on mine (not that either is quite right). Not really a fan of the color of the ball on mine either. On the other hand, I don't want to lose any more of the three-point line than is absolutely necessary. Quote:
I'm very much looking forward to a few years' time when I get to deal with TV broadcasts from stadiums with normal-colored wood floors. |
1 Attachment(s)
I've played around a bit with ColorYUV but I can't come up with anything better than my first attempt. My first go was even more red, my second had green skintones and no contrast at all between the blue and black jerseys.
Is there anything to be done about the whitish line down the side of the ref's arm in the attached clip? I've tried FixVHSOversharp(), dehalo_alpha() and LGhost(), although I'm not sure if this is something they target. |
2 Attachment(s)
You won't get rid of all of that ringing, which makes a mild bright ghost, especially since the sample vid has already gone hrough processing. I used the following:
Code:
ConvertToYUY2(interlaced=false)http://www.digitalfaq.com/forum/atta...1&d=1497279122 Results:http://www.digitalfaq.com/forum/atta...7279155http:// Some fuzzy edges in that sample. |
Where did you get RemoveDirtMC()? I've found a RemoveDirtMC_SE(), but it requires NLMeansCL2(), which I can't find? There's a KNLMeansCL, and an xNLMeansCL, but that's it.
|
1 Attachment(s)
Quote:
Hmm, wonder why the picture in my previous post doesn't show. Too busy to worry about it now. |
1 Attachment(s)
It shows up if you click the attachment at the bottom anyway, so it doesn't really matter.
Any idea what's going on in this one? Going through frame-by-frame the scoreboard appears to 'wobble' horizontally, while the rest of the picture seems okay. I think I've figured out the color balance: the mids have to stay blue. If you adjust the mids to neutral, everything else gets ruined. So I adjusted the brights and darks to the scope, then just did the mids by eye. EDIT: Why the horizontal crop on the tearing script? EDIT 2: And what's the quickest/easiest way to establish the correct numbers for cropping? |
Quote:
Quote:
Quote:
Quote:
Quote:
If you use something more drastic like VDub's DeShaker for a wildly wobbling video, you have to run the filter, save the file, and adjust borders with another script. Sometimes it's less complicated: running a script in Virtualdub, I pause on a frame and adjust Crop numbers, then hit F2 and reload the frame to check for effect. Sometimes you don't notice something is off until after the script has run and you're reviewing the work. Pain in the neck. |
Quote:
Does it matter which Field order I use? Quote:
I have a copy of that, not sure if I've ever watched it. Quote:
My question about working out where to crop (in this case the amount to crop from the bottom) also related to this. I'm going through and there are a few standard dropouts, so I'm using the same script but they're obviously not in the same spot so I can't use your numbers and I'm not sure how to work out how far from the top/bottom of the screen to crop it so it covers the dropout without covering any more of the screen than necessary. Quote:
|
Yeah, right, 39 steps not 69. My mind must have been elsewhere!. :eek:
The version I refer to is the Turner Classic Movies print, which looks to have been mastered from broadcast tape. I['d suspect something like a Criterion print to avoid that sort of thing. But maybe not. Making and applying those little patches does depend on minimal motion. Unwanted motion like frame hopping is why I used Stab(). If I included running players and other objects it wouldn't have worked. I cut the edges short on the crop because I didn't include all of the side border area but you can if you want. I think one of those overlays had to be moved a pixel or so to one side, but it's hard to see during play. I write these coordinates down on a slip of paper while figuring it out and have to remember whether I'm cropping top, sides or bottom. It's kinda tricky and I make a lot of embarrassing (enfuriating) missteps. I tried the infamous median/averaging filter from lordsmurf but it did too much damage. The border control plugin is here: http://www.hlinke.de/vdub-filter/brdcntrl235.zip. There are dozens (maybe hundreds) of little known and famous VDub filters here http://www.hlinke.de/tinc?key=U4rlLO...tualDub_Filter and here http://www.infognition.com/VirtualDubFilters/. |
Quote:
Quote:
|
2 Attachment(s)
Quote:
Example: the first full patch creation and overlay code sequence from the posted script: Code:
Source1=lastCode:
Source1=lastCode:
b0=Source1Code:
b01=Source1.ReplaceFramesMC(168,1).Crop(4,0,-6,-548)Code:
b02=Overlay(b0,b01,x=4,y=0)Code:
Source2=ReplaceFramesSimple(Source1,b02,mappings="168")Quote:
You read the coordinates for left top, right top, left bottom, right bottom. Because you're building a rectangle which in this case has to be mod-2 for deinterlaced YUV, the left top and right top (x coordinates) will be different because of the width. The bottom (y-coordinates) will be the same because of the height. Below, the original deinterlaced and Stab'd frame 168 with new borders and the top border rip marked with arrows: http://www.digitalfaq.com/forum/atta...1&d=1497454674 The coordinates for cropping the section I wanted were in the Crop() function as (4,0,-6,-548). That function starts at x=4 at the left in the image, then removes 6 pixels from the right end. The height starts at pixel x=0 in the image, then removes 548 pixels from the original 576-pixel height. The result after cropping was a rectangle, 710 pixels wide by 28 pixels high. In this case I could just as easily have made the width a full 720 pixels, but I didn't need to repair the black top or side borders. The repaired 710x28 cropped patch from frame 168: http://www.digitalfaq.com/forum/atta...1&d=1497454731 The patch was overlaid onto the video in the top right position at x=4, y=0 from which it was taken. You could also just use ReplaceFramesMC on the whole frame, but you'd have to live with a ton of bizarre motion artifacts especially with the fast moving players. This codde can also replace multiple bad spots in a frame with smaller patches, which I once used to repair some very bad comets that refused to go sway. The code below just uses Crop to "cannibalize" some small but good spot areas from a previous frame and overlay them onto the offending frame in a slightly different position: Code:
b0=a6 |
Quote:
Quote:
Quote:
|
1 Attachment(s)
Quote:
Quote:
Quote:
http://www.digitalfaq.com/forum/atta...1&d=1497462659 FixRips is a last resort. There's a lot that it won't fix, and it can destroy objects at random. Besides, there were very few rips in that particular project, barely a handful of small ones fixed with RemoveSpotsMC. It had mostly defects like the one shown (and that was a commercially produced VHS tape!). |
Well, I just stumbled across some BetacamSP masters of some of these tapes...unfortunately without the ability to play them, it's not much help.
|
In large cities in the U.S. there are shops that lease Betamax players (not free). Wouldn't know about your area.
|
Betamax and Betacam are entirely different things, aren't they? I imagine a consumer Beta player would be gettable on eBay or such, but I'm under the impression Betacam was the professional format. Strikes me as something that would be harder to obtain, not to mention use.
|
Oops. I meant BetaCam. Old habits, hard to break.
|
Even if I could obtain one, would it be as simple as plugging it into my current capture device via the same cables, popping the tape in, and pushing play?
I did find a place that might rent them - DigiBeta is the closest thing mentioned though - and had a look on eBay, and there seem to be a few on there that are cheaper than the rental price, oddly. |
You should consider the cost of purchase/rental vs having a local post/transfer house convert however many BetaSP tapes you have. From the first page of Google results:
https://www.diskbank.com.au/transfer...cam-transfers/ http://www.procopy.com.au/video-tape-transfer-to-dvd/ http://www.ezdigital.com.au/video-to...mpeg2-mp4.html Quote:
More importantly, they only use XLR balanced audio, not RCA unbalanced. This is more of a complication. Once you get it connected, it's just a VCR with some fancy settings and editing operations available. You'd want to ensure the proc amp is reset to defaults and then adjust if desired. Later, you could even try to see whether the TBC works as a passthrough with your other sources (unlikely, but it should be full-frame w/line, so it's possible). Quote:
|
Quote:
Quote:
EDIT: Created a new thread in the capturing section. |
Okay so I've been going through with that ReplaceFrames script, and after 77 replacements it's apparently run out of memory?
Is that just it having to do too many things and I need to start clean? How do I work around it? |
Quote:
|
Not sure what other information would help. It throws an error in VDub saying "AviSynth open failure: ReplaceFramesSimple: insufficient memory".
I tried deleting the last replacement, and it still doesn't load, despite that exact script having worked earlier. |
I'd think that calls for a look at your script.
Or we could just guess. |
Code:
AVISource("Capture1.avi") |
44,400-plus frames? If I had heavy duty detail coding work on that many frames at once, I'd protect my sanity by moving on to a new project. In any case, your posted script snippet ran without a hitch, all the way to frame 44476. I did have to change "Source2" in your script to "Source75" in order to match up with Source75 in the next paragraph. And I had to make a special source file because yours is at least 4 times larger than the segments I usually work with, and mine are broken into even smaller individual shots. I had 47,000 frames and added another paragraph for frame 46,999. It worked.
There would appear to be much more happening in your original script, possibly some typo that's causing problems (and a "typo" could be a comma instead of a period, or that sort of thing). I seem to be a champ around here when it comes to embarrassing typos. There's too much missing here. Quote:
|
1 Attachment(s)
Quote:
Quote:
Quote:
The whole thing is one shot, so it doesn't really have natural break points or anything. |
Thanks. I'll give it a run. First I have to convert my 47000-frame NTSC file to PAL dimensions.
|
1 Attachment(s)
Quote:
Going over your long script: A sequence garbled here between 13 $ 14. It probably worked anyway. Code:
b0=Source13Code:
b0=Source7Code:
ReplaceFramesMC(13778,1)I ran your posted script and changed only the input file. It ran without errors. I changed your script to eliminate unnecessary coding in the patch routines. It ran without errors on the same test file. I've attached the new script with embedded "####" comments. The code at the end replaces some long patch code with simpler and faster code. |
The AssumeFPS() is so I can watch it through in slow-mo to figure out which frames need replacing/patching.
I don't understand what the 'change source #' comments mean/are for. |
Quote:
Quote:
Code:
b0=Source6What do you suppose would happen if the middle three paragraphs were commented-out or deleted, and later replaced by simpler code. After all, those three middle paragraphs don't create a small patch, they just overlay an entire frame. So let's just comment-out those three paragraphs: Code:
b0=Source6Code:
b0=Source6Enter the following comment: # ########## Change Source # in the above line to match later routine ########### The comment means that the last line in the earlier code must be changed, and I changed it to skip Source7 and to create Source10, as shown below: Code:
b0=Source6Code:
Source76 |
The memory issue does seem to be number-of-replacements related; it always starts hitting at about 90 per file regardless of the length of the clip to that point - I've had breaks of 45 minutes with no issues, or several seconds of replacing every second frame.
So I've had to just cut it up into a different AVS file every time the memory issue started happening too often, which means I've got several of them. Is there an easy way to combine them back into one file, or do I have to manually save them as AVI files and then create another AVS file with all the splices typed out manually? |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.