![]() |
6 Attachment(s)
Well for now here's a screenshot of my latest script on a user supplied video, showing that it actually does work, at least in some cases:
http://screenshotcomparison.com/comparison/91853 This is my dejitter script - this one lines up images with black borders in them. My "perfect TBC" is something totally different, and my "intrinsic dejitter" is again totally different (it doesn't need the black borders). jittered.jpg - artificially jittered test image, with embedded test signal (not shown) dejittered.jpg - dejittered back to original by using embedded test signal composite.jpg - a real VHS recording of a test image, that was dejittered perfectly by using an embedded test signal (test signal removed) component.jpg - a real VHS recording of a test image, that used an embedded test signal, and then perfectly dejittered, and also using a component video - on VHS scheme original.jpg - a user supplied, badly jittered video for which the original tape is not available processed.jpg - dejittered with my dejitter script, which simply lines up the black borders For a gallery, this isn't mouseover but the changing images is pretty quick when cached http://www.cpurigs.com/forums/showthread.php?t=2056 http://www.cpurigs.com/forums/vbpicg...ig&p=514#photo |
Albums are native to the forum software.
Here's yours: http://www.digitalFAQ.com/forum/memb...98-albums.html You can add images there, too. |
I spy something new that you've not shared here yet. Saw this at VH:
Code:
#Fast line shifter Ver 0.52 by jmac698This may be something that I can incorporate into an existing and ongoing guide series involving Avisynth and VHS problem scenarios. |
Ya, that's pretty immature version. I think I released it too soon, a lot of people are trying to use it and I'm spending more time answering their questions than actually finishing it :)
Problem is, it only works on the bright scenes, so it's probably not practical to anyone yet. I didn't think avisynth was very big here, you seem more hardware/virtualdub oriented as opposed to programming new scripts for each video. |
Quote:
For each new release, just give a couple of quick mentions on what was changed/tweaked, without writing an explanatory novel. We'll either pick up what's going on, or we won't. I don't want to see you overwhelmed by people --especially stupid/lazy ones that just want a big "Go!" button to "fix video" -- as opposed to keeping this an interesting and enjoyable experience for tackling this video problem. That's a big problem I have to deal with, often spending vast amounts of times documenting and answering questions, instead of doing the research, dev and application. |
2 Attachment(s)
Quote:
Quote:
I actually have (somewhere) a file with about 40 examples of this error that I've come across over various tapes, which I'll try to find later, although this is pretty representative of the typical case. Note that the amount of frame displacement vertically can vary by maybe +/- 3 frames. The length of time each frame is displaced from it's original position can vary a bit too. Typically these sorts of instances are brief though and scattered, never lasting more a second at a time. As LS has outlined previously, errors with these characteristics tend to occur on tapes with other problems, when the TBC frame buffer memory is unable to compensate. As a note, my particular JVC deck has a 4MB frame buffer. Ultimately I'm wondering if this kind of error is addressable once in the digital domain. If I could re-encode (obviously with a slight penalty to image quality) small batches of frames (hidden between cuts typically) without doing separate non-TBC or ES-10 encodes it would surely save me a lot of time. Even better would be an automated tool could scan the video stream and reliably identify instances of such an error. I've played around a bit myself with log files of the AviSynth DeJitter filter to see if I could identify them based on the shifts of the vertical axis pixel values, but I could not reliably identify them based on that data alone and the correction was spotty as well. Both clips are accessible here as TBC Clip.MPG and No TBC Clip.MPG http://www.wou.edu/~rvitolo06/test/ |
Ugh... the vertical jitter (image bounce) vs horizontal jitter (time base instability) issue.
It's more pronounced on JVC S-VHS VCRs, but Panasonic is far from immune. Also, your clips are small enough to attach to forum posts (under 16MB each). :) |
Quote:
|
Yep, I think I know what that is, and there's a fix for it ;)
|
Quote:
At any rate, I'd definitely be willing to make some sort of a donation towards the work and towards the site as well. |
Organization
Could you move post#32 on to a new thread, "Dropped/Duped Fields (Plays as Vertical Jitter)" The Problem Video looks like it's jumping when passed through TBC. Applicable only to this particular sample. The Analysis The pattern is this, with field numbers: 0/1, 2/3, 2/5, 6/7, 8/7, ... and repeating. In other terms it's, ok/ok, ok/ok, dup/ok, ok/ok, ok/dup, ...or you're missing 2 of every 10 fields. The Repair It's easy and high quality interpolation, hardly noticable. Fixing existing files I can create a text file with ranges of frames to fix plus the corrected video. Let me know if this works for you; to have the entire corrected video. Then you could encode it and splice bits of mpg together, replacing each range specified. Easiest option is to just re-encode it all, of course it might get blocky... Note to self: value of thresh for this repair was 2.4-2.8. |
Quote:
Also -- regarding the video clip itself, this particular video isn't one I have a need to correct, although it would be fun to see the before and after for this particular example. It was just intended as an example of the general problem that I find on other video footage on my tapes. I'm not sure I understand how I'd apply the fix to a general video -- this is a representative example, but (I think) some videos do behave slightly differently in terms of how long it lasts, but I suppose it's possible that the same pattern is just repeating over and over as you identified. If I did run into a variation on the problem, would I need to edit the text values to handle it as well? In general, I don't mind re-encoding the videos and storing them with the original until I can splice in the problem frames from the re-encode. It'll save me time in the long-run and I have lots of space. For me the idea is to use the re-encoded version only as an alternative version for fixes and not rely on it as the base version of the footage. |
Ok, for your purposes, I could encode the frame ranges as: no problems surround 15 frames around each problem. That would be the size of cutting an mpg anyhow. So if the problem was like this:
ok, bad, ok, bad, ok, ok, ok, ok, ok, bad... It would say replace 9 frames. That way, it doesn't matter if the patterns are quite different. The pattern doesn't affect the repair but, if there's a full frame drop I'd like to test it first. So I'll prepare a fixed version for you with range text file and see how that works for you. Check another 12 hours though, my day is done here. Meanwhile if you find another sample just to ensure we're seeing the full variety here. Especially something that seems any different to you., Another problem, I assumed it was only movies that were 25p (encoded as 50i), could there be some tapes with 50i video too? |
Sounds good! I'll see if I can find some other examples -- I have a file of a bunch of them somewhere. I'll have some time to work through some sources I've had problems previously over the next month or so, so I'll have lots of opportunity to test it out.
By the way, as far as the footage I would use this with -- good question! For the most part it's actually not movies or film sources, although there are some of course. Most of the sources I'd be using are actually mostly television shows taped on video and not film and also some sports, which I assume are also taped on video. |
I'll have to use a different repair method, it's a bit worse. Do you normally keep your encodes as fully interlaced? I should have a video sample for testing.
|
2 Attachment(s)
Good to know, glad you asked, I didn't even think to mention it.
Yes, I leave the interlacing alone, as my destination is typically DVD-R for playback on a standard DVD player. The sample tape was from a cable TV recording from about 1990, playback on an NTSC JVC SR-W5U deck fed directly into my JVC DR-M100S DVD recorder (top frame first). I just did a straight rip from the DVD recorder and then edited it together an MPEG from the VOB without re-encoding it -- that's the typical process I use for just about everything. I'll see about getting another clip tomorrow for you. -- merged -- Here are a couple of more TBC on examples for ya -- from a basketball game. I doubt it's of any consequence , but just as a note, these are from an EP source, were the movie was from an SP one. Problems with about frames 72 - 78 on the first one and 95 to 101 on the second. (Interesting that both are about 6 frames worth). Not sure if these differ at all from the first ones -- although perhaps the 'variety' I'm seeing is just perceived and not actual. I have a few tapes I can use to test this thoroughly that have a high number of these sorts of instances, so I'll give the algorithm a workout for sure! |
Good catch, those are different. 2nd clip is really weird, half the frame is ok the other half is a repeat of 1 frame back. It would need a special repair technique. Does the effect occur a lot?
Your clip1 is different as well. It's a missing field with no dupe. Detection is harder but repair is the same. So these are all 3 different problems. I can't solve them all right away, but just try one and go from there. And give me a few days :) Interesting though, things I never saw before... ultimately could find a way to fix all these types of problems. |
Quote:
Yeah, after looking at it, I'd say the version in clip 2 occurs fairly often as well. I guess I generalized the problem to "jittery/jumpy frame" but I guess it's much more complex in terms of how it manifests itself specifically. Some are more noticeable than others. I'll see if I can pull out another tape that displays some more -- hopefully there is a small set of different errors we're working with here! If it can be made into a workable solution it would pretty much eliminate the one major shortcoming of the TBC correction in these SVHS decks, which is pretty astonishing to think about in 2011! |
I'm still looking forward to seeing what you were able to do with the messed-up clips I gave you. :)
|
Alright jmac, this was created because of you: http://www.digitalfaq.com/forum/news...er-images.html
This wasn't some off-the-shelf mod. I spent several hours this morning writing out new vBulletin code just for this. It should come in useful for us advanced users. :) |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.