DirectFB - Home of the pragmatist Roadmap

[directfb-users] Making movie playback less jerky?
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Making movie playback less jerky?

Right now I play files using mplayer which works fine, however when I play movies which are 23.976 FPS, and the display is using PAL, ie. 25 FPS. I get small jerkyness when the camera is panning and so on.

Right now I "fix" this using the "-speed 25/23.976" mplayer option in order to speed up the movie to 25 FPS,
but since there's alot of different material out there, it would be nice not to have to check the FPS beforce you play the file beforehand.

Is there any way to get smooth playback without speeding the movie up to match the refreshrate of the TV?
Isn't tripple buffering suppose to fix this?
Im using a G400 with the second head connected via SVideo.
Thanks in advance.

/ Patric

Some output from playing files;
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
vo_dfbmga: Selected TV standard based upon FPS: PAL

---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH

(*) DirectFB/Core: Single Application Core. (2005-01-25 20:43)
(*) Direct/Memcpy: Using SSE optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1825)...
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 1826)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
(*) DirectFB/Input: LIRC Device 0.2 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1827)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
Checking audio filter chain for 50050Hz/2ch/16bit -> 50050Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 50050 hz, little endian signed int
AF_pre: 50050Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 50050 Hz/2 channels/4 bpf/68332 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 50050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 50050Hz/2ch/16bit -> 50050Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [dfbmga] 640x272 => 640x272 Planar YV12
vo_dfbmga: Video surface 640x272 YV12
vo_dfbmga: Field parity set to: Don't care
vo_dfbmga: CRTC2 using triple buffering
vo_dfbmga: CRTC2 surface 720x576 YV12
vo_dfbmga: Sub-picture layer using triple buffering
vo_dfbmga: Sub-picture surface 720x576 ALUT44 (Sub-picture layer)


cat /etc/directfbrc


in mplayer.conf

Home | Main Index | Thread Index / Development / Old Archives