Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
24th March 2007, 20:47 | #1 | Link |
Registered User
Join Date: Nov 2006
Posts: 146
|
A very hard work (a lot of filter)
I want to encode 5 hours of mpeg recording using avisynth filter.
I have italy-france ( The final ) football match recorded with my dvdrecording ( sp recording), The mpeg file are interlaced and with a not good quality, I want to encode with x264 insane quality and I'm not afraid for time to spending!!! I ask for some script improvement, This is what I use at this moment ( the script is using in virtual dub, The returned avi file without compression, next time pass trough megui) Code:
DGDecode_mpeg2source("K:\Satellite\prove\3-parte.d2v",info=3) ColorMatrix(hints=true) mt("mcbob") YToUV(FFT3DFilter(sigma=3, plane=1, bw=32, bh=32).UToY,\ FFT3DFilter(sigma=3, plane=2, bw=32, bh=32).VToY,\ FFT3DFilter(sigma=2, plane=0, bw=32, bh=32)) YToUV(FFT3DFilter(sigma=3, plane=1, bw=4, bh=4).UToY,\ FFT3DFilter(sigma=3, plane=2, bw=4, bh=4).VToY,\ FFT3DFilter(sigma=2, plane=0, bw=4, bh=4)) mt("Dehalo_alpha") LimitedSharpenfaster(ss_x=2.0,ss_y=2.0,smode=3,strength=150,overshoot=7) Lanczosresize(640,512) ORIGINAL MPEG FILE x264 ENCODED FILE Last edited by ficofico; 24th March 2007 at 21:20. |
24th March 2007, 21:25 | #4 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
I have a question for you first. Does mt("mcbob") actually do anything? I was told that it's not possible to use mt with mcbob Anyways, you can try adding a stronger denoiser such as mvdegrain2 with a blksize of 4, (Note: this will slow encoding speed to a crawl). Do you really need dehalo alpha when you got fft3d? |
|
24th March 2007, 21:40 | #5 | Link | |
Registered User
Join Date: Nov 2006
Posts: 146
|
Sample's are in my first script, and I've linked also a part of the encoded video with the code.
mcbob with mt is fastest for my procio, cpu usage go to 90% Quote:
|
|
24th March 2007, 21:48 | #7 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
|
|
24th March 2007, 21:59 | #9 | Link |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
double fps for the x264 encode. add selecteven() after mcbob to retain the original fps.
e.g. mt("mcbob").selecteven() The 50fps clip is more fluid though. Looks like there's a lost of a lot of details as well. What went wrong there? |
24th March 2007, 22:09 | #10 | Link |
Registered User
Join Date: Nov 2006
Posts: 146
|
I've tried your suggestion time ago, but video non look good, images aren't fluently. I've tried also tdeint and other deinterlacer but result aren't for me good, good image but not fluently images. mvbob and mcbob for me are the best, 50 fps but very good result ( my english is horrible!!!!! )
|
24th March 2007, 22:19 | #11 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
|
|
24th March 2007, 22:28 | #12 | Link |
Registered User
Join Date: Nov 2006
Posts: 146
|
Source looks good because I use pure video decoder that is incredible, excellent images and fluent video. If I watch the file with media player classic or videolan, with deinterlacer, video became non fluently, and a football match with this "look" is horrible. To put into an mkv container with x264 video, I need to deinterlace, but I want that video became fluently.
|
24th March 2007, 23:45 | #13 | Link | ||
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,389
|
@ ficofico:
When using MCbob or MVbob, do not use any MT filters on these bobbers. In a nutshell - IF you do so, then internally something is going terribly wrong. It doesn't help that it runs faster, since the results will be of much lower quality, compared to not using MT. @ Terranigma: Quote:
Quote:
True interlaced video contains the double amount of field-based temporal information. Bobbers convert those fields to full frames. There are no "useless" frames. Sure you'll need a higher bitrate when compressing a bobbed stream, because the framecount was doubled, compaired to simple-rate progressive. However, if one can afford the higher bitrate, then keeping the full doubled framerate is definetly preferred. (Wrapping your statement into the equivalent of the spatial domain, it would mean that keeping HD resolution would be useless, and always shrinking to tiny SD resolution would be better, because the big resolution is useless. That's bullsh*t, isn't it?)
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
||
25th March 2007, 01:15 | #14 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
Speaking of fps, i did find that the 50fps clip was smoother. The 25fps clip seem as if it was jerky. Looks like I got a lot to learn about fps :/ |
|
25th March 2007, 01:35 | #15 | Link | |
Registered User
Join Date: May 2005
Posts: 236
|
Quote:
On animation though I much prefer dehalo_alpha, it's much more performant and the artefacs created are not as bad of a problem as on real life video imo. |
|
25th March 2007, 10:53 | #16 | Link |
Registered User
Join Date: Nov 2006
Posts: 146
|
Ok, thanks for your suggestion!!!
My new script will be : Code:
DGDecode_mpeg2source("K:\Satellite\prove\prove\calcio.d2v",info=3) ColorMatrix(hints=true) mvbob YToUV(FFT3DFilter(sigma=3, plane=1, bw=32, bh=32).UToY,\ FFT3DFilter(sigma=3, plane=2, bw=32, bh=32).VToY,\ FFT3DFilter(sigma=2, plane=0, bw=32, bh=32)) YToUV(FFT3DFilter(sigma=3, plane=1, bw=4, bh=4).UToY,\ FFT3DFilter(sigma=3, plane=2, bw=4, bh=4).VToY,\ FFT3DFilter(sigma=2, plane=0, bw=4, bh=4)) Dehalo_alpha() mt("LimitedSharpenfaster(ss_x=2.0,ss_y=2.0,smode=3,strength=150,overshoot=7)") Lanczosresize(640,512) Any other suggestion, related to my specific video? |
25th March 2007, 13:13 | #17 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
I wonder how this ugly ytouv fft3d business started spreading. You should really replace
Code:
YToUV(FFT3DFilter(sigma=3, plane=1, bw=32, bh=32).UToY,\ FFT3DFilter(sigma=3, plane=2, bw=32, bh=32).VToY,\ FFT3DFilter(sigma=2, plane=0, bw=32, bh=32)) YToUV(FFT3DFilter(sigma=3, plane=1, bw=4, bh=4).UToY,\ FFT3DFilter(sigma=3, plane=2, bw=4, bh=4).VToY,\ FFT3DFilter(sigma=2, plane=0, bw=4, bh=4)) Code:
FFT3DFilter(sigma=2, plane=0, bw=32, bh=32) FFT3DFilter(sigma=2, plane=0, bw=4, bh=4) FFT3DFilter(sigma=3, plane=3, bw=32, bh=32) FFT3DFilter(sigma=3, plane=3, bw=4, bh=4) Doubled-up fft3d with different block sizes is rarely necessary, and slows things down quite a bit. Even though fft3d is threaded, you can also just wrap the whole block in mt: Code:
mt(""" FFT3DFilter(sigma=2, plane=0, bw=32, bh=32) FFT3DFilter(sigma=2, plane=0, bw=4, bh=4) FFT3DFilter(sigma=3, plane=3, bw=32, bh=32) FFT3DFilter(sigma=3, plane=3, bw=4, bh=4) Dehalo_alpha() LimitedSharpenfaster(ss_x=2.0,ss_y=2.0,smode=3,strength=150,overshoot=7) """) |
25th March 2007, 13:17 | #18 | Link | |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
Quote:
|
|
25th March 2007, 17:54 | #19 | Link | |||
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,389
|
Quote:
Once more: - MVTools do not work correctly with MT. - MCBob & MVBob do use MVTools. The conclusion is obvious. Quote:
Plus, it has nothing to do with the comparison I tried to make. You're distracting. Quote:
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|||
25th March 2007, 19:48 | #20 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
Who says I can get 1920 playing smoothly? (Lately even standard DVD playing with subtitles has been causing nasty interactions on my system, and tracking them down has been a huge pain. I've avoided watching much lately thanks to that.) If you don't try to push the filters, and have the power and tv for it, it's definitely liquid-smooth though.
|
Thread Tools | Search this Thread |
Display Modes | |
|
|