Mencoder and File Prediction to reduce file size
Hello All -
Is there a recommended method to do file prediction using mencoder? What's the easiest way to adjust the quality setting? Trying to increase the amount of time i can store on a DVD. Current settings are producing MPG files of 114MB for every 4 minutes (w/ 192 Audio Stream) for an average of 125 minutes per DVD - 720x480 video. Using PVR-250 video Output with the following AVS script. Thanks for your help! LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mpasource.dll") video = mpeg2source("f:\VIDEO.D2V") audio = MPASource("f:\VIDEO MPA T01 DELAY 0MS.MPA", normalize=false) #DelayAudio(audio,-0.123) AudioDub(video, audio) Trim(10716,16824) converttoYUY2() Smoothdeinterlace(doublerate=true, TFF=true, blend=false).selectodd() ConverttoYV12() BicubicResize(352,576) TemporalSoften(1,5,5,5,2) Deen() Unfilter(60,0) LanczosResize(720,480) Letterbox(16,16,16,16) DCTFilter(1,1,1,1,1,0.75,0.5,0) ConverttoYUY2() Limiter() MenCoder Batch File @echo off set mencpath=d:\video\mplayer set output=d:\video\out set intra="8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,3 7,12,14,18,27,29,34 \ ,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,4 0,48,27,29,34,37,38, \ 40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58 ,69,79" set inter="16,18,20,22,24,26,28,30,18,20,22,24,26,28,3 0,32,20,22,24,26,28, \ 30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34 ,36,38,26,28,30,32, \ 34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38 ,40,42,44" %mencpath%\mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg2video:ildct:ilme:intra_matrix=%intra%: inter_matrix=%inter%:mbd=2:vrc_minrate=300:vrc_max rate=8000:vbitrate=3000: \ vrc_buf_size=1835:keyint=18:vmax_b_frames=2:vqblur =0:aspect=4/3: \ vstrict=-1 -ofps 29.97 -nosound %1 -o %output%\%~n1.mpg %mencpath%\bbdmux %output%\%~n1.mpg 0xe0 \ %output%\%~n1.m2v del %output%\%~n1.mpg |
Re: Mencoder and File Prediction to reduce file size
Quote:
I still didn't explore file prediction with mencoder. But for every encoder I use, I employ the same method from incredible: the ping-pong method (make use of search to find the thread, I don't exactly remember where is). Is based in Slicer avisynth filter. I'll try it with mencoder. But through file prediction you won't reduce file size, you'll just get the predicted final file size. Quote:
If you want to decrease quality and file size you can use mbd=0, vlelim and vcelim (look for better parameters, the JVT are nice), set vrc_maxrate=5000 and vbitrate=2000,... If you want to increase quality instead, make use of quality settings as trell, cbp,... But is better you read the thread :roll: |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.