Pixelation repair on DV frame

Post Reply
Goonie

Pixelation repair on DV frame

Post by Goonie »

Hi,

I am editing some home footage that contains pixelation on a number of its frames. The way I wish to correct this without losing any frames is to open up the DV file so that I have a frame by frame view of the file. Then bring up one of the pixelated frames and note where on the frame the pixelation has occured, then go to a neighboring frame where there is no pixelation and copy and paste a portion of the good frame onto the pixelated area of the bad frame to repair it. Will MediaStudio allow or aid me in doing this?

Thanks,

Markus
skier-hughes
Microsoft MVP
Posts: 2659
Joined: Thu Jul 21, 2005 10:09 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: gigabyte
processor: Intel core 2 6420 2.13GHz
ram: 4GB
Video Card: NVidia GForce 8500GT
sound_card: onboard
Hard_Drive_Capacity: 36GB 2TB
Location: UK

Post by skier-hughes »

I don't use MS pro, but if I was doing this on a frame by frame basis, I'd be exporting the frames into my photo editing software and do it there.

Graham
User avatar
Ron P.
Advisor
Posts: 12002
Joined: Tue May 10, 2005 12:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Hewlett-Packard 2AF3 1.0
processor: 3.40 gigahertz Intel Core i7-4770
ram: 16GB
Video Card: NVIDIA GeForce GTX 645
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: 1-HP 27" IPS, 1-Sanyo 21" TV/Monitor
Corel programs: VS5,8.9,10-X5,PSP9-X8,CDGS-9,X4,Painter
Location: Kansas, USA

Post by Ron P. »

Hi Goonie, and welcome to the forums..:),

No, you can not copy and paste parts of a frame, using MSP. What version of MSP are you using? If you have MSP 7, Video Paint is included which would allow you to do something similar. If not then you would need to purchase Video Graphics Lab, Found Here, which is the old Video Paint and CG Infinity.

There are other third party applications that can do the same. What you are looking for is a rotoscoping program.

Ron P.
Ron Petersen, Web Board Administrator
Goonie

Post by Goonie »

Thanks Graham. Is it reasonable easy to export a frame, modify it, then re-insert it into the video file?

Markus
skier-hughes
Microsoft MVP
Posts: 2659
Joined: Thu Jul 21, 2005 10:09 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: gigabyte
processor: Intel core 2 6420 2.13GHz
ram: 4GB
Video Card: NVidia GForce 8500GT
sound_card: onboard
Hard_Drive_Capacity: 36GB 2TB
Location: UK

Post by skier-hughes »

I use Adobe premiere and photoshop, and in those you just do a frame grab and save it as a non-lossy format, like tiff, (Grab one bad and one good frame) and then open in photoshop and make the alterations.

Save as a tiff again.
Import the tiff into MSP.
Find the frame with the pixelation, cut either side of it, delete it, insert single repaired frame in it's place.
Goonie

Post by Goonie »

Excellent, thank you very much for your help and time.

Markus
skier-hughes
Microsoft MVP
Posts: 2659
Joined: Thu Jul 21, 2005 10:09 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: gigabyte
processor: Intel core 2 6420 2.13GHz
ram: 4GB
Video Card: NVidia GForce 8500GT
sound_card: onboard
Hard_Drive_Capacity: 36GB 2TB
Location: UK

Post by skier-hughes »

No problem.
Devil
Posts: 3032
Joined: Fri Mar 18, 2005 8:06 am
Location: Cyprus

Post by Devil »

I suspect you may be using MSP7, which had a problem of random pixelating of frames.

If you have the full version, I suggest you install Service Pack 3 (free download) and recapture your DV. This will cure it - and give you a lot of other useful benefits.
[b][i][color=red]Devil[/color][/i][/b]

[size=84]P4 Core 2 Duo 2.6 GHz/Elite NVidia NF650iSLIT-A/2 Gb dual channel FSB 1333 MHz/Gainward NVidia 7300/2 x 80 Gb, 1 x 300 Gb, 1 x 200 Gb/DVCAM DRV-1000P drive/ Pan NV-DX1&-DX100/MSP8/WS2/PI11/C3D etc.[/size]
Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

Devil wrote:I suspect you may be using MSP7, which had a problem of random pixelating of frames.
The impression I got was that the source video is corrupted. As I understand it, MSP7 only had a problem with pixellated DV when the DV was being output, and then (IIRC) only on hyperthreaded machines.

One thing the OP might try is to dump the whole source clip on the time line, then use "split by scene" specifying the frame content as the basis for the split. At least that way, the corrupted frames will all be split out as separate clips. and therefore easier to tab to.
Goonie

Post by Goonie »

Thanks guys. To my understanding the footage is actually corrupt, due to a dodgy video camera. I have got the footage to a position of individual frames and been able to pinpoint the corrupt frames, but I cant work out how to edit them using previous and post uncorrupted frames. Yes I am using v7 and would be willing to upgrade to 8 if would aid in me fixing my footage.

Markus
rwernyei
Posts: 564
Joined: Wed Feb 09, 2005 9:35 pm

Post by rwernyei »

Markus,
This is from Ulead's site under MSP7 FAQ:

Question:
I found some corrupted frames while rendering my video into DV type-1 AVI on my new Pentium 4 FSB 800 Hyper Threading machine. How do I resolve this problem?

Answer:
Please try the following steps to avoid this problem.
Install the latest MSP 7.01 update patch.
Download the .vio file (ftp.ulead.com/Silent/Uvavi.vio) and replace the original file into the folder below.
C:\Program Files\Ulead Systems\Ulead MediaStudio Pro 7.0\vio

Only do this if you have not applied SP2 or SP3 to original MSP7 installation. Both of these service packs include the improved uvavi.vio replacement.

Hope this helps.
Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

Goonie wrote:Thanks guys. To my understanding the footage is actually corrupt, due to a dodgy video camera. I have got the footage to a position of individual frames and been able to pinpoint the corrupt frames, but I cant work out how to edit them using previous and post uncorrupted frames. Yes I am using v7 and would be willing to upgrade to 8 if would aid in me fixing my footage.
MSP8 won't help any more than MSP7.

You need a second copy of your AVI file. Note that a duplicate of the clip isn't enough - you need to have a copy of the file itself. Put the original clip on Va and the copy file clip on V1 or higher. Right-click the clip of this copy, and in "Media source options" make sure "Deinterlace" is checked.

Find your corrupted frame, zoom into it at 1-frame magnification, and scissor it fore and aft. Scissor the frame before it and the frame after it. You now have three single-frame clips - the one in the middle is corrupted. Move the preceding single-frame clip to the same timecode, but in the next highest track. Do the same for the following clip, but into an even higher track.

(So if your corrupt frame is on V1, the preceding frame is now at the same place but on V2, and the following frame is at the same place on V3.)

Do this for all your corrupted frames.

Select V1 by clicking on its name in the column on the far left. Press {Del} to get rid of the corrupt frames, and the stuff between the corruptions that won't be used in the repair (you need to delete this because it's deinterlaced). Select the first one-frame clip on V3 , right click it and choose "overlay options". Set the transparency to 50% (you'd normally need to do this at both the first and last keyframes, but this is a single-frame clip, so the first fram is the last frame).

Press {Ctrl-C} to copy the frame you've just amended into memory. Select the whole track V3 and right click somewhere in the resulting marquee. Select "Paste attributes" and OK the result (it will probably have "Media source options" and "Overlay options" checked - it's that letter you want to copy, but there won't by any nett effect by leaving the former checked, too.

That should do the trick... There are even more complex ways of doing it, such as having another copy so that you can specify a different field order to deinterlace, but that's when it starts getting complex. :wink:
Goonie

Post by Goonie »

Thank you all for your help. I think that's pretty much covered what I needed.

Cheers,

Markus
Post Reply