I shot some 50i PAL footage on my camcorder. In order to proper stabilize the video, I deinterlaced it and used the Deshaker filter in VirtualDub. Now I want to reinterlace the video for displaying on TV. What is the best way to go? I also want to sharpen the video in Premiere Pro and export from there to MPEG-2.
Thanks in advance.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 42
Thread
-
-
You can't get back the information lost by deinterlacing. A PAL TV will have no problem displaying your remaining progressive frames. You took frames which had 2 different half pictures (take at 1/50 second intervals) and converted them into frames that had single whole pictures (at 1/25 second intervals). When the remaining whole pictures are displayed on an interlaced TV you will see the remaining whole pictures half at a time. But you will not have the smooth motion of the original interlaced video because those other half pictures are gone.
-
That's just it, when I try to play back the progressive video on the interlaced TV, the video is too jerky. That's why I wanted to reinterlace the video, because my original shaked video, plays smoothly. So how could I still reinterlace the video?
-
Instead of 'same-rate' deinterlacing before applying Deshaker, you should have done a 'bob' deinterlace to 50fps to retain the original temporal resolution. The best solution would be to repeat the exercise doing this.
-
Originally Posted by loekverhees
Some examples posted by somebody a while back:
https://forum.videohelp.com/images/guides/p1934885/stockholma_0-520_q3_yadif_mvbobmod_t...mca4_tdtmm.avi -
@jagabo: Are these methods better than method 4b on http://www.100fps.com/ ?
-
Originally Posted by loekverhees
After you've done whatever processing you want on the video you re-interlace with:
WhateverSource()
SeparateFields()
SelectEvery(4, 0, 3)
Weave() -
Ok, thanks for the replies. I'm trying Yadif now, since the TempGaussMC was way to slow :P. When I reinterlaced using the given code, do I have LFF or UFF (that's the same as BFF and TFF, right)?
I notice that when I export all the time in the Panasonic DV codec, I get lots of compression artefacts (blocks). Is there a better codec?
One thing I still do not fully understand: When I deinterlace the DV-footage, deshake it, and burn it to DVD (so I have a 25fps progressive video), the video looks jerky om my TV. But when I watch a normal DVD from the store (also 25fps progressive PAL), it looks like the video is playing very smoothly. How is that possible, since both are 25fps progressive, right? -
Originally Posted by loekverhees
If you don't want to re-encode the jerky result, it is possible to reverse field order flags on elementary stream (demux it) with ReStream utility. -
Originally Posted by Alex_ander
-
Originally Posted by loekverhees
SeparateFields()
SelectEvery(4, 0, 3)
Weave()
info() can give you the AviSynth field order in which the fields will be separated from progressive 50p frames (= output field order here). If you add a line before:
AssumeTFF()
SeparateFields()
SelectEvery(4, 0, 3)
Weave()
the output will be TFF. -
Originally Posted by loekverhees
Also, Deshaker has an interlace flag to allow it to work at a field level so you do not have to deinterlace to stabilise with it.Read my blog here.
-
Originally Posted by guns1inger
-
Originally Posted by loekverhees
-
Ok, here is a sample: http://uploading.com/files/YPDWZ3KG/sample.m2v.html
-
The video looks like normal 25 fps footage to me. It's 25 fps progressive. Where are you viewing the jerkiness? Maybe you have a playback problem? You might try encoding interlaced to see if that makes any difference on your playback device.
The video is very bright and high contrast. That makes the inherent jerkiness of 25 fps more obvious. Also, professionals use special techniques to reduce the impact of this jerkiness. They tend to avoid medium speed pans. Or when they use them they will use a short depth of field to assure the background is out of focus. That type of thing. -
Tried the progressive one once again on my CRT-television, still some jerkiness (and it looks like the screen is flickering (alternating becoming brighter and darker very fast). Then I tried to playback the progressive video on my computer, and there it looks ok, not as smooth as the interlaced one, but way better than on television.
Then I tried the interlaced one, and that plays super smoothly on television. I've include the original video (DV imported in Adobe PP and exported to interlaced PAL mpeg2):
http://uploading.com/files/MTXYPSUB/original_sample.m2v.html
I read that when working with interlaced material, one should set the 'motion smoothness' value in DeShaker higher than if working with progressive material because the filter was frame-based. Does this imply that I should double the values because the framerate of the interlaced material is also doubled? -
The only significant difference I see between sample.m2v and original_sample.m2v (aside from the deshaking) is the progressive encoding in sample vs. interlaced encoding in original_sample. After authoring a DVD they should playback essentially the same. If not, then there may be something wrong with the authoring. Or your DVD player doesn't like progressive encoding -- which doesn't seem likely.
Regarding DeShaker and interlaced video -- I don't know if you need to change the values. It should be easy enough to test a short segment.
Here's a segment of sample.m2v video converted to 50 fps with AviSynth's SmoothFPS:
fps50.avi -
Thanks for the sample, it is very smooth. In the beginning, I tried to deinterlace the footage because I got bad results from DeShaker processing interlaced material. But now I raised the values in DeShaker, and now I get good results out of DeShaker (with interlaced footage). So, now, I do not need to deinterlace the footage in the first place. This way, I also have less intermediate steps.
-
I don't understand your question. There is no such thing as 50i really -- aside from marketing which has decided to start calling 25i 50i because it sounds bigger and better.
If you want to convert 25p (like in your sample.m2v) to 25i, just reencode with the MPEG encoder set to interlaced. It won't have any more temporal information but apparently your DVD player (or a mistake in the way you've authored) plays it more smoothly.
If you want to convert 25p to 50p with SmoothFPS(), then make that into 25i (with 50 different fields per second), you can do that with a script like this:
Code:Mpeg2Source("sample.d2v") SmoothFPS(50) SeparateFields() SelectEvery(4,0,3) Weave()
-
Ah, sorry, I see I mistyped a few things. I edited the post. And with 50i, I meant 50 fields per second and 25 frames per second. I edited that also. Excuses again .
-
Yadif(mode=0) converts 25i to 25p. TempGaussMC_beta1() only bobs to 50p but you can decimate afterwards:
Code:TempGaussMC_beta1() SelectEven()
-
Thanks. Another thing: If I want progressive in the final output, should I first use TGMC and then run DeShaker, or first Deshaker and then TGMC?
-
Originally Posted by loekverhees
-
Ok, thanks. I tried tempgaussmc_beta1mod(edimode="eedi2", tr2=3) instead of the normal tempgaussmc_beta1() command, but it is not faster. I thought this mod should be faster? If I use the mod version, would it be the same quality as the original version?
Also, I get some weird effects with TGMC (both the normal and the modded version). In the file attached, three successive frames can be seen. The second frame has the weird effect. Is there a way to avoid this?
I also discovered some strange halo's, see picture (along the right side of themountain and the rock in the lower right corner):
Here is the script I used:
Code:LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d.dll") AviSource("C:\Users\L.J.P. Verhees\Desktop\losse stukjes\Interlaced.avi") SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() DoubleWeave.SelectOdd() Tweak(sat=1.1,cont=0.94) ConvertToYV12() AssumeBFF() TempGaussMC_beta1() SelectEven()
Similar Threads
-
Removing jagged interlacing artifacts from a progressive file?
By tfolder in forum RestorationReplies: 13Last Post: 17th Mar 2011, 05:19 -
interlacing in progressive DVD image
By ecc in forum Video ConversionReplies: 1Last Post: 28th Oct 2009, 09:50 -
Good Video Explaining Interlacing and De-Interlacing
By Soopafresh in forum Newbie / General discussionsReplies: 3Last Post: 14th Aug 2008, 20:50 -
interlacing progressive videos
By theelf in forum ffmpegX general discussionReplies: 0Last Post: 29th Jan 2008, 20:31 -
Can progressive video be saved as DV without losing progressive advantages?
By boblin2 in forum Video ConversionReplies: 7Last Post: 22nd Jul 2007, 15:35