Hello Everyone, I am having a problem with seeking while playing a Vado HD video using MPlayer SVN-r29455-4.3.3 with NVIDIA Linux drivers 185.18.29 on a NVIDIA Geforce 9500 GT with 1GB GDDR2. The video plays great as long as I do not seek forward or back. If I do seek, then the audio track will play from the beginning. The video seeks properly. The Vado HD video is in H.264 (1280x720, 30 fps, 24bpp, 1KByte/s bitrate) with audio encoded using MS ADPCM. I tried using the msadpcm and msadpcmacm (msadp32.acm installed in /usr/local/lib/codecs) instead of ffadpcmms, but the results were even worse. The msadpcm audio codec would cause large screeching noises after seeking until I closed the video. The msadpcmacm audio codec would cause the audio and video to stop playing after seeking. Seeking forward and backward has not been a problem with any other HD videos that I have tried to play. They all seem to play great except for ones that come from my Vado HD. My ~/.mplayer/config file includes the following relevant lines: vo=vdpau,xv, vc=ffh264vdpau,ffmpeg12vdpau, ao=alsa cache=32768 cache-min=50 The problems occurs whether or not I set a smaller cache or use nocache. Also, this occurs on Vado HD files that are small or large. The particular file referenced below is 539,029,186 bytes. Any help regarding this would be greatly appreciated. If you require additional information, please do not hesitate to ask. The output from mplayer while playing a Vado HD video is provided below. mplayer -v vid00075.avi MPlayer SVN-r29455-4.3.3 (C) 2000-2009 MPlayer Team CPU vendor name: GenuineIntel max cpuid level: 2 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 4) extended cpuid-level: 4 Detected cache-line size is 64 bytes Testing OS support for SSE... yes. Tests of OS support for SSE passed. CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CMOV get_path('codecs.conf') -> '/home/dsfr/.mplayer/codecs.conf' Reading /home/dsfr/.mplayer/codecs.conf: Can't open '/home/dsfr/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --enable-menu CommandLine: '-v' 'vid00075.avi' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/dsfr/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/dsfr/.mplayer/input.conf' Can't open input config file /home/dsfr/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config get_path('vid00075.avi.conf') -> '/home/dsfr/.mplayer/vid00075.avi.conf' Playing vid00075.avi. get_path('sub/') -> '/home/dsfr/.mplayer/sub/' [file] File size is 539029186 bytes STREAM: [file] vid00075.avi STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) CACHE_PRE_INIT: 0 [0] 0 pre:16777216 eof:0 Cache fill: 49.95% (16760832 bytes) LAVF_check: AVI format AVI file format detected. list_end=0x162 ======= AVI H7eader ======= us/frame: 33333 (fps=30.000) max bytes/sec: 1058979 padding: 0 MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE frames total: 15259 initial: 0 streams: 2 Suggested BufferSize: 1048576 Size: 1280 x 720 ========================== list_end=0xD4 ==> Found video stream: 0 [aviheader] Video stream found, -vid 0 ====== STREAM Header ===== Type: vids FCC: H264 (34363248) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 30/1 = 30.000 Start: 0 Len: 15259 Suggested BufferSize: 1048576 Quality -1 Sample size: 2764800 ========================== Found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 1280 biHeight 720 biPlanes 1 biBitCount 24 biCompression 875967048='H264' biSizeImage 2764800 =========================== list_end=0x162 ==> Found audio stream: 1 [aviheader] Audio stream found, -aid 1 ====== STREAM Header ===== Type: auds FCC: (1) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 22179/1024 = 21.659 Start: 0 Len: 11017 Suggested BufferSize: 12288 Quality -1 Sample size: 1 ========================== Found 'wf', 58 bytes of 18 ======= WAVE Format ======= Format Tag: 2 (0x2) Channels: 1 Samplerate: 44100 avg byte/sec: 22179 Block align: 1024 bits/sample: 4 cbSize: 32 Unknown extra header dump: [f4] [7] [7] [0] [0] [1] [0] [0] [0] [2] [0] [ff] [0] [0] [0] [0] [c0] [0] [40] [0] [f0] [0] [0] [0] [cc] [1] [30] [ff] [88] [1] [18] [ff] ========================================================================== list_end=0x201A847A Found movie at 0x16E - 0x201A847A Reading INDEX block, 26276 chunks for 15259 frames (fpos=538608770). AVI index offset: 0x16A (movi=0x16E idx0=0x4 idx1=0x1A378) Auto-selected AVI video ID = 0 Auto-selected AVI audio ID = 1 AVI: Searching for audio stream (id:1) XXX initial v_pts=0.000 a_pos=0 (0.000) AVI video size=527109151 (15259) audio size=11281408 (11017) VIDEO: [H264] 1280x720 24bpp 30.000 fps 8290.6 kbps (1012.0 kbyte/s) Auto-selected AVI audio ID = 1 [V] filefmt:3 fourcc:0x34363248 size:1280x720 fps:30.000 ftime:=0.0333 get_path('sub/') -> '/home/dsfr/.mplayer/sub/' X11 opening display: :0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display) [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms Disabling DPMS DPMSDisable stat: 1 ========================================================================== Forced video codec: ffh264vdpau Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [VD_FFMPEG] XVMC-accelerated MPEG-2. INFO: libavcodec init OK! Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU)) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer. FFmpeg's libavcodec audio codec INFO: libavcodec init OK! AUDIO: 44100 Hz, 1 ch, s16le, 177.4 kbit/25.15% (ratio: 22179->88200) Selected audio codec: [ffadpcmms] afm: ffmpeg (FFmpeg MS ADPCM audio) ========================================================================== Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/1ch/s16le [dummy] Was reinitialized: 44100Hz/1ch/s16le Trying preferred audio driver 'alsa', options '[none]' alsa-init: requested format: 44100 Hz, 1 channels, 9 alsa-init: using ALSA 1.0.20 alsa-init: setup for 1/2 channel(s) alsa-init: using device default alsa-init: pcm opened in blocking mode alsa-init: chunksize set to 1024 alsa-init: fragcount=16 alsa-init: got buffersize=32768 alsa-init: got period size 1024 alsa: 44100 Hz/1 channels/2 bpf/32768 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample) AO: Description: ALSA-0.9.x-1.x audio output AO: Author: Alex Beregszaszi, Zsolt Barat <joy@xxxxxxxxxxxxxxxxx> AO: Comment: under developement Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le... [dummy] Was reinitialized: 44100Hz/1ch/s16le [dummy] Was reinitialized: 44100Hz/1ch/s16le Starting playback... Increasing filtered audio buffer size from 0 to 33792 [VD_FFMPEG] XVMC-accelerated MPEG-2. [ffmpeg] aspect_ratio: 0.000000 VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 VDPAU acceleration) Trying filter chain: vo VDec: using H.264 VDPAU acceleration as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (1280x720->1280x720,flags=0,'MPlayer',0x1DC80003) VO: [vdpau] 1280x720 => 1280x720 H.264 VDPAU acceleration VO: Description: VDPAU with X11 VO: Author: Rajib Mahapatra <rmahapatra@xxxxxxxxxx> and others [vdpau] Creating H264 hardware decoder for 2 reference frames. *** [vo] Direct Rendering (slices) mp_image_t, 1280x720x0bpp RGB packed, 0 bytes Unicode font: 255 glyphs. Unicode font: 255 glyphs. *** [vo] Direct Rendering (slices) mp_image_t, 1280x720x0bpp RGB packed, 0 bytes Unicode font: 255 glyphs. Unicode font: 255 glyphs. SEEK: i=1 (max:1395) dpos=0 (wanted:584) 03/503 5% 8% 1.1% 11 0 49% SEEK: idx=1 (a:1 v:1395) v.skip=809 a.skip=584/0.000 Uninit audio filters...26.627 ct: -0.317 876/876 1% 27% 0.2% 0 0 19% [libaf] Removing filter dummy Uninit audio: ffmpeg Uninit video: ffmpeg Successfully enabled DPMS alsa-uninit: pcm closed vo: uninit ... Exiting... (Quit) Regards, -- Chris Hozian "Life's most important choice is not between wealth and poverty, or fame and obscurity. It is between good and evil. When we finally understand that, our happiness will not be determined by material things." --The New Era, August 1989, pages 4-5 _______________________________________________ MPlayer-users mailing list MPlayer-users@xxxxxxxxxxxx https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users