[Mplayer-dvb] MPlayer does not read stream from Skystar2 card
Nico Sabbi
nsabbi at tiscali.it
Thu Nov 4 13:28:44 CET 2004
Axel Schwenke wrote:
>Problem: my Skystar2 DVB-S card works with all tools, except MPlayer.
> I stripped down my channels.conf to just one TV channel and tried to
> playback this TV channel using 'mplayer dvb://<channel>'. It seems
> MPlayer tunes successfully but gets no data stream. Tuning to this
> channel with szap and playback with 'mplayer /dev/dvb/adapter0/dvr0'
> works fine.
>
>System: SuSE Linux 9.1, vanilla Kernel 2.6.7, Technisat Skystar2 v2.6,
> MPlayer 1.0pre4 (tried 1.0pre5 too - same result), Satelite access
> via DiSeqC multiswitch
>
>DVB related output from dmesg
>----
>DVB: registering new adapter (Technisat SkyStar2 driver).
>probe_tuner: try to attach to Technisat SkyStar2 driver
>drivers/media/dvb/frontends/stv0299.c: setup for tuner Samsung TBMU24112IMB
>DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
>----
>
>
>My channels.conf; found with the 'scan' utility and stripped down
>to just one TV channel.
>----
>~ $cat /home/schwenke/.szap/channels.conf
>ZDF:11953:h:1:27500:110:120
>
>~ $cat /home/schwenke/.mplayer/channels.conf.sat
>ZDF:11953:h:1:27500:110:120
>----
>
>
>
>
>
>**** this works not ****
>
>
>~ $mplayer -v dvb://ZDF
>MPlayer 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team
>
>CPU: Advanced Micro Devices Athlon 64 Clawhammer 1000 MHz (Family: 8, Stepping: 10)
>Detected cache-line size is 64 bytes
>CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
>Reading config file /usr/local/etc/mplayer/mplayer.conf
>Reading config file /home/schwenke/.mplayer/config
>Reading /home/schwenke/.mplayer/codecs.conf: Can't open '/home/schwenke/.mplayer/codecs.conf': No such file or directory
>Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
>Using built-in default codecs.conf.
>CommandLine: '-v' 'dvb://ZDF'
>init_freetype
>get_path('font/font.desc') -> '/home/schwenke/.mplayer/font/font.desc'
>font: can't open file: /home/schwenke/.mplayer/font/font.desc
>Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
>Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
>Using Linux hardware RTC timing (1024Hz).
>get_path('input.conf') -> '/home/schwenke/.mplayer/input.conf'
>Can't open input config file /home/schwenke/.mplayer/input.conf: No such file or directory
>Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
>Falling back on default (hardcoded) input config
>get_path('ZDF.conf') -> '/home/schwenke/.mplayer/ZDF.conf'
>
>Playing dvb://ZDF.
>TUNER TYPE SEEMS TO BE DVB-S
>get_path('channels.conf.sat') -> '/home/schwenke/.mplayer/channels.conf.sat'
>CONFIG_READ FILE: /home/schwenke/.mplayer/channels.conf.sat, type: 1
>SAT, NUM: 0, NUM_FIELDS: 7, NAME: ZDF, FREQ: 11953000, SRATE: 27500000, POL: H, DISEQC: 0, TONE: -1, VPID: 110, APID1: 120, APID2: 0, TPID: 1, PROGID: 1082485248
>DVB_CONFIG, can't open device /dev/dvb/adapter1/frontend0, skipping
>DVB_CONFIG, can't open device /dev/dvb/adapter2/frontend0, skipping
>DVB_CONFIG, can't open device /dev/dvb/adapter3/frontend0, skipping
>OPEN_DVB: prog=ZDF, card=1, type=1, vid=0, aid=0
>code taken from dvbstream for mplayer v0.4pre1 - (C) Dave Chapman 2001
>Released under the GPL.
>Latest version available from http://www.linuxstb.org/
>PROG: ZDF, CARD: 1, VID: 0, AID: 0, TYPE: , FILE: (null)
>PROGRAM NUMBER 0: name=ZDF, vid=110, aid=120, freq=11953000, srate=27500000, pol=H, diseqc: 0, tone: -1
>DVB_SET_CHANNEL: card: 0, channel 0
>DVB_SET_CHANNEL: new channel name=ZDF
>DIFFERENT TUNING THAN THE PREVIOUS: -> 0|011953000|027500000|0|H
>dvb_tune Freq: 11953000
>TUNE_IT, fd_frontend 17, fd_sec 0
>freq 11953000, srate 27500000, pol H, tone -1, specInv, diseqc 0, fe_modulation_t modulation,fe_code_rate_t HP_CodeRate, fe_transmit_mode_t TransmissionMode,fe_guard_interval_t guardInterval, fe_bandwidth_t bandwidth
>Using DVB card "STV0299/TSA5059/SL1935 based"
>tuning DVB-S to Freq: 1353000, Pol: H Srate: 27500000, 22kHz: on, LNB: 0
>DISEQC SETTING SUCCEDED
>polling....
>Getting frontend event
>FE_STATUS:
>polling....
>Getting frontend event
>FE_STATUS: FE_HAS_SIGNAL FE_HAS_CARRIER
>polling....
>Getting frontend event
>FE_STATUS: FE_HAS_SIGNAL
>polling....
>Getting frontend event
>FE_STATUS: FE_HAS_SIGNAL FE_HAS_CARRIER
>polling....
>Getting frontend event
>FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
>Event: Frequency: 11956101
> SymbolRate: 27500000
> FEC_inner: 3
>
>Bit error rate: 65520
>Signal strength: 43382
>SNR: 51261
>FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
>SET PES FILTER ON PID 110 to fd 19, RESULT: 0, ERRNO: 11
>SET PES FILTER ON PID 120 to fd 20, RESULT: 0, ERRNO: 11
>SUCCESSFUL EXIT from dvb_streaming_start
>STREAM: [dvbin] dvb://ZDF
>STREAM: Description: Dvb Input
>STREAM: Author: Nico
>STREAM: Comment: based on the code from ??? (probably Arpi)
>dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 2048 bytes
>dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 2048 bytes
>dvb_streaming_read, attempt N. 4 failed with errno 0 when reading 2048 bytes
>dvb_streaming_read, attempt N. 3 failed with errno 0 when reading 2048 bytes
>dvb_streaming_read, attempt N. 2 failed with errno 0 when reading 2048 bytes
>dvb_streaming_read, attempt N. 1 failed with errno 0 when reading 2048 bytes
>dvb_streaming_read, return 0 bytes
>
>
what drivers are you using? 1.1.x or cvs (and if so how old) ?
More information about the MPlayer-dvb
mailing list