VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Ok, time for me to sound like an idiot because I can't figure this thread out:
    https://forum.videohelp.com/viewtopic.php?t=250781&highlight=edit+frame+photoshop

    I have a DVD video that looks like it was originally captured from VHS. There are occasional frame problems where it looks like the tracking lost it for a frame or two here and there....not terrible in most of the places this happens but noticable.
    Doing a rough count, there are probably only about a hundred or so of these frames. Out of these I'd say 30-40% of them are during slow motion periods and I've already been testing to see if I can "cheat" in VirtualDub by simply copying the frame that comes either before/after the bad frame and deleting the bad frame and inserting the copied frame in-meaning I"m just doubling up the same frame.
    The remaining frames are during parts of the video that have too much motion and it's very obvious the frame is doubled up (a jerky quality for those frames). So I want to pull the motion bad frames out one at a time to do a quick fix in Photoshop and then reinsert. I will eventually be using a Mpeg encoder to change the final video back for burning on to DVD but Vegas really is not working very well for quality on this particular video so I can't use it to encode at all.
    Now my problem with VirtualDub.
    In reference to the above link....I've figured out how to export a single frame (that's all I need at a time) to either a) a BMP>edit in Photoshop>import BMP into VirtualDub>save as AVI; OR b) to a targa>edit in Photoshop (save as targa).
    In both of the above I'm unable to figure out how to import the AVI(BMP) or targa back into the same point in the origninal video.
    Can someone please help me? The person known as vhelp goes as far as doing something of a step by step towards the bottom of the other thread, but so far I can't figure out what he's referring to in his comment, "* Now, open your orignal AVI file; make your edits as usual, and load in your "touched-up" avi file as usual. "
    Thanks for what sure to be a simple answer that I've been banging my head about for a bit now....
    BTW-before anyone asks....I'm using VirtualDub because I'm also adjusting some aspects of the video such as brightness/contrast/etc so I'm trying to keep it all "in house" (using the same program at once).
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I would use avisynth to put it all back together. You can string togther a combination of avisource and imagesource statements, specifying exact start and end points of segments by frame.

    something like

    avisource("clipa").trim(start01, end01)+imagesource("bmp01") +avisource("clipa").trim(start02,end02)+ etc
    You can then either pass this through vdub and use it's filters, knowing everything will be treated alike, or jsut add filters to the script. It may be that this approach can be simplified - I'm still new to avisynth.
    Read my blog here.
    Quote Quote  
  3. Member
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    I'd think it'd be much easier in a NLE type prog like Vegas -- some have trials & some like Wax are free. Odd that Vegas should be giving you prob. though...

    Copying frames use the preview window set to best quality full, & reimport images saved as .png from P/shop. In your situation (dealing with broadcast type errors), I'd normally use DGIndex through Avisynth in V/Dub to do any corrections, rendering mjpeg avi. Then I'd use the mjpeg in Vegas, using it to edit & then render mpg2. Vegas can do the corrections -- just V/dub is magnitudes faster. And Avisynth could be substituted for V/Dub entirely, rather then just used as a decoder/server.

    Usually/often NTSC can get away with a 4 frame gap by doubling each end (last good & first good), then varying blend of those two for middle frames, but anything over 4 frames and usually do a small scene cut.

    Prob. with manual retouching ~ VHS qual. is you have so much noise, & that noise develops it's own patterns. Even say using background of frames, changing center only, for those frames noise-motion freezes. At any rate, for small prob. sometimes the cure is more visible though the new stills look perfect.
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    If Vegas isn't giving you the quality you want when encoding to mpeg2, you could try using the Debugmode frameserver. It has a Vegas plugin that lets you serve from the Vegas timeline to another encoder.
    Read my blog here.
    Quote Quote  
  5. Well, the only reason I can't put Vegas in my chain is because it's encoding is giving a problem for some reason. See my other thread here: https://forum.videohelp.com/viewtopic.php?t=288726&highlight=

    Compicating things was a hard drive crash....managed to recover "most" of my files but I had to pull them willy-nilly off the bad drive, but what's happening is that Vegas is messing up the AVI>MPG conversion for some reason.
    I did however come across an interesting thread here: https://www.videohelp.com/forum/archive/t250830.html where "trock" mentions using VFAPI to frameserve from Vdub to Vegas....I have tried it briefly just to see if it works (it actually does...which surprises me with my luck) so now I might check the advice I got on my first thread about which field to use first in Vegas and see if that fixes it....I've never had a field problem in Vegas before (love the program!) but that doesn't mean that something isn't different with this file since I've never used VDubMod before so maybe it's doing something different with it's output AVI. I have my doubts to be honest but haven't had time today to give it a try. Of course if the encoding works...then I have to figure out how to pull the bad frames out of Vegas and then re-insert them but that just adds to the fun.
    I'll try reading a bit closer into some of the suggestions given today in this thread...but I've just been so busy today....
    I do appreciate the inputs!
    Quote Quote  
  6. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I would edit in Vegas and frameserve with Debugmode Frameserver to another encoder. Once the project was finished, I would trash the lot and rebuild the machine from scratch.
    Read my blog here.
    Quote Quote  
  7. Member
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    Apologies if any of this seems repetitive...

    Vegas can be a bit picky regarding codecs... I've had rare situations (had one last night in fact) where the avi video had to be re-written using Vegas with the same codec, & while a nuisance, the file is only copied really with no re-encoding, so not a quality hit. Have had the same thing occur in Prem, though I haven't used it for some time. With some codecs like Picvideo, going into the codec setup & turning off the interlaced over *X* lines often helps.

    Also, both Vegas & Prem & probably several others assume D1-type frames to be DV footage, setting the aspect ratio, field order, & in Vegas, locking aspect. As you're going to be playing with stills, *might* be simpler for you to set aspect to 1 & unlock the aspect. And as posted earlier -- retouching sounds simple but on VHS quality it's not as cut & dry as it might seem -- might try a small section and see if you're happy with the results.

    "...then I have to figure out how to pull the bad frames out of Vegas and then re-insert them..."

    Use jog/shuttle at your eye speed, or just play to find prob. -- helps to have video window full size. With Bad frame(s) showing in vid window, with vid window quality set at max, save the image (click the icon). TO reimport, create track above your vid track. Drag still to this track & position -- note: set in preferrences how long you want this *clip* to be. During playback, mute/unmute track to test if you want.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!