Log in

View Full Version : How to encode 50fps football with MeGUI and x264?


hajj_3
14th June 2010, 13:24
Hi, i'm wondering how to encode Football at 50fps from my 1080i MPEG2 recordings, attached are samples from the 2 channels that i record from, could someone please give me a hand, normally i just use 25fps with megui, i use leak kernel de-int and lanczos4 sharp

i'm using the "Unrestricted (DXVA) - Balanced" preset in megui with ref frames, subme, subpixel refinement and trellis improved.

cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 \
/ mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 \
/ chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 \
/ bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / weightp=2 / keyint=250 \
/ keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4500 \
/ ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

here is my normal resulting .avs file after using MeGUI:

LoadPlugin("C:\Users\fff\Desktop\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("G:\~BBC_HD-01012008-02_27_05_1957747793\1.d2v", info=3)
LoadPlugin("C:\Users\fff\Desktop\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("C:\Users\fff\Desktop\megui\tools\avisynth_plugin\LeakKernelDeint.dll")
LeakKernelDeint(order=1,sharp=true)
crop( 4, 6, -2, -2)

Lanczos4Resize(1280,720) # Lanczos4 (Sharp)
#denoise

sample .mpg files:

http://www.sendspace.com/file/8a2zti
http://www.sendspace.com/file/ur4i3m

Guest
14th June 2010, 13:31
Your question is not clear. Are you saying there is some result of your existing process that you dislike? Are you asking for a faster way? Higher quality deinterlacing? ...

"Give me a hand" is about as vague as you can get.

hajj_3
14th June 2010, 13:40
i didn't realise i could get 50fps from my source files but a guy on another encoding forum said i can from my sample files, i'd like some help to get 50fps, i'm not sure how to do this.

Here is a sample of the .mkv file i created: http://www.sendspace.com/file/dzjmzt

Didée
14th June 2010, 13:54
To stay as close to the settings which you are used to, replace the "LeakKernelDeint" filter with "LeakKernelBob".

To get deeper into the matter, the terms to search for are "bobbing", "bob-deinterlacing", "double rate deinterlacing", ...

Guest
14th June 2010, 13:58
If you have DGNV tools, the Purevideo/Double Rate option will give very good results.

Didée
14th June 2010, 14:14
The pity about HW deinterlacing with NVidia is that it's a "black box". I started to look for some hard facts, but they're not easy to find. What I've found so far is that there are several deinterlacing algorithms potentially available. Which of them actually gets used depends on the type of source material, the actual card/GPU, and - depending on the card - also on the resolution.

(E.g.: it seems you need a 32-stream-processor card to get the spatio-temporal mode also on HD resolution. 16-stream-processor cards can use the spatio-temporal mode only for SD, but not for HD.)

It's a black box. Probably not a problem for the typical common user out there ... but not really satisfactory for the "I-(want-to)-know-what-Im-doing" video geek that dislikes black boxes.

Guest
14th June 2010, 16:06
It's a black box. Probably not a problem for the typical common user out there ... but not really satisfactory for the "I-(want-to)-know-what-Im-doing" video geek that dislikes black boxes. Even there we have different levels. For example, I consider myself an "I-(want-to)-know-what-I'm-doing" kind of guy, but if I need some decent fast deinterlacing and the GPU gives me that, but I don't have the details of the internals, that won't stop me from using it to achieve my goal.

For someone like you, who is more interested in comparing algorithms than in accomplishing something specific, matters are of course different.