Log in

View Full Version : ts 1280x720p -> x264 working options


reb0rn
18th January 2006, 00:46
I have war.of.the.worlds.HDTV.720p.DD51.ts which is 1280x720 progresive with 59.94 fps in mpeg2 format size: 11GB..
I used gordian knot and did x264 at 1280x720 (59.97 fps) and maid 4GB mvk file all is fine but mine CPU sempron 2800 that can OC at 2.5Ghz can not play it i need some +~40% more cpu power for it..

I know the problem is becouse hight resolution and ~60fps is there any option to reencode it again but make it 29.97 fps so mine cpu can hold it?

Also newbie with avisynth so duno if there is option to make script to do that and than maybe use megui instead?

Sagittaire
18th January 2006, 01:11
1) 1280*720*60 ts file use duplicate frame. You must convert 60 fps in 24 fps with avs script.

2) Problem here is not quality but speed. If you use the best possible setting then the speed will be very very slow.

try these setting -> very good quality and very good speed

x264.exe --bframe 2 --ref 2 --filter 0:0 --bitrate 4000 --pass 1 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "all" --8x8dct --weightb --me "hex" --subme 1 --progress --no-psnr -o NUL Speed.avs
x264.exe --bframe 2 --ref 2 --filter 0:0 --bitrate 4000 --pass 2 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "all" --8x8dct --weightb --me "hex" --subme 5 --progress -o x264HP_KingKong_400p_Speed6.mp4 Speed.avs

you use 4000 Kbps for your source I think. It's high bitrate for 1280*720 source : useless to use RDO or other highest quality tweak in this case.

reb0rn
18th January 2006, 01:34
can you help with avs script how to do ~60 to 24fps ?

DarkNite
18th January 2006, 01:50
FDecimate(rate=23.976,threshold=2.0) would be a solution. You may want to start with FDecimate(metrics=true), seek through a bit of the film and find a good threshold value for your source first.

dragongodz
18th January 2006, 02:36
Please read and follow rule 12: do not ask what's best. Thank you.

WOOT! beat neuron2 to one of these. ;)

Caroliano
18th January 2006, 03:55
I used gordian knot and did x264 at 1280x720 (59.97 fps) and maid 4GB mvk file all is fine but mine CPU sempron 2800 that can OC at 2.5Ghz can not play it i need some +~40% more cpu power for it..
Try CoreAVC. It is 65% faster than FFDShow for me.Though I'm not sure if it decode h.264 in VFW mode...

reb0rn
18th January 2006, 04:13
yes i am using CoreAVC but at 2.5Ghz best i can do is 30-35fps at 1280x720..

FDecimate(rate=23.976,threshold=2.0) did not work say unknown command ... i must read more about avisynth scripts total newbie with it ;)

asdfsauce
18th January 2006, 09:02
If the source was film originally (it's a movie, so it should be), you can try this.

After creating your script with GK, open it and uncomment the decomb.dll line at the top and then paste in (after the source line):

SelectEven()
#selects only even frames for encoding (reduces FPS to ~30)

Telecide(order=0)
Decimate(cycle=5)
#IVTCs FPS down to 23.976

Then, just continue to use GK as you normally would. Or, you can optionally load the script into MeGUI, which most people around here would say is much better for x264 than GK.

You can download the latest x264/MeGUI-x264 build with profiles here -> http://files.x264.nl/Sharktooth/force.php?file=./x264-Std_r402.exe

DarkNite
18th January 2006, 09:09
FDecimate is a plugin... it needs to be in your plugins folder, or manually loaded into your script to be called.

Grab it, and anything else neuron2 has made, that might be useful to you at neuron2.net.

reb0rn
18th January 2006, 18:41
I did some tests with Fdecimates and looks like its duplicated pattern like : 1,1,1,2,2,3,3,3,4,4,5,5,5 ....
so i did short test with FDecimate(rate=23.976,threshold=3.5) looked fine and now i am doing first pass with virtual dub mod..

Than i gona mux ac3 demuxed audio with in mvk container and hope audio sync be OK..

lamer_de
20th January 2006, 19:50
Please read and follow rule 12: do not ask what's best. Thank you.He also broke rule 6, cause the filename tells he downloaded the files from newsgroups ;)

CU,
lamer_de

reb0rn
20th January 2006, 20:25
I made mine first x264 reencode setting worked gr8.. :)

@lamer_de no its not me named filename myself :P

puffpio
20th January 2006, 22:30
have 720p files with the same frame orde (aaabbcccdd etc.) I used TDecimate(cycleR=3) to delete 3 out of every 5 frames (5 frames per cycle is default)

and it very nicely decimated from 59.97fps to 23.97fps @ 1280x720
then I just encoded with w/ x264 at full resolution :D:D:D