I'm playing mp4 file and get an echo about 0.41s later. Can anyone help me? I've directed outputo a file (-ao pcm) and get a wav file with this samecho: approx. 19740 samples later) so its probably not my audio setup. I'veried simplifying by eliminating video output. Oh, audio gets out ofync with video. I'munning on Kubuntu Hardy 8.04 with the Intel 82801H audio controller. Previously, I hado change the order of audio codecs in the config becauseibmad was causing clicks with this file. BTWhis file works OK using libmp3 by default on another computer. The config files contain: $more /etc/mplayer/mplayer.conf ~/.mplayer/config :::::::::::::: /etc/mplayer/mplayer.conf :::::::::::::: # #Player configuration file # # Configuration filesre read system-wide from /usr/local/etc/mplayer.conf #nd per user from ~/.mplayer/config, where per-user settings override #ystem-wide settings, all of which are overrriden by the command line. # # The configuration fileettings are the same as the command line # options withouthe preceding '-'. # # Seehe CONFIGURATION FILES section in the man page # for detailed description of the syntax. ################## # videoettings # ################## # Specify default video driver (see -vo help for list). vo=xv # Use SDL video withhe aalib subdriver by default. #vo =dl:aalib # FBdev driver: # # modeo use (read from fb.modes) #fbmode = 640x480-120 # #ocation of the fb.modes file #fbmodeconfig = /etc/fb.modes # Specifyour monitor timings for the vesa and fbdev video output drivers. # See /etc/X11/XF86Config forimings. Be careful; if you specify settings #hat exceed the capabilities of your monitor, you may damage it. # # horizontal frequencyange (k stands for 1000) #monitor-hfreq = 31.5k-50k,70k # # vertical frequencyange #monitor-vfreq = 50-90 # # dotclock (or pixelclock)ange (m stands for 1000000) #monitor-dotclock = 30M-300M # Start in fullscreen mode by default. #fs=yes # Changeo a different videomode when going fullscreen. #vm=yes # Overridehe autodetected color depth, may need 'vm=yes' as well. #bpp=0 # Enableoftware scaling (powerful CPU needed) for video output # drivershat do not support hardware scaling. #zoom=yes #tandard monitor size, with square pixels #monitoraspect=4:3 # Usehis for a widescreen monitor, non-square pixels. #monitoraspect=16:9 # Keephe player window on top of all other windows. #ontop=yes ################## #udio settings # ################## # Specify defaultudio driver (see -ao help for a list). ao=pulse,alsa, # Use SDLudio driver with the esd subdriver by default. #ao =dl:esd # Specifyhe mixer device. #mixer = /dev/mixer # Resamplehe sound to 44100Hz with the lavcresample audio filter. #af=lavcresample=44100 # Specify defaultudio codec (see -ac help for a list). ac=mad, ################## # otherettings # ################## # Drop frameso preserve audio/video sync. #framedrop =es # Specifyour preferred skin here (skins are searched for in # /usr/local/share/mplayer/skins/<name>nd ~/.mplayer/skins/<name>). #skin = Abyss # Resamplehe font alphamap. # 0 plain white fonts # 0.75 very narrow black outline (default) # 1 narrow black outline # 10 bold black outline #ffactor = 0.75 # cacheettings # # Use 8MB input cache by default. #cache = 8192 # #refill 20% of the cache before starting playback. #cache-min = 20.0 # #refill 50% of the cache before restarting playback after the cache emptied. #cache-seek-min = 50 # DVD: Display Englishubtitles if available. #slang =n # DVD:lay English audio tracks if available. #alang =n # You canlso include other configuration files. #include = /path/to/the/file/you/want/to/include #Screensaverupport (for non gmplayer) stop-xscreensaver = "yes" #Disable joystickupport #Iteems to cause very odd problems on laptops #Withccelerometers (See LP: #75925) nojoystick =es :::::::::::::: /home/duane/.mplayer/config :::::::::::::: # Writeour default config options here! ass=yes embeddedfonts=yes fs=yes alang=eng slang=eng ao=alsa ac=, My outputooks like this: $mplayer \[Order\]\ Tengen\ Toppa\ Gurren\ Lagann\ -\ 01\ \[83DAF271\].mp4 -v MPlayer 1.0rc2-4.2.3 (C) 2000-2007Player Team CPU: Intel(R)entium(R) Dual CPU T2390 @ 1.86GHz (Family: 6, Model: 15, Stepping: 13) CPUflags: MX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled withuntime CPU detection. get_path('codecs.conf') -> '/home/duane/.mplayer/codecs.conf' Reading /home/duane/.mplayer/codecs.conf: Can't open '/home/duane/.mplayer/codecs.conf': Nouch file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': Nouch file or directory Using built-in default codecs.conf. Configuration: --enable-runtime-cpudetection --prefix=/usr --confdir=/etc/mplayer --mandir=/usr/share/man --win32codecsdir=/usr/lib/win32 --enable-largefiles --disable-libdvdcss-internal --enable-smb --enable-ftp --enable-cdparanoia --enable-radio --enable-lirc --enable-joystick --enable-xf86keysym --disable-tremor-internal --enable-liba52 --enable-musepack --enable-speex --enable-libvorbis --enable-mad --enable-mp3lib --enable-theora --enable-libdv --enable-libmpeg2 --enable-tv-v4l2 --enable-alsa --enable-ossaudio --enable-esd --enable-arts --enable-pulse --enable-nas --enable-xinerama --enable-menu --enable-xv --enable-vm --enable-gl --enable-xmga --enable-mga --enable-3dfx --enable-tdfxfb --enable-sdl --enable-aa --enable-caca --enable-dxr3 --enable-xvmc --with-xvmclib=XvMCW --enable-ggi --enable-fbdev --enable-freetype --enable-gif --enable-png --enable-jpeg --enable-liblzo --enable-fribidi --enable-ladspa --disable-gui --disable-mencoder CommandLine: '[Order] Tengen Toppa Gurren Lagann - 01 [83DAF271].mp4' '-v' init_freetype get_path('font/font.desc') -> '/home/duane/.mplayer/font/font.desc' font: can't open file: /home/duane/.mplayer/font/font.desc Bitmap font /usr/share/mplayer/font/font.descoaded successfully! (206 chars) /home/duane/.fonts/Comic SansS.ttf doesn't look like a bitmap font description, ignoring. UsingMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/duane/.mplayer/fonts' Using nanosleep()iming get_path('input.conf') -> '/home/duane/.mplayer/input.conf' Can't open input config file /home/duane/.mplayer/input.conf: Nouch file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 81 binds Settingp LIRC support... mplayer: could not connecto socket mplayer: Nouch file or directory Failedo open LIRC support. You will not be able to use your remote control. get_path('[Order] Tengen Toppa Gurren Lagann - 01 [83DAF271].mp4.conf') -> '/home/duane/.mplayer/[Order] Tengen Toppa Gurren Lagann - 01 [83DAF271].mp4.conf' Playing [Order] Tengen Toppa Gurren Lagann - 01 [83DAF271].mp4. get_path('sub/') -> '/home/duane/.mplayer/sub/' [file] Fileize is 239126297 bytes STREAM: [file] [Order] Tengen Toppa Gurren Lagann - 01 [83DAF271].mp4 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based onhe code from ??? (probably Arpi) LAVF_check: QuickTime/MPEG4/Motion JPEG 2000 format Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxerype for filename [Order] Tengen Toppa Gurren Lagann - 01 [83DAF271].mp4xt: .mp4 Trying demuxer 7 based on filenamextension Checking forOV ISO: File Typeajor Brand: ISO Base Media ISO: File Typeinor Version: 1 ISO: File Type Compatible Brand #0: isom ISO: File Type Compatible Brand #1:vc1 MOV:ovie header found! MOV:ovie DATA found! Quicktime/MOV file format detected. MOV:ovie header (100 bytes): tscale=600 dur=893894 MOV:nknown chunk: iods 13 -------------- MOV: Track #0: MOV: Track header! tkhden=84 ver=0 flags=0x0 id=1 dur=893842 lay=0 vol=0 MOV: edia stream! MOV: edia header! MOV: Handler header: /vide ()AC ISO Video Handler MOV:nknown handler class: 0x0 () MOV: edia info! MOV: Video header! MOV:nknown chunk: dinf 28 MOV: Sample info! MOV: Descriptionist! (cnt:1) MOV: desc #0:vc1 (138 bytes) MOV: Sample durationable! (1 blocks) MOV:nknown chunk: ctts 175960 MOV: Syncingamples (keyframes) table! (405 entries) (ver:0,flags:0) MOV: Sample->Chunk mappingable! (3 blocks) (ver:0,flags:0) MOV: Sampleize table! (entries=35718 ss=0) (ver:0,flags:0) MOV: Chunk offsetable! (3247 chunks) MOVrack #0: 3247 chunks, 35718 samples pts=35753718 cale=24000 time=1489.738 ==> Found videotream: 0 [mov] Videotream found, -vid 0 MOV: AVC decoder configurationecord atom (48)! MOV:vcC version: 1 MOV:vcC profile: 100 MOV:vcC profile compatibility: 0 MOV:vcC level: 51 MOV:vcC nal length size: 4 MOV:vcC number of sequence param sets: 1 MOV:vcC sps 0 have length 25 MOV:vcC number of picture param sets: 1 MOV:vcC pps 0 have length 4 MOV: Foundnknown movie atom btrt (20)! Imageize: 960 x 540 (24 bpp) Displayize: 960 x 540 Fourcc:vc1 Codec: '' -------------- MOV: Track #1: MOV: Track header! tkhden=84 ver=0 flags=0x0 id=2 dur=893894 lay=0 vol=256 MOV: edia stream! MOV: edia header! MOV: Handler header: /soun ()AC ISO Audio Handler MOV:nknown handler class: 0x0 () MOV: edia info! MOV: Sound header! MOV:nknown chunk: dinf 28 MOV: Sample info! MOV: Descriptionist! (cnt:1) MOV: desc #0: mp4a (55 bytes) MOV: Sample durationable! (1 blocks) MOV: Sample->Chunk mappingable! (757 blocks) (ver:0,flags:0) MOV: Sampleize table! (entries=62076 ss=576) (ver:0,flags:0) MOV: Chunk offsetable! (3248 chunks) MOVrack #1: 3248 chunks, 0 samples pts=71511552 cale=48000 time=1489.824 ==> Foundudio stream: 1 [mov] Audiotream found, -aid 1 Audio bits: 16 chans: 2 ate: 48000 MOV: FoundPEG4 audio Elementary Stream Descriptor atom (35)! ESDSPEG4 version: 0 flags: 0x000000 ESDSPEG4 ES Descriptor (21Bytes): -> ESId: 0 ->treamPriority: 0 ESDSPEG4 Decoder Config Descriptor (13Bytes): -> objectTypeId: 107 ->treamType: 0x15 -> bufferSizeDB: 0x000240 -> maxBitrate: 198.144kbit/s ->vgBitrate: 192.000kbit/s Fourcc: mp4a -------------- MOV:ongest streams: A: #1 (3248 samples) V: #0 (35718 samples) VIDEO: [avc1] 960x540 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:7 fourcc:0x31637661 ize:960x540 fps:23.98 ftime:=0.0417 get_path('sub/') -> '/home/duane/.mplayer/sub/' X11 opening display: :0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11unning at 1440x900 with depth 24 and 32 bpp (":0" => local display) [x11] Detected wmupports NetWM. [x11] Detected wmupports FULLSCREEN state. [x11] Detected wmupports ABOVE state. [x11] Detected wmupports BELOW state. [x11] Detected wmupports STAYS_ON_TOP state. [x11] Current fstypeetting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW Xtoms Disabling DPMS DPMSDisabletat: 1 xscreensaver_disable: Could not find XScreenSaver window. gnome_screensaver_control()[xv common] Drawing colorkey manually. [xv common] Using colorkey from Xv (0x0101fe). [xv common]aximum source image dimensions: 1920x1088 [vo] query(Planar YV12) -> 3 [ass]uto-open [ass] Init get_path('fonts') -> '/home/duane/.mplayer/fonts' get_path('subfont.ttf') -> '/home/duane/.mplayer/subfont.ttf' [ass] Updating font cache. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg'sibavcodec codec family INFO:ibavcodec init OK! Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Openingudio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib:sing SSE optimized decore! MP3lib: initayer2&3 finished, tables done MPEG 1.0, Layer III, 48000 Hz 192 kbit Joint-Stereo, BPF: 576 Channels: 2, copyright: No, original: Yes, CRC: No,mphasis: 0 AUDIO: 48000 Hz, 2 ch,16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selectedudio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Buildingudio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Waseinitialized: 48000Hz/2ch/s16le [dummy] Waseinitialized: 48000Hz/2ch/s16le alsa-init:equested format: 48000 Hz, 2 channels, 9 alsa-init:sing ALSA 1.0.15 alsa-init:etup for 1/2 channel(s) alsa-init:sing device default alsa-init: pcm opened in blocking mode alsa-init: chunksizeet to 1024 alsa-init: fragcount=16 alsa-init: got buffersize=65536 alsa-init: got periodize 1024 alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch16le (2 bytes per sample) AO: Description: ALSA-0.9.x-1.xudio output AO: Author: Alex Beregszaszi, Zsolt Barat <joyt streamminister.de> AO: Comment:nder developement Buildingudio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Waseinitialized: 48000Hz/2ch/s16le [dummy] Waseinitialized: 48000Hz/2ch/s16le Starting playback... [ffmpeg]spect_ratio: 1.777778 VDec: vo configequest - 960 x 540 (preferred colorspace: Planar YV12) Trying filter chain:ss vo VDec:sing Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescalingo correct movie aspect. VO Config (960x540->960x540,flags=1,'MPlayer',0x32315659) REQ: flags=0x437 eq=0x0 VO: [xv] 960x540 => 960x540lanar YV12 [fs] VO: Description: X11/Xv VO: Author: Gerd Knorr <kraxelt goldbach.in-berlin.de> and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar Xvideo image format: 0x59565955 (UYVY) packed using Xvideo port 84 for hwcaling [xv-fs] dx: 0 dy: 45 dw: 1440 dh: 810 [xv] dx: 0 dy: 45 dw: 1440 dh: 810 *** [ass] Exporting mp_image_t, 960x540x12bpp YUV planar, 777600 bytes *** [vo] Allocating mp_image_t, 960x540x12bpp YUV planar, 777600 bytes Unicode font: 574 glyphs. [xv] dx: 0 dy: 0 dw: 1440 dh: 900 [xv-fs] dx: 0 dy: 45 dw: 1440 dh: 810 mpg123: Can'tewind stream by 61 bits!8 239/239 35% 4% 1.6% 1 0 mpg123: Can'tewind stream by 22 bits!3 2053/2053 42% 5% 1.5% 1 0 Uninitudio filters...-2.206 ct: -0.334 3964/3964 40% 5% 1.6% 1 0 [libaf] Removing filter dummy Uninitudio: mp3lib Uninit video: ffmpeg Successfullynabled DPMS gnome_screensaver_control()alsa-uninit: pcm closed vo:ninit ... Exiting... (Quit)