Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129873 - mplayer trying to read tv tuner gives: ioctl get mbuf failed: Invalid argument
Summary: mplayer trying to read tv tuner gives: ioctl get mbuf failed: Invalid argument
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 15:20 UTC by Henrik
Modified: 2006-06-22 08:39 UTC (History)
0 users

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 Henrik 2006-04-13 15:20:42 UTC
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 VIA Nehemiah
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686  -msse -mmmx -mfpmath=sse  -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686  -msse -mmmx -mfpmath=sse  -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://c3jane/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cle266 cli crypt ctype dba dri dvd dvdread eds emboss expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gpm gstreamer gtk2 imlib ipv6 isdnlog libg++ libwww memlimit mikmod mmx motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl posix pppd python qt quicktime readline session simplexml soap sockets spell spl sse ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unichrome v4l v4l2 vorbis xml xsl xv xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Henrik 2006-04-13 15:22:52 UTC
Re-producing:
---
# mplayer tv:// -tv driver=v4l:input=5
MPlayer dev-CVS-060217-11:46-3.4.4 (C) 2000-2006 MPlayer Team
CPU: IDT/Centaur/VIA C3 Nehemiah (Family: 6, Stepping: 8)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



91 audio & 206 video codecs
Playing tv://.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: WinTV PVR 350
 Capabilites: capture tuner teletext
 Device type: 7
 Supported sizes: 48x32 => 0x0
 Inputs: 10
  0: Composite 0:  (tuner:0, norm:pal)
  1: Composite 1:  (tuner:0, norm:pal)
  2: Composite 2:  (tuner:0, norm:pal)
  3: Composite 3:  (tuner:0, norm:pal)
  4: Tuner 0: tuner tv  (tuner:1, norm:pal)
  5: Composite 4:  (tuner:0, norm:pal)
  6: S-Video 0:  (tuner:0, norm:pal)
  7: S-Video 1:  (tuner:0, norm:pal)
  8: S-Video 2:  (tuner:0, norm:pal)
  9: S-Video 3:  (tuner:0, norm:pal)
ioctl get mbuf failed: Invalid argument


Exiting... (End of file)
---

Trying v4l2 gives the following:

# mplayer tv:// -tv driver=v4l2:input=5
MPlayer dev-CVS-060217-11:46-3.4.4 (C) 2000-2006 MPlayer Team
CPU: IDT/Centaur/VIA C3 Nehemiah (Family: 6, Stepping: 8)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



91 audio & 206 video codecs
Playing tv://.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: WinTV PVR 350
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: STEREO
 Capabilites:  video capture  video output  VBI capture device  VBI output  tuner  audio  read/write
 supported norms: 0 = NTSC; 1 = PAL; 2 = SECAM;
 inputs: 0 = Composite 0; 1 = Composite 1; 2 = Composite 2; 3 = Composite 3; 4 = Tuner 0; 5 = Composite 4; 6 = S-Video 0; 7 = S-Video 1; 8 = S-Video 2; 9 = S-Video 3;
 Current input: 4
 Current format: unknown (0x4745504d)
v4l2: current audio mode is : STEREO
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.


Exiting... (End of file)
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2006-06-22 08:39:15 UTC
Try using v4l2 drivers instead of v4l, along with newer versions of mplayer, and report back is still a problem.

Thanks Henrik