From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N1nMG-0006ab-CO for garchives@archives.gentoo.org; Sat, 24 Oct 2009 20:37:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 541AAE07A6; Sat, 24 Oct 2009 20:37:03 +0000 (UTC) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 281C4E07A6 for ; Sat, 24 Oct 2009 20:37:03 +0000 (UTC) Received: by yxe4 with SMTP id 4so8195316yxe.32 for ; Sat, 24 Oct 2009 13:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=c0CSbhV6c2GoGR7QWdTeDa6RxVcMIql0jTqyhpZ5aGI=; b=W3UEPjFlO62ZyiINSiQAw2UXTb7f4cjO/SlgNiCmDqQGTitkr+MV9QcMg4ydaSIN7s fZDA2+IahMlzvPT6wSlTGDrkbj7SPto1C4XqzGSbm2YUXZUeFO1hNJWA5nSZljZ133ev Df6vTWdIhIoVUgljOssUTIuuV6fB+kVOa8Bxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=iXMjdn3pW3K3gdB7V/rXNPLnKell/0hE3cyCAy3gdaegXG4Qg8FnoLkQ06xW7ffMbE 3QIjRe67dpF50xqir6Mvp1Xo9ktBwL0ncVaesu3IikapzTRJ+tM38tERae+hbmV2mUii H18ZiED1UHJcFaBjr3zag4iDlHCgFkbTHI+Yo= Received: by 10.100.18.15 with SMTP id 15mr7889694anr.48.1256416622905; Sat, 24 Oct 2009 13:37:02 -0700 (PDT) Received: from ?192.168.1.1? (adsl-0-93-206.jan.bellsouth.net [65.0.93.206]) by mx.google.com with ESMTPS id 8sm656020yxb.43.2009.10.24.13.37.00 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Oct 2009 13:37:02 -0700 (PDT) Message-ID: <4AE3656B.30200@gmail.com> Date: Sat, 24 Oct 2009 15:36:59 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20091007 SeaMonkey/1.1.18 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Kmplayer, video and audio not syncing. References: <4AE36083.5090005@gmail.com> <200910242221.12003.alan.mckinnon@gmail.com> In-Reply-To: <200910242221.12003.alan.mckinnon@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3789a5a8-a072-4191-afcc-cbd1616553ca X-Archives-Hash: 0d3b47e6d08a1f6c8cfa63e758e3a018 Alan McKinnon wrote: > On Saturday 24 October 2009 22:16:03 Dale wrote: > >> Hi, >> >> I'm still using KDE 3.5 for this but this is annoying at times. I'm >> looking for a way to adjust the audio/video so that they sync up. Mine >> seems to be about 1.5 to 2 seconds out of adjustment here. I googled >> and found that the + and - keys should adjust this but I can't tell that >> it is working here. Is there some other way to adjust this setting? >> I'm using kmplayer with mplayer for the backend. >> > > Are you sure the input file isn't broken? Does it happen with many files? What > type of files? > > 2 seconds is a huge lag, much too big to explain as a mere bug, so I'd be > looking for other data to correlate first. > > > Well, it does vary by a bit. Some are not quite so far off. I did find this little tidbit of info in 'console' under view. This is interesting: MPlayer SVN-r29463-4.4.1 (C) 2000-2009 MPlayer Team Terminal type `unknown' is not defined. libavformat file format detected. ID_VIDEO_ID=0 [lavf] Video stream found, -vid 0 ID_AUDIO_ID=1 [lavf] Audio stream found, -aid 1 VIDEO: [H264] 480x360 0bpp 29.917 fps 550.2 kbps (67.2 kbyte/s) ID_FILENAME=/data/Movies/Movies/Clue Club 03 The Real Gone Gondola Pt 1.flv ID_DEMUXER=lavfpref ID_VIDEO_FORMAT=H264 ID_VIDEO_BITRATE=550208 ID_VIDEO_FPS=29.917 ID_AUDIO_FORMAT=255 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_SEEKABLE=1 ID_CHAPTERS=0 [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. Opening video filter: [pp=de] Opening video filter: [scale] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== FAAD: compressed input bitrate missing, assuming 128kbit/s! AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=faad Starting playback... VDec: vo config request - 480 x 360 (preferred colorspace: Planar YV12) [PP] Using external postprocessing filter, max q = 6. VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. [swscaler @ 0x8939540]using unscaled yuv420p -> rgb32 special converter VO: [gl] 480x360 => 480x360 BGRA X11 error: BadMatch (invalid parameter attributes) ************************************************ **** Your system is too SLOW to play this! **** ************************************************ Possible reasons, problems, workarounds: - Most common: broken/buggy _audio_ driver - Try -ao sdl or use the OSS emulation of ALSA. - Experiment with different values for -autosync, 30 is a good start. - Slow video output - Try a different -vo driver (-vo help for a list) or try -framedrop! - Slow CPU - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all. - Broken file - Try various combinations of -nobps -ni -forceidx -mc 0. - Slow media (NFS/SMB mounts, DVD, VCD etc) - Try -cache 8192. - Are you using -cache to play a non-interleaved AVI file? - Try -nocache. Read DOCS/HTML/en/video.html for tuning/speedup tips. If none of this helps you, read DOCS/HTML/en/bugreports.html. So, my AMD 2500+ with 2GBs of ram is to slow? I know this is a older rig but surely it ain't that slow. o_O I also realized something else that may contribute to this a little. I started a emerge last night and thought it would be through by now. It's still running. It's compiling OOo and some KDE stuff. Could that slow things down a bit? Everything else seems to be responding fine. I have portage set to a lower nice level than my desktop. I even have ionice set. Ideas? Dale :-) :-)