Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31010 - mplayer won't plays avi from smb-share
Summary: mplayer won't plays avi from smb-share
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-12 21:53 UTC by Bash
Modified: 2003-10-16 09:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2003-10-12 21:53:52 UTC
mplayer emerged perfectly (with samba), but can't play avi from smb-share

Reproducible: Always
Steps to Reproduce:
1. mplayer mplayer smb://devnull/video/ToWrite/Recruit.avi
2.
3.

Actual Results:  
blackhole tmp # smbclient "//devnull/video" -c "dir ToWrite/*.*" -N 
  .                                   D        0  Mon Oct 13 08:49:11 2003
  ..                                  D        0  Tue Aug 12 03:53:00 2003
  Amelie Poulain - cutting scenes (1).avi      A 13698048  Wed Jul  2 09:19:28 2003
  The Virgin Suicides.avi             A 714344448  Mon Sep 15 23:55:14 2003
  kalinov bridge - kamchatka.mpg      A 175190785  Wed Jul  2 09:21:18 2003
  Recruit.avi                           722184192  Thu Aug  7 21:56:12 2003

        34219 blocks of size 1048576. 2296 blocks available
blackhole tmp # mplayer smb://devnull/video/ToWrite/Recruit.avi
...
many noise text ala
smb_vwv[11]=    0 (0x0)
smb_bcc=2048
[000] 52 49 46 46 94 A1 0B 2B  41 56 49 20 4C 49 53 54  RIFF║.+ AVI LIST
[010] 7E 22 00 00 68 64 72 6C  61 76 69 68 38 00 00 00  ~"..hdrl avih8...
[020] EC A2 00 00 00 00 00 00  00 00 00 00 10 01 00 00  Л╒...... ........
[030] 66 86 02 00 00 00 00 00  02 00 00 00 00 00 00 00  f...... ........
[040] 00 02 00 00 20 01 00 00  00 00 00 00 00 00 00 00  .... ... ........
[050] 00 00 00 00 00 00 00 00  4C 49 53 54 94 10 00 00  ........ LIST...
[060] 73 74 72 6C 73 74 72 68  38 00 00 00 76 69 64 73  strlstrh 8...vids
[070] 64 69 76 33 00 00 00 00  00 00 00 00 00 00 00 00  div3.... ........
[080] 7D 00 00 00 B5 0B 00 00  00 00 00 00 66 86 02 00  }...╣... ....f..
[090] 75 02 01 00 10 27 00 00  00 00 00 00 00 00 00 00  u....'.. ........
[0A0] 00 02 20 01 73 74 72 66  28 00 00 00 28 00 00 00  .. .strf (...(...
[0B0] 00 02 00 00 20 01 00 00  01 00 18 00 44 49 56 33  .... ... ....DIV3


Expected Results:  
I want to see movie from smb-shared folder with mplayer

Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses nls
pdflib png truetype xmms xv zlib gdbm berkdb slang readline sdl gpm tcpd pam ssl
perl python imlib qt motif X apm acl acpi alsa cdr crypt curl dvb dvd encode
ethereal flash sse usb mmx opengl xface xinerama fbcon pcmcia spell samba xml
xml2 gtk gtk2 -3dfx -debug -emacs -esd -3dnow -aalib -apache2 -arts -canna -cjk
-cups -freetds -gtkhtml -imap -ipv6 -java -junit -kde -ldap -lirc -matrox -oci8
-odbc -pda -postgres -ruby -snmp -socks5 -tetex -ppc -sparc -alpha -mips -hppa
-arm -voodoo3 -svga -oggvorbis -gnome -quicktime"

blackhole tmp # qpkg -I -vv | grep samba
net-fs/samba-3.0.0-r1 *
   /var/db/pkg/net-fs/samba-3.0.0-r1/samba-3.0.0-r1.ebuild

blackhole tmp # etcat -u mplayer
[ Colour Code : set unset ]
[ Legend      : (U) Col 1 - Current USE flags        ]
[             : (I) Col 2 - Installed With USE flags ]
[ No USE flags found for : media-plugins/xmmplayer ]

 U I [ Found these USE variables in : media-video/mplayer-1.0_pre2 ]
 - - dga       : Adds DGA Support (Xfree86) (DGA=Direct Graphic Access)
 + + oss       : Adds support for OSS (Open Sound System)
 + + xmms      : Check/Support for XMMS (X MultiMedia System) player.
 + + jpeg      : Adds JPEG image support
 - - 3dfx      : Adds support for 3dfx video cards to XFree86. See: voodoo3
 + + sse       : fast floating point optimisation for Pentium class chips
 - - matrox    : Adds Matrox MGA support to mplayer
 + + sdl       : Adds support for Simple Direct Layer (media library)
 + + X         : Adds support for XFree86
 - - svga      : Adds support for SVGAlib (graphics library)
 - - ggi       : Adds support for media-libs/libggi (non-X video api/drivers)
 - - oggvorbis : Adds support for the OggVorbis audio encoding
 - - 3dnow     : Adds support for 3dnow multimedia processor instructions
 - - aalib     : Adds support for media-libs/aalib (ASCII-Graphics Library)
 - - gnome     : Adds GNOME support
 + + xv        : Adds in optional support for the Xvideo extension (an X API for
video playback)
 + + opengl    : Adds support for OpenGL
 + + truetype  : Adds support for FreeType and/or FreeType2 fonts
 + + dvd       : Adds support for DVDs
 + + gtk       : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + gif       : Adds GIF image support
 - - esd       : Adds support for media-sound/esound (Enlightened Sound Daemon)
 + + fbcon     : Adds framebuffer support for the console, via the kernel
 + + encode    : Adds support for MEncoder or LaME encoder, wherever applicable
 + + alsa      : Adds support for media-libs/alsa-lib (Advanced Linux Sound
Architecture)
 - - directfb  : Adds support for DirectFB layer (library for FB devices)
 - - arts      : Adds support for aRts: the KDE sound daemon
 + + dvb       : Adds support for DVB (Digital Video Broadcasting)
 + + gtk2      : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports
both. Beware that gtk+-2 support ca
n be bad.
 + + samba     : Adds support for SAMBA
Comment 1 Gábor Farkas 2003-10-16 02:09:38 UTC
this is not gentoo's fault.

the problem is that mplayer can't play smb-shared files.
yes, the switch (--enable-smb) is there, but the resulting binary won't be
able to play samba-shared files.
Comment 2 Bash 2003-10-16 09:55:09 UTC
Hmm... so, for what samba-support? ;)