Autor Thema: Green screen in mplayer for Sundtek MediaTV Pro USB-Stick  (Gelesen 11793 mal)

v.shukelo

  • Newbie
  • *
  • Beiträge: 4
    • Profil anzeigen
Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« am: November 24, 2010, 08:41:13 Nachmittag »
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?

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8514
    • Profil anzeigen
Re:Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« Antwort #1 am: November 25, 2010, 03:26:44 Vormittag »
The logfile is a little bit short, what does uname -a show up?

and as root lsusb -d "eb1a:51b2" -vvv

Failure is a good thing! I'll fix it

v.shukelo

  • Newbie
  • *
  • Beiträge: 4
    • Profil anzeigen
Re:Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« Antwort #2 am: November 25, 2010, 02:13:33 Nachmittag »
The logfile is a little bit short...

debian:~# cat /var/log/mediasrv.log | grep -v 'TS Sync byte not aligned, realigning stream' | tail -n 200
2010-11-24 18:41:07 [5528] Using settings for Europe
2010-11-24 18:41:07 [5528] Using settings for Europe
2010-11-24 18:41:08 [5528] Using settings for Europe
2010-11-24 18:41:08 [5528] Using settings for Europe
2010-11-24 18:41:08 [5528] Using settings for Europe
2010-11-24 18:41:09 [5528] Using settings for Europe
2010-11-24 18:41:09 [5528] Using settings for Europe
2010-11-24 18:41:10 [5528] Using settings for Europe
2010-11-24 18:41:10 [5528] Using settings for Europe
2010-11-24 18:41:11 [5528] Using settings for Europe
2010-11-24 18:41:11 [5528] Using settings for Europe
2010-11-24 18:41:12 [5528] Using settings for Europe
2010-11-24 18:41:12 [5528] Using settings for Europe
2010-11-24 18:41:13 [5528] Using settings for Europe
2010-11-24 18:41:13 [5528] Using settings for Europe
2010-11-24 18:41:13 [5528] Using settings for Europe
2010-11-24 18:41:14 [5528] Using settings for Europe
2010-11-24 18:41:14 [5528] Using settings for Europe
2010-11-24 18:41:15 [5528] Using settings for Europe
2010-11-24 18:41:15 [5528] Using settings for Europe
2010-11-24 18:41:16 [5528] Using settings for Europe
2010-11-24 18:41:16 [5528] Using settings for Europe
2010-11-24 18:41:17 [5528] Using settings for Europe
2010-11-24 18:41:17 [5528] Using settings for Europe
2010-11-24 18:41:17 [5528] Using settings for Europe
2010-11-24 18:41:18 [5528] Using settings for Europe
2010-11-24 18:41:18 [5528] Using settings for Europe
2010-11-24 18:41:24 [5528] Using settings for Europe
2010-11-24 18:41:24 [5528] Using settings for Europe
2010-11-24 18:41:25 [5528] Using settings for Europe
2010-11-24 18:41:25 [5528] Using settings for Europe
2010-11-24 18:41:25 [5528] Using settings for Europe
2010-11-24 18:41:26 [5528] Using settings for Europe
2010-11-24 18:41:26 [5528] Using settings for Europe
2010-11-24 18:41:27 [5528] Using settings for Europe
2010-11-24 18:41:27 [5528] Using settings for Europe
2010-11-24 18:41:28 [5528] Using settings for Europe
2010-11-24 18:41:28 [5528] Using settings for Europe
2010-11-24 18:41:29 [5528] Using settings for Europe
2010-11-24 18:41:29 [5528] Using settings for Europe
2010-11-24 18:41:29 [5528] Using settings for Europe
2010-11-24 18:41:30 [5528] Using settings for Europe
2010-11-24 18:41:30 [5528] Using settings for Europe
2010-11-24 18:41:31 [5528] Using settings for Europe
2010-11-24 18:41:31 [5528] Using settings for Europe
2010-11-24 18:41:32 [5528] Using settings for Europe
2010-11-24 18:41:32 [5528] Using settings for Europe
2010-11-24 18:41:33 [5528] Using settings for Europe
2010-11-24 18:41:33 [5528] Using settings for Europe
2010-11-24 18:41:34 [5528] Using settings for Europe
2010-11-24 18:41:34 [5528] Using settings for Europe
2010-11-24 18:41:34 [5528] Using settings for Europe
2010-11-24 18:41:35 [5528] Using settings for Europe
2010-11-24 18:41:35 [5528] Using settings for Europe
2010-11-24 18:41:36 [5528] Using settings for Europe
2010-11-24 18:41:36 [5528] Using settings for Europe
2010-11-24 18:41:42 [5528] Using settings for Europe
2010-11-24 18:41:42 [5528] Using settings for Europe
2010-11-24 18:41:42 [5528] Using settings for Europe
2010-11-24 18:41:43 [5528] Using settings for Europe
2010-11-24 18:41:43 [5528] Using settings for Europe
2010-11-24 18:41:44 [5528] Using settings for Europe
2010-11-24 18:41:44 [5528] Using settings for Europe
2010-11-24 18:41:45 [5528] Using settings for Europe
2010-11-24 18:41:45 [5528] Using settings for Europe
2010-11-24 18:41:46 [5528] Using settings for Europe
2010-11-24 18:41:46 [5528] Using settings for Europe
2010-11-24 18:41:46 [5528] Using settings for Europe
2010-11-24 18:41:47 [5528] Using settings for Europe
2010-11-24 18:41:47 [5528] Using settings for Europe
2010-11-24 18:41:48 [5528] Using settings for Europe
2010-11-24 18:41:48 [5528] Using settings for Europe
2010-11-24 18:41:49 [5528] Using settings for Europe
2010-11-24 18:41:49 [5528] Using settings for Europe
2010-11-24 18:41:50 [5528] Using settings for Europe
2010-11-24 18:41:50 [5528] Using settings for Europe
2010-11-24 18:41:50 [5528] Using settings for Europe
2010-11-24 18:41:51 [5528] Using settings for Europe
2010-11-24 18:41:51 [5528] Using settings for Europe
2010-11-24 18:41:52 [5528] Using settings for Europe
2010-11-24 18:41:52 [5528] Using settings for Europe
2010-11-24 18:41:53 [5528] Using settings for Europe
2010-11-24 18:41:53 [5528] Using settings for Europe
2010-11-24 18:41:54 [5528] Using settings for Europe
2010-11-24 18:41:54 [5528] Using settings for Europe
2010-11-24 18:41:59 [5528] Using settings for Europe
2010-11-24 18:42:00 [5528] Using settings for Europe
2010-11-24 18:42:00 [5528] Using settings for Europe
2010-11-24 18:42:01 [5528] Using settings for Europe
2010-11-24 18:42:01 [5528] Using settings for Europe
2010-11-24 18:42:02 [5528] Using settings for Europe
2010-11-24 18:42:02 [5528] Using settings for Europe
2010-11-24 18:42:03 [5528] Using settings for Europe
2010-11-24 18:42:03 [5528] Using settings for Europe
2010-11-24 18:42:03 [5528] Using settings for Europe
2010-11-24 18:42:04 [5528] Using settings for Europe
2010-11-24 18:42:04 [5528] Using settings for Europe
2010-11-24 18:42:05 [5528] Using settings for Europe
2010-11-24 18:42:05 [5528] Using settings for Europe
2010-11-24 18:42:06 [5528] Using settings for Europe
2010-11-24 18:42:11 [5528] Using settings for Europe
2010-11-24 18:42:11 [5528] Using settings for Europe
2010-11-24 18:42:12 [5528] Using settings for Europe
2010-11-24 18:42:12 [5528] Using settings for Europe
2010-11-24 18:42:13 [5528] Using settings for Europe
2010-11-24 18:42:13 [5528] Using settings for Europe
2010-11-24 18:42:14 [5528] Using settings for Europe
2010-11-24 18:42:14 [5528] Using settings for Europe
2010-11-24 18:42:15 [5528] Using settings for Europe
2010-11-24 18:42:15 [5528] Using settings for Europe
2010-11-24 18:42:30 [5624] alsa-audio: opening default interface
2010-11-24 18:42:30 [5624] resetting audio pipe
2010-11-24 18:42:30 [5624] resetting audio pipe
2010-11-24 18:42:30 [5624] resetting audio pipe
2010-11-24 18:42:32 [5624] resetting audio pipe
2010-11-24 18:43:07 [5528] Enabling standby
2010-11-24 18:43:23 [5528] Using settings for Europe
2010-11-24 18:43:41 [5528] Enabling standby
2010-11-24 18:46:31 [5528] Using settings for Europe
2010-11-24 18:46:31 [5528] opening in digital TV mode
2010-11-24 18:46:31 [5528] SETTING DVB-C
2010-11-24 18:46:32 [5528] SETTING DVB-T
2010-11-24 18:46:46 [5528] switching to analog TV
2010-11-24 18:46:46 [5528] SETTING PAL/SECAM
2010-11-24 18:46:47 [5528] SETTING DVB-T
2010-11-24 18:47:02 [5528] Enabling standby
2010-11-24 18:47:59 [5528] Using settings for Europe
2010-11-24 18:48:00 [5528] Setting Frequency: 168250000
2010-11-24 18:48:44 [5528] Enabling standby
2010-11-24 18:49:41 [5528] Using settings for Europe
2010-11-24 18:49:41 [5528] Setting Frequency: 168250000
2010-11-24 18:49:41 [5528] opening in digital TV mode
2010-11-24 18:49:41 [5528] SETTING DVB-T
2010-11-24 18:49:41 [5528] switching ON nullpacketfiltering
2010-11-24 18:49:56 [5528] Enabling standby
2010-11-24 18:50:22 [5528] SETTING DVB-T
2010-11-24 18:50:22 [5528] reinitializing previous digital TV parameters
2010-11-24 18:50:22 [5528] Setting Frequency: 168250000
2010-11-24 18:50:23 [5528] switching to analog TV
2010-11-24 18:50:23 [5528] SETTING PAL/SECAM
2010-11-24 18:50:25 [5624] alsa-audio: opening default interface
2010-11-24 18:50:25 [5624] resetting audio pipe
2010-11-24 18:50:25 [5624] resetting audio pipe
2010-11-24 18:50:25 [5624] resetting audio pipe
2010-11-24 18:50:29 [5624] resetting audio pipe
2010-11-24 18:50:45 [5528] Enabling standby
2010-11-24 18:51:05 [5528] Using settings for Europe
2010-11-24 18:51:06 [5528] opening in digital TV mode
2010-11-24 18:51:06 [5528] SETTING DVB-T
2010-11-24 18:51:08 [5528] switching to analog TV
2010-11-24 18:51:08 [5528] SETTING PAL/SECAM
2010-11-24 18:51:09 [5624] alsa-audio: opening default interface
2010-11-24 18:51:09 [5624] resetting audio pipe
2010-11-24 18:51:09 [5624] resetting audio pipe
2010-11-24 18:51:15 [5528] opening in digital TV mode
2010-11-24 18:51:15 [5528] SETTING DVB-T
2010-11-24 18:51:17 [5528] switching to analog TV
2010-11-24 18:51:17 [5528] SETTING PAL/SECAM
2010-11-24 18:51:18 [5624] alsa-audio: opening default interface
2010-11-24 18:51:18 [5624] resetting audio pipe
2010-11-24 18:51:18 [5624] resetting audio pipe
2010-11-24 18:51:18 [5624] resetting audio pipe
2010-11-24 18:51:20 [5624] resetting audio pipe
2010-11-24 18:51:24 [5528] opening in digital TV mode
2010-11-24 18:51:24 [5528] SETTING DVB-T
2010-11-24 18:51:39 [5528] Enabling standby
2010-11-24 18:51:52 [5528] SETTING DVB-T
2010-11-24 18:51:52 [5528] reinitializing previous digital TV parameters
2010-11-24 18:51:52 [5528] Setting Frequency: 168250000
2010-11-24 18:51:52 [5528] SETTING DVB-C
2010-11-24 18:51:52 [5528] Setting Frequency: 113000000
2010-11-24 18:51:52 [5528] Setting Symbolrate: 6900000
2010-11-24 18:51:52 [5528] Setting Modulation: 3
2010-11-24 18:51:53 [5528] Channel found (113000000)
2010-11-24 18:51:53 [5528] =============
2010-11-24 18:51:53 [5528] Symbol rate: 6900057
2010-11-24 18:51:53 [5528] Constellation: QAM64
2010-11-24 18:51:53 [5528] Mirroring: Mirrored
2010-11-24 18:52:02 [5528] Submitting 0 failed
2010-11-24 18:52:21 [5528] Enabling standby
2010-11-24 18:52:26 [5528] SETTING DVB-C
2010-11-24 18:52:26 [5528] reinitializing previous digital TV parameters
2010-11-24 18:52:26 [5528] Setting Frequency: 113000000
2010-11-24 18:52:26 [5528] Setting Symbolrate: 6900000
2010-11-24 18:52:26 [5528] Setting Modulation: 3
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
debian:~#

Full version of the log file is at http://vi-server.org/vi/d/mediasrv.log.bz2

..., what does uname -a show up?

Linux debian 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 GNU/Linux

v.shukelo

  • Newbie
  • *
  • Beiträge: 4
    • Profil anzeigen
Re:Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« Antwort #3 am: November 25, 2010, 02:15:03 Nachmittag »
... and as root lsusb -d "eb1a:51b2" -vvv

debian:~# lsusb -d "eb1a:51b2" -vvv

Bus 004 Device 002: ID eb1a:51b2 eMPIA Technology, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0xeb1a eMPIA Technology, Inc.
  idProduct          0x51b2
  bcdDevice            1.00
  iManufacturer           3 Sundtek
  iProduct                1 Sundtek Media TV Pro
  iSerial                 2 tek00147
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          305
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0ad0  2x 720 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0c00  2x 1024 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       4
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1300  3x 768 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       5
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1380  3x 896 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       6
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x13c0  3x 960 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       7
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
debian:~#

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8514
    • Profil anzeigen
Re:Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« Antwort #4 am: November 25, 2010, 03:05:27 Nachmittag »
"TS Sync byte not aligned, realigning stream"

this means that there is a USB issue.

2.6.26-2-686 this one is known to have some USB Bugs, please update to a newer OR older kernel version.

according to the installation guide:

Zitat
Changing the transfermode for DVB-T/C from Isochronous to Bulk (some embedded PCs do not support Isochronous transfer with linux), this option can also work around some possible kernel isochronous bugs which are in 2.6.26-2.6.29 and 2.6.32.9 - 2.6.33.1.

By default when the devices are shipped, the device will be in Isochronous mode

Zitat
In order to change the device to isochronous mode:

$ /opt/bin/mediaclient --dtvtransfermode=iso -d /dev/dvb/adapter0/frontend0
Setting transfermode to Isochronous
Please reconnect your device in order to activate the transfer mode change

To change it to Bulk:
$ /opt/bin/mediaclient --dtvtransfermode=bulk -d /dev/dvb/adapter0/frontend0
Setting transfermode to Bulk
Please reconnect your device in order to activate the transfer mode change

After switching the mode the device needs to be replugged

it'S not recommended to use Linux 2.6.26 due those kernel bugs. We do not recommend Debian Linux with such an old kernel, it's better to use the Ubuntu derivate with a newer Kernel.

This workaround will not work for Analog TV, since Analog TV is bound to Isochronous only with the first release of our hybrid device.
Failure is a good thing! I'll fix it

v.shukelo

  • Newbie
  • *
  • Beiträge: 4
    • Profil anzeigen
Re:Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« Antwort #5 am: November 25, 2010, 08:20:07 Nachmittag »
"TS Sync byte not aligned, realigning stream"
this means that there is a USB issue.

2.6.26-2-686 this one is known to have some USB Bugs, please update to a newer OR older kernel version.

Thanks, it helped.

May be /opt/lib/libmediaclient.so or /opt/bin/mediaclient should check for buggy kernel versions and issue warning like "You are using a kernel with known buggy USB support. Consider upgrading the kernel."?

Also "TS Sync byte not aligned, realigning stream" can be "TS Sync byte not aligned, realigning stream (buggy kernel? see http://support.sundtek.com/...)".

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8514
    • Profil anzeigen
Re:Green screen in mplayer for Sundtek MediaTV Pro USB-Stick
« Antwort #6 am: November 25, 2010, 09:03:11 Nachmittag »
It is difficult to check, since there are also modified Kernels out there.

It's like we don't have much choice here people can ask in the forum about their system if it doesn't work and we'll try to help with it. Debian might sooner or later also come up with some patches for this kernel version, or just upgrade the kernel (which is by far the better solution for it).
Failure is a good thing! I'll fix it