[MPlayer-users] xawtv can play from USB2 capture card, but mplayer cannot
Marc MERLIN
marc_mplayer at merlins.org
Mon Jul 7 00:53:41 CEST 2014
I have this capture card:
http://www.amazon.com/Sabrent-USB-AVCPT-Digital-Video-Adapter/dp/B0011N9QNC
legolas:~# v4l2-ctl -D -d /dev/video1
Driver Info (not using libv4l2):
Driver name : em28xx
Card type : EM2860/SAA711X Reference Design
Bus info : usb-0000:00:14.0-3
Driver version: 3.15.1
Capabilities : 0x85000011
Video Capture
VBI Capture
Read/Write
Streaming
Device Capabilities
Device Caps : 0x05000001
Video Capture
Read/Write
Streaming
xawtv, now more than 15 years old :) can play from it without problems.
mplayer says:
legolas:~$ mplayer /dev/video1
MPlayer SVN-r36545 (C) 2000-2013 MPlayer Team
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 /dev/video1.
libavformat version 55.37.100 (internal)
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
-noidx doesn't help, neither does -mc 0
I understand I don't have a great capture card, but if it works with xawtv,
I'm hopeful it could/should work with mplayer too :)
Kernel says:
em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0)
em28xx: Video interface 0 found: isoc
em28xx: chip ID is em2860
em2860 #0: board has no eeprom
em2860 #0: No sensor detected
em2860 #0: found i2c device @ 0x4a on bus 0 [saa7113h]
em2860 #0: Your board has no unique USB ID.
em2860 #0: A hint were successfully done, based on i2c devicelist hash.
em2860 #0: This method is not 100% failproof.
em2860 #0: If the board were missdetected, please email this log to:
em2860 #0: V4L Mailing List <linux-media at vger.kernel.org>
em2860 #0: Board detected as EM2860/SAA711X Reference Design
em2860 #0: Identified as EM2860/SAA711X Reference Design (card=19)
em2860 #0: analog set to isoc mode.
em28xx audio device (eb1a:2861): interface 1, class 1
em2860 #0: Registering V4L2 extension
saa7115 10-0025: saa7113 found @ 0x4a (em2860 #0)
em2860 #0: V4L2 video device registered as video1
em2860 #0: V4L2 VBI device registered as vbi0
em2860 #0: V4L2 extension successfully initialized
em2860 #0: Registering snapshot button...
input: em28xx snapshot button as /devices/pci0000:00/0000:00:14.0/usb2/2-3/input/input45
em2860 #0: Remote control support is not available for this card.
Debug:
legolas:~$ mplayer -v /dev/video1
MPlayer SVN-r36545 (C) 2000-2013 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 13
CPU: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (Family: 6, Model: 60, Stepping: 3)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/merlin/.mplayer/codecs.conf'
Reading optional codecs config file /home/merlin/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/merlin/.mplayer/fonts'
Configuration: --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --enable-xmga --enable-mga --enable-joystick --enable-libopencore_amrnb --enable-libopencore_amrwb --disable-openal --disable-decoder=amrnb --language=all --enable-menu --disable-libdvdcss-internal --disable-dvdread-internal --enable-radio --enable-radio-capture --extra-libs=-ldl -lvorbisenc -lvorbis --enable-xvmc --with-xvmclib=XvMCW --enable-tdfxfb --enable-s3fb --enable-runtime-cpudetection --disable-gui
CommandLine: '-v' '/dev/video1'
Using nanosleep() timing
get_path('input.conf') -> '/home/merlin/.mplayer/input.conf'
Reading optional input config file /home/merlin/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 92 binds
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.
get_path('video1.conf') -> '/home/merlin/.mplayer/video1.conf'
Playing /dev/video1.
get_path('sub/') -> '/home/merlin/.mplayer/sub/'
[file] File size is -1 bytes
STREAM: [file] /dev/video1
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 55.37.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: no clue about this gibberish!
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Checking for YUV4MPEG2
Cannot seek backward in linear streams!
Seek failed
ASF_check: not ASF guid!
Cannot seek backward in linear streams!
Seek failed
Checking for REAL
Cannot seek backward in linear streams!
Seek failed
Checking for SMJPEG
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Searching demuxer type for filename /dev/video1 ext: (null)
Cannot seek backward in linear streams!
Seek failed
Checking for Nullsoft Streaming Video
Cannot seek backward in linear streams!
Seek failed
Checking for MOV
Cannot seek backward in linear streams!
Seek failed
Checking for VIVO
header block 1 size: 27
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Checking for PVA
Cannot seek backward in linear streams!
Seek failed
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND 1b, packet_size= 0, SEEMS A TS? 0
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=7040 size=461380472
LMLM4 Stream Format not found
Cannot seek backward in linear streams!
Seek failed
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
More information about the MPlayer-users
mailing list