logo Sign In

Moth3r

User Group
Members
Join date
26-Oct-2004
Last activity
16-Jul-2017
Posts
4,892

Post History

Post
#489736
Topic
Counter/logo removal on MPEG2 file
Time

Video Collector said:

Thanks Moth3r.

I am a complete noob with Avisynth, but I know my way round Google :-)

Wow, that is ugly. I think that the inpainting method is best suited for removing "line" feautures like text, scratches or hairs.

I ran the script with VirtualdubMod, and found the result too distracting in motion. The filter has to cover a square block, with very little image area to sample from, so I think a simple blur effect would be less distracting. What filter would you recommend for a simple blur?

To be honest I'd probably go with Ash's recommendation of overcropping - probably less distracting than a black box or blur. Other options are described here or here.

Here are the steps I need to cover in as few renders as possible.

1. Crop out the black bars.

2. Resize the remaining image to 720x480 (anamorphic)

3. Blur what's still visible of the counters.

4. Output to MPEG2 again

What would such a Avisynth script look like, and what programme do you recommend to run it?

MPEG2Source("yourfile.d2v")
Crop(..crop settings..)
Lanczos4resize(..to 16:9 anamorphic size..)
..logo removal filter here..

I would recommend AvsPmod for previewing the script output and adjusting the parameters. You can choose any MPEG-2 encoder you like - HCEnc is a good free one.

I just want to do this with as little generational loss as possible, without having to go through lossless AVI. (If at all possible? Noob, remember.)

Yes it is possible - just use the AviSynth script as the sourcce for your encoder. The main reasons for using lossless AVI are when the script is very slow and you want to run a multipass encode, or if you want to get the video into another editor like Vegas, etc. 

Post
#489641
Topic
Star Wars Trilogy: Hyperspace Collection - 720p AVCHD Project Complete and Now Available! See Post 42 for final details!
Time

Darth Editous said:

 

This is my latest attempt at working with GOUT. The primary goal is to remaster the original theatrical trilogy in 720p AVCHD format.


Have you considered that by upscaling you're locking yourself down needlessly? A lot of TVs and media players out there that do some pretty damn good upscaling, and are always getting better, but if you've already upscaled the input, you rob them of the opportunity to do a possibly better job.

DE

 

You do have a point (the same argument applies to deinterlacing material that it natively interlaced).

But can hardware that upscales in realtime really compare with the best software upscalers?

original NNEDI upscale: http://bengal.missouri.edu/~kes25c/t0.png

latest NNEDI3 upscale: http://bengal.missouri.edu/~kes25c/nnedi2_images/clown_4x_nnedi3.png

Post
#489523
Topic
Counter/logo removal on MPEG2 file
Time

A fairly simple script in AviSynth could do this. How much do you know about AviSynth?

Firstly, you load the MPEG2 source using DGMPGDec. Then crop the black bars - this in itself removes half the counter.

To remove what's left, create a black & white BMP in MS Paint to use as a mask with the AVSInpaint plugin.

Then just add the black borders back in to make the resolution back up to 720 x 480.

Post
#489510
Topic
Help: looking for... jambedavdar's trilogy - and some of the best edits around...
Time

A fan edit, to me anyway, is a version of a film which has been re-edited using different decisions in the selection and combination of shots to make an alternative presentation of the story.

I wouldn't call Jambe Davdar's projects "fan edits", a more accurate description would be fan-made documentaries.

Other fan projects that get appreciation here are "preservations" - a recording from an obsolete format, "custom DVDs" -  fan-made discs with technical improvements over the official release, and "restorations" - combining various sources in an attempt to recreate a lost version of a film. You can find details of these types of project in this forum.

Post
#488614
Topic
Puggo Strikes Back! (Released)
Time

And I agree with the concerns about using DeSpot. The advantage it has over normal denoising methods is that it only touches the picture when it thinks its found a spot of dirt, so the natural grain is kept intact. However, its detection is not perfect - you would have to check very carefully that it isn't removing real detail. This is where motion compensation would help; but even so, in the clip above I noticed part of an X-wing's engine was missing in one frame.

Post
#488612
Topic
Puggo Strikes Back! (Released)
Time

There is a fair amount at 235 - 255 that can be recovered:

On the other hand, there is still some hard clipping at 255 (in the ion cannon blasts, the light to the right of Yoda, and some of the lights in the falcon's cockpit).

The problem with capturing lower is that you are already losing shadow detail (to the right of the Cloud City catwalk, for example). This is why I mentioned that HDR techniques to combine two different captures would be ideal.

Anyway, for the example clip above I used a simple levels(19,1,255,0,235,false) in AviSynth. Better results may be possible with one of the more advanced filters like Ylevels or SmoothAdjust.

You cannot do this in VirtualDub, because VDub filters work in RGB colourspace - and this "superwhite" information gets lost on the conversion to RGB.

Post
#488414
Topic
Puggo Strikes Back! (Released)
Time

Puggo - Jar Jar's Yoda said:

Yes, it's barrel distortion. I tried correcting it in the Puggo Grande with a VirtualDub filter designed for that purpose, but the results were horrible.  On some scenes it was ok, but on others it was completely unacceptable, such as on the crawl.

There isn't really a fix for it during capture.  The WorkPrinter wasn't initially designed to capture the entire frame of a scope print, and with the enlarged gate you see it.  Frankly, after being upscaled, I think it's pretty minor.

If you want something to play with, I think I still have a raw clip here:

http://rapidshare.com/files/454420238/Tdark.avi

I had a little play with the raw clip last night.

Firstly I looked at the luma levels. It's interesting that there is a substantial amount of "super-white" information in the clip - pixels with a luma value greater than 235, which would normally get clamped when converting to RGB for display. This detail can be recovered by lowering the white level.

I also lowered the black level to roughly where it should be.

My levels adjustment did give a nice improvement IMO, but there was still some shadow detail lost. If you can work out a method to apply HDR techniques to merge a light and dark capture together that would be much better.

Although I didn't come up with anything, I think that some colour adjustments are needed, particularly to reduce the blue levels. The catwalk that Luke and Vader fight on should be more of a steely grey than a blue-grey.

I also had a play with the DeSpot filter for AviSynth. After a bit of parameter tweaking, I was getting some pretty impressive dirt spot removal in the Hoth scenes; the natural film grain was untouched.

Unfortunately I then checked the transporter fly-by shot and found that the filter was eating half the stars from the panning starfield. Would be worth amending the parameters so that it only looks for dark spots, or even attempt a mo-comped script (see the "combined usage" notes at the above link) to reduce the number of false-positive spot detections.

Post
#487534
Topic
STAR WARS: EP V &quot;REVISITED EDITION&quot;<strong>ADYWAN</strong> - <strong>12GB 1080p MP4 VERSION AVAILABLE NOW</strong>
Time

Well done Ady, you've gone from a warning to a permanent ban in less than a day.

Locking this thread now as it has served its purpose. Anyone who wants to follow this edit can search out its new location for themselves.

Now maybe this site can focus on its original aim to get the original cuts restored, rather than make even more GL-style changes.

(Sorry Frink, I realise the timing is unfortunate, but Ady will not be back tomorrow.)

Post
#487522
Topic
STAR WARS: EP V &quot;REVISITED EDITION&quot;<strong>ADYWAN</strong> - <strong>12GB 1080p MP4 VERSION AVAILABLE NOW</strong>
Time

Thanks for your support 005, I was actually expecting a backlash from Ady followers.

Obviously I have no problem with you relaying any project-related updates in the interim, but if Ady makes any comment to you privately about this temp ban situation I would ask you to keep it to yourself - as far as I'm concerned his behaviour has relinquished him of any right to reply.

Post
#487515
Topic
STAR WARS: EP V &quot;REVISITED EDITION&quot;<strong>ADYWAN</strong> - <strong>12GB 1080p MP4 VERSION AVAILABLE NOW</strong>
Time

adywan said:

Moth3r said:

@ady - I told you to forget it. I am advising you to be very careful. Your post above ("idiotic moderation") was bordering on a personal attack.

I stress I am not joking or pulling a prank; I will not hesitate in giving you a temp ban if you keep this up.

keep what up? Can i  no longer speak my mind around here? Is it fair that i get a warning for posting something in my own thread while others can do what they want and not get this warning. And poor forum moderation shouldn't  be an excuse. You already stated that you were doing this to make an example of me so why the fuck i should be expected to let this rest when i was singled out for having a little fun in my own thread. you just wanted to single me out to teach others a lesson and nothing more. You're starting to act like a power mad forum nazi and if this is how this bloody site is going to be run then do whatever you want. You'll just prove yourself to be an jobsworthy knob.

FFS Ady, what's wrong with you? When did you become such a prick?

Maybe you will have cooled down after a couple of weeks when your temp ban is up.

Post
#487496
Topic
STAR WARS: EP V &quot;REVISITED EDITION&quot;<strong>ADYWAN</strong> - <strong>12GB 1080p MP4 VERSION AVAILABLE NOW</strong>
Time

I assure you I am totally serious.

And Ady - I'd advise you to drop the attitude. The only reason that others have got away with this sort of stuff is because we don't have a huge team of mods, and sometimes things get missed.

Just accept you were unlucky that I saw your post, you have your warning, now let's drop it and return to the thread topic.

Post
#487490
Topic
STAR WARS: EP V &quot;REVISITED EDITION&quot;<strong>ADYWAN</strong> - <strong>12GB 1080p MP4 VERSION AVAILABLE NOW</strong>
Time

Look Ady, your AT-AT image was funny, but how the f*ck is that video related to ESB:R?

You know it really annoys me when others post off-topic crap in your thread - I thought as the thread originator you would try and set an example.

Well I'm sorry, but I'm going to have to make an example of you. In accordance with the posting guidelines, I'm now giving you a formal warning for making an off-topic post. I can't allow you to get away with it just because you're a major contributor, the rules apply to you just as much as anyone else. I trust you'll understand.

Post
#487482
Topic
.: The XØ Project - Laserdisc on Steroids :. (SEE FIRST POST FOR UPDATES) (* unfinished project *)
Time

I believe that when they mastered the video for the GOUT discs, they applied a blur in the vertical direction possibly as an attempt to mask the jaggies/aliasing (which you'll notice is much worse in the non-blurred X0 files).

The GOUT video has less vertical detail than the laserdisc video. However, it has more horizontal detail because DVD has a higher bandwidth/more resolution than the laserdisc format.

It might be possible to reduce the jaggies but retain the detail using interpolation (nnedi, etc.) as an alternative to applying a simple vertical blur.

Post
#487241
Topic
dgindex&gt;gordian knot&gt;.avs file= wrong aspect ratio?
Time

No, because all lines starting with the "#" symbol are comments, and are ignored by AviSynth.

An aspect ratio of 3:2 is correct - this is DVD resolution in pixel terms (720 x 480). When you encode back to MPEG-2 for DVD, you will specify a display aspect ratio of 16:9.

If you want to preview your video in VirtualDub at the correct AR, just right-click on the image and select view->16:9.

One other point - you say "the deinterlace is working bringing it to 23.976 progressive". Can you explain what this means? You might be confusing deinterlacing with IVTC. If the framerate is already 23.976 because you used "force film" in DGIndex, then you do not need the FieldDeinterlace() line in the above script.

Post
#486881
Topic
Next avatar theme
Time

So, the "use someone else's old avatar" theme died pretty quickly. Post your suggestions for the next theme in this thread. Here's some suggestions so far from others:

 - your favourite musician (dark_jedi, Ziggy Stardust)
 - dogs, cats or other pets (Puggo, Mielr, mjpollard)
 - yourself as a kid (Ripplin) or your own kids (Hotrod)
 - superheroes
 - SW-related avatars (bor-ing)
 - famous people or celebs you have a resemblance to

Other possibilites:

 - one of your old avatars run through some generic crappy photoshop filter to give it an embossed, pencil drawing or crayon look
 - porn stars in action (face shots only - risky!)
 - mug shots
 - sprites from old videogames
 - cover scan of the most embarrassing album you ever bought

However, events like this make me feel like returning to the Stressed Eric avatar...