Summary: | mplayer-1.0pre7-try2 does not play AVI (mpeg) files via ftp when '-cache-min' part of '-cache' size is less than movie size | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Danil Makeyev <mdanil> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Danil Makeyev
2005-11-11 16:11:12 UTC
Please, post something readable (aka English ASCII), non entities mess, and reopen then. Thanks. ftp://10.101.1.197/video/thg_vid2_ocing_xp.avi is 11,257Kb file. $ mplayer ftp://10.101.1.197/video/thg_vid2_ocing_xp.avi MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 85 audio & 196 video codecs Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing ftp://10.101.1.197/video/Danzz/movies/Fun/downloaded/thg_vid2_ocing_xp. avi. Connecting to server 10.101.1.197[10.101.1.197]:21 ... Warning streams need a type !!!! Cache fill: 0.10% (8192 bytes) AVI file format detected. Sometimes Cache fill is 0.00%, sometimes 0.10% as you can see. And here is the stop. Setting up -cache to 128mb and -cache-min to 20 percents I've got full caching of video and it's playing: $ mplayer -cache 128000 -cache-min 20 ftp://10.101.1.197/video/ thg_vid2_ocing_xp.avi MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 85 audio & 196 video codecs Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing ftp://10.101.1.197/video/Danzz/movies/Fun/downloaded/thg_vid2_ocing_xp. avi. Connecting to server 10.101.1.197[10.101.1.197]:21 ... Warning streams need a type !!!! Cache fill: 8.79% (11526456 bytes) AVI file format detected. VIDEO: [DIVX] 720x576 24bpp 25.000 fps 451.8 kbps (55.2 kbyte/s) ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 22050 Hz, 2 ch, s16le, 56.0 kbit/7.94% (ratio: 7000->88200) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) ========================================================================== Checking audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le... AF_pre: 22050Hz/2ch/s16le [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory alsa-init: 1 soundcard found, using: default alsa: 22050 Hz/2 channels/4 bpf/30104 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 22050Hz 2ch s16le (2 bps) Building audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le... Starting playback... [mpeg4 @ 0x858c970]looks like this file was encoded with (divx4/(old)xvid/ opendivx) -> forcing low_delay flag VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 720x576 => 720x576 Planar YV12 danzz@sentinel ~ $ mplayer -ao arts -cache 128 -cache-min 20 ftp://bsd.novline. net/video/mif.avi MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 85 audio & 196 video codecs Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing ftp://bsd.novline.net/video/mif.avi. Resolving bsd.novline.net for AF_INET... Connecting to server bsd.novline.net[81.9.28.170]:21 ... Warning streams need a type !!!! Cache fill: 18.75% (24576 bytes) AVI file format detected. And again: 18.75%, I've waited for 20 minutes. nothing. Now I'm trying to play WMV video: $ mplayer -ao arts ftp://ftp.metacom.ru/files/proverka/la2video.wmv MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 85 audio & 196 video codecs Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing ftp://ftp.metacom.ru/files/proverka/la2video.wmv. Resolving ftp.metacom.ru for AF_INET... Connecting to server ftp.metacom.ru[217.175.17.243]:21 ... Warning streams need a type !!!! Cache fill: 0.29% (24576 bytes) Caching is processing normally, no freezings. Now I set a less -cache size value: $ mplayer -ao arts -cache 256 -cache-min 20 ftp://ftp.metacom.ru/files/proverka/ la2video.wmv MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 85 audio & 196 video codecs Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing ftp://ftp.metacom.ru/files/proverka/la2video.wmv. Resolving ftp.metacom.ru for AF_INET... Connecting to server ftp.metacom.ru[217.175.17.243]:21 ... Warning streams need a type !!!! Cache fill: 18.75% (49152 bytes) ASF file format detected. VIDEO: [WMV3] 640x480 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s) Clip info: name: Lineage II Movie author: JanaKiska copyright: 2004 comments: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 135.9 kbit/9.63% (ratio: 16990->176400) Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [dmo] DMO video codecs DMO dll supports VO Optimizations 0 1 DMO dll might use previous sample when requested GetOutput r=0x0 size:921600 align:1 StreamCount r=0x0 1 1 Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ▒ Decoder is capable of YUV output (flags 0x1b) VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 640x480 => 640x480 Planar YV12 Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO) ========================================================================== Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le [AO ARTS] Connected to sound server. [AO ARTS] Stream opened. [AO ARTS] buffer size: 20480 [AO ARTS] buffer size: 2048 AO: [arts] 44100Hz 2ch s16le (2 bps) Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... Starting playback... A: 7.2 V: 3.4 A-V: 3.804 ct: 0.044 12/ 12 ??% ??% ??,?% 0 0 0% And a movie plays part by part! What information can I post more? Maybe strace of some such try? Please test with more recent versions of mplayer (1.0_pre8) and report back if still an issue. |