So Bad It's Good
It is currently Sun Apr 28, 2024 12:09 am




Post new topic Reply to topic  [ 1100 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 37  Next
 Ripping/encoding/releasing Q & A Prt. III 
Author Message
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
instead of that last line c=(a+b) write just

a ++ b

:cheer:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Jul 18, 2010 5:31 pm
Profile
Shit Shoveler
Shit Shoveler

Joined: Mon Jan 28, 2008 7:28 pm
Posts: 953
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Worked, thanks! :gif:


Sun Jul 18, 2010 5:46 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
max_cady wrote:
i have huge fucking big grain and strange colors! :ele:


Big grain and some noise on the chroma planes, but overall it's not so bad. It was probably filmed in 16mm. I would denoise just a little to calm the background flickering a bit.

Before:
Image

After:
Image

Code:
Import("D:\AviSynth 2.5\plugins\dfttestMC.avs")

DGDecode_mpeg2source("I:\11.d2v")

tfm().tdecimate()

crop( 26, 0, -26, 0)

MT("""
 o = last
 f = o.MinBlur(1,2).MinBlur(2,2).RemoveGrain(11,-1)
 denoised=f.FluxSmoothT(7).mt_AddDiff(mt_MakeDiff(o,f,U=2,V=2),U=4,V=4).DegrainMedian(mode=3,limitUV=14)
 dfttestMC(mc=1,Y=true,U=true,V=true,sigma=8,blksize=8,pp=denoised,dfttest_params=", threads=1")
""", overlap=16)

#------------------------------------------
# Taken from MCBob.avs:
function MinBlur(clip clp, int r, int "uv")
{
uv   = default(uv,3)
uv2  = (uv==2) ? 1 : uv
rg4  = (uv==3) ? 4 : -1
rg11 = (uv==3) ? 11 : -1
rg20 = (uv==3) ? 20 : -1
medf = (uv==3) ? 1 : -200

RG11D = (r==1) ? mt_makediff(clp,clp.removegrain(11,rg11),U=uv2,V=uv2)
 \    : (r==2) ? mt_makediff(clp,clp.removegrain(11,rg11).removegrain(20,rg20),U=uv2,V=uv2)
 \    :          mt_makediff(clp,clp.removegrain(11,rg11).removegrain(20,rg20).removegrain(20,rg20),U=uv2,V=uv2)
RG4D  = (r==1) ? mt_makediff(clp,clp.removegrain(4,rg4),U=uv2,V=uv2)
 \    : (r==2) ? mt_makediff(clp,clp.medianblur(2,2*medf,2*medf),U=uv2,V=uv2)
 \    :          mt_makediff(clp,clp.medianblur(3,3*medf,3*medf),U=uv2,V=uv2)
DD    = mt_lutxy(RG11D,RG4D,"x 128 - y 128 - * 0 < 128 x 128 - abs y 128 - abs < x y ? ?",U=uv2,V=uv2)
clp.mt_makediff(DD,U=uv,V=uv)
return(last)
}


Adjust sigma to increase or decrease the denoising strength.

If you have problems with the multithreading, then just delete these lines:

MT("""
""", overlap=16)

:cheer:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Mon Jul 19, 2010 3:04 am
Profile
SLightly Deformed
SLightly Deformed
User avatar

Joined: Wed Jan 28, 2009 4:42 pm
Posts: 2702
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Thanks! :huge: :cheer:

_________________
Image


Mon Jul 19, 2010 12:17 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
elguaxo wrote:
Updated AviSynth Plugins folder. Attention this is only for AviSynth 2.5.7!

Highlights:
- santiag + fixes. Strong Antialiaser.
- ffms2-mt r318.
- nnedi3 v0.9.1.

there is a folder called system32. Copy the 4 DLLs from that folder to \WINDOWS\system32. I think the equivalent folder on XP 64 is \WINDOWS\SysWOW64\

Download: Multiupload | Mediafire | TinyUpload


:cheer:

Previous version here: http://sbigare.us/viewtopic.php?p=161117#p161117


Thanks a lot.

Maybe something for the folder: http://digitalfoundry.org/andrew/avisource_cxf2.dll

It is a modified version of AviSource that can open CXF2 (fourcc) video files. That strange codec is used by my capture card.
You need to import the plugin and it automagically replaces AviSource with a version that can handle the codec. :ere:

original thread: http://forum.doom9.org/showthread.php?t=128189

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Mon Jul 19, 2010 9:41 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I need help with this badly encoded video:
http://s000.tinyupload.com/index.php?fi ... 1651798205

I figured out that it has blended frames and wrong frame rate (29.976 instead of 23.976).

So I tried this:

Code:
d = last.bob(-0.2,0.6).reduceflicker(strength=1)
MCBob2()
SRestore(dclip=d,mode=-2,cache=5)


The result is strange. I get the video with only 5960 frames instead of the original 114000 and none of the blends are removed?!

It looks like the pattern is: [frame OK] [frame OK] [frame OK] [frame blended] [frame blended]

Probably the ripper used a deinterlacer with blendning on, instead of IVTC. Any ideas?

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Wed Jul 21, 2010 4:11 pm
Profile
Penis Spaceship
Penis Spaceship
User avatar

Joined: Thu Mar 26, 2009 12:31 am
Posts: 1614
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I'd imagine with it already being encoded, it'll be unfixable. If I'm right(?), you need the original fields for frame rate restoration/blend decimation filters like srestore.


Wed Jul 21, 2010 4:44 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I hope that it can be fixed.

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Fri Jul 23, 2010 9:42 am
Profile
misses the porn section
misses the porn section
User avatar

Joined: Mon Feb 09, 2009 6:36 pm
Posts: 21
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I think this DVD source is just fux0red in some way or the other. After applying TIVTC am left with some kind of blend/blur after ever few progressive frames:
Image

Sample here.

Is there any suitable filter to get rid of the blurring effect or should I just drop this shit source? :beh:


Sat Jul 24, 2010 3:12 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I'll take a look later, but the screenshot seems to be just motion blur and not a blend.

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sat Jul 24, 2010 3:26 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
@max

elguaxo wrote:
It was probably filmed in 16mm.


http://www.imdb.com/title/tt0072285/technical
Quote:
Film negative format (mm/video inches)
Super 16


That's always hard to encode!

;) :ere:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sat Jul 24, 2010 3:31 pm
Profile
Penis Spaceship
Penis Spaceship
User avatar

Joined: Thu Mar 26, 2009 12:31 am
Posts: 1614
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
elguaxo wrote:
the screenshot seems to be just motion blur and not a blend.


Yeah, motion blur it is - There aren't any blends in the sample.

There's a field order change in the sample though, so you'll need to fix those (if there are any more) when you're preparing the VOB's, medusa. Other than that, it looks fine after tfm().tdecimate()


Sat Jul 24, 2010 3:46 pm
Profile
misses the porn section
misses the porn section
User avatar

Joined: Mon Feb 09, 2009 6:36 pm
Posts: 21
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
OK DGindex fixed the field order transition.
Concerning the motion blur, do u think it's negligible or is it somehow compromising the quality?


Sat Jul 24, 2010 7:58 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Motion blur is motion blur, it was filmed that way. Poor lighting and slow shutter speed and there you have it. I doubt there is much you can do about it in post production.

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sat Jul 24, 2010 8:57 pm
Profile
misses the porn section
misses the porn section
User avatar

Joined: Mon Feb 09, 2009 6:36 pm
Posts: 21
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Gotcha. I guess I'll just TITVC it. Thanks for you input. :cheer:


Sat Jul 24, 2010 11:39 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
elguaxo could you please take a look at this (viewtopic.php?p=161991#p161991) and maybe confirm what junkboy told me?

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Sun Jul 25, 2010 5:51 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
This seems to do the trick:

* remove blended frames (double-blend-removal) from 29.976 material
* IVTC

Code:
SRestore(omode="pp3", speed=-30, mode=-1)
TDecimate()


:ele:

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Mon Jul 26, 2010 12:30 pm
Profile
Penis Spaceship
Penis Spaceship
User avatar

Joined: Thu Mar 26, 2009 12:31 am
Posts: 1614
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Ahh, that's cool. We've both learned something there then :good:


Mon Jul 26, 2010 1:08 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I didn't have the time to download your sample yet, but it seems you cracked it already!

:cheer:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Mon Jul 26, 2010 1:28 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I switched to XP Pro x64 ^^ AviSynth X86_64 lacks many plugins and stability, but AviSynth 2.5.8 MT (x86)'s multithreading is more stable than 2.5.7. So that's what I'll use from now on.

Uninstall everything, check that no avisynth.dll is left and here is a 2.5.8 MT (x86) installer:
http://forum.doom9.org/showthread.php?p ... ost1412274


Updated AviSynth Plugins folder. Attention this is only for AviSynth 2.5.8!

Highlights:
- eedi3 v0.9.1 and nnedi2 v1.6.

there is a folder called system32. Copy the 3 DLLs from that folder to \WINDOWS\system32. The equivalent folder on XP 64 is \WINDOWS\SysWOW64\

Download: Multiupload | Mediafire | TinyUpload


:cheer:

Previous version here: viewtopic.php?p=161636#p161636

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Tue Jul 27, 2010 2:19 am
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Should that work with a 32bit Win XP too? A better MT would be awesome.

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Tue Jul 27, 2010 10:47 am
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
elchupacabra wrote:
Should that work with a 32bit Win XP too?


Absolutely. ;)

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Tue Jul 27, 2010 12:18 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
That is good news. Thanks for posting everything. :ere:

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Tue Jul 27, 2010 4:54 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
So that you know what to expect. When I test a multithreaded script I preview 50 frames, then jump somewhere else and preview other 50 frames, if it works then it's usually fine. But I have some very few scripts that crash after 400 or more frames. A few of those problematic scripts that failed on AviSynth 2.5.7 work fine with 2.5.8 MT.

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Tue Jul 27, 2010 4:59 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
Yes, that is pretty much what I used to do. Previewing however often crashes, whereas the encode runs fine.

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Tue Jul 27, 2010 5:06 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
viewtopic.php?p=144404#p144404
sense wrote:
Using the cmd line, is there a way to get x264 to output a log? In case you reboot and lose the info from the command line interface.


Nice little app to save the log without disabling x264's progress:
http://forum.doom9.org/showthread.php?p ... ost1417323

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Thu Jul 29, 2010 9:32 pm
Profile
Tittietantalized
Tittietantalized
User avatar

Joined: Wed May 21, 2008 7:56 pm
Posts: 627
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
One more blended VHSrip that I encountered and am trying to "fix". Here's what I tried so far:
Code:
crop(46,0,-50,-16)
#  ADJUST CONTRAST/BRIGHTNESS
converttoyuy2()
ColorYUV(off_y=-4, gain_y=+116, opt="coring").Tweak(bright=0, cont=1, sat=1.2, coring=false)
#  REMOVING BLENDED FRAMES
ConvertToyv12()
srestore(omode="pp1",speed=-25, mode=-1, thresh=12).tdecimate()
#  DEBLOCKING
deblock_qed(quant1=30,quant2=60)
dfttest(sigma=0.7,tbsize=3)
# SHARPEN
LSFMod(dest_x=512,dest_y=384)
GrainFactory3(g1str=4, g2str=5, g3str=16, g1shrp=10, g2shrp=20, g3shrp=30)

Unfortunately the double-blend removal results in a heavily over-sharpened frame. Check the frame on the right which is the frame after the one on the left. The next frame is normal - like the left one. It's the Srestore() function that intruduced the frame and I would like to know if I can do something about that.

Image

Here's a small sample: http://rapidshare.com/files/411617176/sample.avi

Thanks for any kind of help!

_________________
elguaxo wrote:
x264 encoding guide: viewtopic.php?f=43&t=16224


Sat Aug 07, 2010 7:17 pm
Profile
Penis Spaceship
Penis Spaceship
User avatar

Joined: Thu Mar 26, 2009 12:31 am
Posts: 1614
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I've not played around with it much, but omode="pp2" lessens the dark halo type effect slightly, so maybe try adding your own postprocessing as well?


Sat Aug 07, 2010 11:52 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
I'll take a look, but double blends are a bitch. I've never been satisfied when trying to restore these things. B0rked NTSC <-> PAL conversion is another story and restoring "regular" blends in these cases is usually good to perfect.

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Aug 08, 2010 1:14 am
Profile
Living in Nilbog
User avatar

Joined: Fri Feb 29, 2008 11:49 pm
Posts: 1809
Reply with quote
Post Re: Ripping/encoding/releasing Q & A Prt. III
*Yawn*

/me is back from hibernation in ripping land. I've got this question: is there a way you can tilt the image? I have zoned cropping and sometimes it looks like on the picture below. Now if I could tilt the picture to the right for a few degrees, I would have to chop off less image in order to create a nice looking result (without overdoing it of course ;)).

If there is none, please tell me, then I'll chop all black stuff off.

Image

_________________
Image


Tue Aug 10, 2010 2:54 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1100 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 37  Next


Who is online

Users browsing this forum: No registered users and 135 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: