Log in

View Full Version : mpc lags a little while watching a movie


malkion
26th March 2004, 03:16
Excuse me, I'm trying to watch a movie with the following script.

loadplugin("e:\dll\mpeg2dec3dg.dll")
loadplugin("e:\dll\ac3source.dll")
loadplugin("e:\dll\decomb511.dll")
loadplugin("e:\dll\vsfilter.dll")
setmemorymax(128)
mpeg2source("e:\replay\tomie.d2v",idct=5)
telecide(order=1,guide=1).decimate()
crop(4,6,-6,-2,align=true).lanczosresize(640,352)
textsub("e:\replay\subs.srt")
ac3source("e:\replay\tomie AC3 T01 3_2ch 384Kbps DELAY 9642ms.ac3")
delayaudio(9.642)

This causes the movie to not play smoothly. Using a P4 2.4ghz, ATI 8500dv. I load the ac3source because of the 9.642 second delay making the file not playable opening the audio and video separately using MPC. Might there be a fix?

[edit] Well, watched the movie. The playback 'stutter' was hardly noticeable. Maybe something to do with the occasional seek time on the HD?

Mug Funky
26th March 2004, 05:57
frankly i'm not surprised you're not getting realtime playback :scared:

you could drop the decimate from there... that's probably the weakest link at the moment (is decimate defaulted at cycle=5?) as it has to cache several frames to decide which ones to keep.

mf
26th March 2004, 10:01
Mug Funky is right. Ironically, ChangeFPS(23.976) would probably work smoother. FrameCache() has been rumored to help battle Decimate's irregular frame output, but for me it's never worked, no matter how many frames I cache or how many instances of FrameCache I used.

malkion
26th March 2004, 18:44
thanks for the tips you two. :sly:

using changefps still left some playback issues. it seems that's the problem for real time play back. since it's just for playback and not encoding, leaving out the ivtc cycle does the trick (even while doing various background tasks, like encoding).

and yes, the decimation cycle defaults to 5 with that line.