I'm trying to use Sundtek MediaTV Pro USB-Stick on some remote box, but it fails to play any video.
I'm using recent sundtek_installer_development.sh (also tried sundtek_installer_100327.sh and sundtek_installer_100916.sh although).
The device shows up in "/opt/bin/mediaclient -e" output, but mplayer cannot play it. It shows just green screen and constantly complains for "v4l2: select timeout" while playing.
Example:
debian:~/test# mplayer -nosound tv:// -tv device=/dev/video1 -vo yuv4mpeg -ao null
CPU: Pentium(R) Dual-Core CPU T4400 @ 2.20GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 tv://.
TV file format detected.
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: Sundtek MediaTV
Tuner cap: STEREO
Tuner rxs:
Capabilites: video capture tuner audio streaming
supported norms: 0 = PAL-BG; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = NTSC-M; 5 = Secam-L; 6 = Secam-LC; 7 = Secam-K;
inputs: 0 = Television; 1 = Composite; 2 = S-Video;
Current input: 0
Current format: YUYV
v4l2: current audio mode is : MONO
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Using (default) progressive frame mode.==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0xb76f13f8]SwScaler: BICUBIC scaler, from yuyv422 to yuv420p using MMX
[swscaler @ 0xb76f13f8]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0xb76f13f8]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0xb76f13f8]SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0xb76f13f8]SwScaler: 640x480 -> 640x480
VO: [yuv4mpeg] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
V: 0.0 15/ 15 ??% ??% ??,?% 0 0
MPlayer interrupted by signal 2 in module: video_read_frame
v4l2: select timeout
v4l2: 0 frames successfully processed, 1 frames dropped.
stream.yuv is plain green.
Part of mediasrv.log:
2010-11-24 18:53:43 [5528] TS Sync byte not aligned, realigning stream (0)
2010-11-24 18:53:43 [5528] TS Sync byte not aligned, realigning stream (0)
2010-11-24 18:53:43 [5528] TS Sync byte not aligned, realigning stream (0)
2010-11-24 18:53:43 [5528] TS Sync byte not aligned, realigning stream (0)
2010-11-24 18:53:47 [5528] switching to analog TV
2010-11-24 18:53:47 [5528] SETTING PAL/SECAM
2010-11-24 18:54:14 [5528] Enabling standby
2010-11-24 18:59:24 [5528] Using settings for Europe
2010-11-24 18:59:25 [5624] alsa-audio: opening default interface
2010-11-24 18:59:25 [5624] resetting audio pipe
2010-11-24 18:59:25 [5624] resetting audio pipe
2010-11-24 18:59:26 [5624] resetting audio pipe
2010-11-24 18:59:26 [5624] resetting audio pipe
2010-11-24 18:59:44 [5528] Enabling standby
2010-11-24 19:26:11 [5528] Using settings for Europe
2010-11-24 19:26:12 [5624] alsa-audio: opening default interface
2010-11-24 19:26:12 [5624] resetting audio pipe
2010-11-24 19:26:12 [5624] resetting audio pipe
2010-11-24 19:26:36 [5528] Enabling standby
Signal is present. Channel scanning with scantv works.
Usual USB camera (/dev/video0) works.
"--tvdummy" also works.
(Of course I first tried to just plug MediaTV (without any other USB devices) and "mplayer tv://" with the same effect)
How to make it work?