mono/stereo problem with i810 chipset?

"J.L.H.W. Linkels" <[email protected]> Wed, 4 May 2005 10:44:47 -0400
Newsgroups gmane.comp.multimedia.avifile.general
Organization Radio Nederland Wereldomroep
Message-ID <[email protected]>
Hello all,

I am trying to play an asf stream on a computer with a i810 chipset. This=20
fails. Logging output is at the end of this mail.

Playing (stereo) MP3 files from the local LAN is fine.

As you can see in the log, the OSS renderer fails and reports that the chip=
set=20
cannot be put in the requested mode.

Then AviPlay attempts to use the SDL renderer. When this starts to play, I=
=20
hear audio at double speed for a few seconds, then silence, then audio at=20
double speed, and so on.

I have browsed thru the old mail archives, and it seems that there is some=
=20
problem with mono in the i810 chipset.

I wonder whether the i810 is really unable to play mono streams, or that th=
ere=20
is a problem in the ioctl call to control the i810, like a wrong return val=
ue=20
or so.

Is there maybe a workaround for this problem? Unfortunately I need an asf=20
_stream_, so I cannot first save the stream and convert it to stereo for=20
playback.

Any comments appreciated, even a confirmation of this problem. (so I know I=
 am=20
not alone :-) )

jlinkels

jlinkels@daisy_pc:~$ aviplay  mms://212.33.55.236/radioooe
<init> : Avifile CVS-0.7.43-050224-14:19-(Debian
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep m=
trr=20
pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
<init> : 4294.97 MHz Intel(R) Pentium(R) 4 CPU 2.00GHz processor detected
QSettings: failed to open file '/etc/qt3/qtrc'
<aviplay> : Debug is on 0
<reader> : Checking: mms://212.33.55.236/radioooe
<ASF network reader> : server:212.33.55.236:80 filename:/radioooe
<ASF network reader> : read hdrbl 2841  skip: 1518
<ASF network reader> :

        If you wish to store the stream into a local file
        you may try to use this before starting aviplay:
                export WRITE_ASF=3D1
        this will create /tmp/asfXXXXX with received data

<ASF reader> :  Title       : Radio Ober=F6sterreich
<ASF reader> :  Author      : Radio Ober=F6sterreich
<ASF reader> :  Copyright   : ORF Ober=F6sterreich
<ASF reader> :  Description : Voll dabei auf 95,2
<ASF reader> : VersionInfo: WMFSDKVersion
<ASF reader> : VersionInfo: 9.00.00.2980
<ASF reader> : Codec Type: Audio
<ASF reader> : Codec Name: Windows Media Audio 9
<ASF reader> : Codec Description:  32 kbps, 44 kHz, mono 1-pass CBR
<ASF reader> : Stream-MaxBitrate: 1-32645
<ASF reader> : MainHeader: E117A81A-CD12-426F-A37A-0A1F41A90063
 Created: Mon Mar  7 16:35:16 2005   File size=3D2841   Packets=3D4294967295
 Total time=3D0.0 sec   Play time=3D0.0 sec   Preroll=3D1.6 sec
 Flags=3D0x9  Packet size=3D1518  (=3D1518)  MaxBandwidth=3D32645 bps
<ASF reader> : header contains "header extension" (1963b)
<ASF reader> : StreamHeader: audio media   Error correction: audio spread
 Time offset=3D0  Stream size=3D28  Error size=3D8  Stream=3D1  Reserved=3D=
0x6cce6200
<ASF network reader> : received valid headers
<ASF reader> : Interleave info: blocksize=3D1  packetlen=3D1487  chunklen=
=3D1487
<reader> : Initialized audio stream (chunk tblsz: 2147483647, fmtsz: 28)
<aviplay> : Videostream not detected
<codec keeper> : Found 5 plugins (/usr/lib/avifile-0.7,A:23,V:27)
<codec keeper> : FF WMA v2 audio decoder created
<ASF network reader> : read hdrbl 2841  skip: 1518
<ASF network reader> : received valid headers
<ASF network reader> : setting timeshift 646659.821s
<aviplay> : Will try audio renderers in this order: OSS,SDL,noaudio
<audio renderer> : src fmt=3D0x161 1ch 44100Hz 16b   4003B/s balign=3D1487 =
cbsz=3D10
<audio renderer> : dst fmt=3D0x01 1ch 44100Hz 16b  88200B/s balign=3D2 cbsz=
=3D0
<OSS audio renderer> : WARNING: ioctl(stereo) (1 !=3D 0)
<aviplay> : Will try audio renderers in this order: SDL,noaudio
<audio renderer> : src fmt=3D0x161 1ch 44100Hz 16b   4003B/s balign=3D1487 =
cbsz=3D10
<audio renderer> : dst fmt=3D0x01 1ch 44100Hz 16b  88200B/s balign=3D2 cbsz=
=3D0
<SDL audio renderer> : buffer size: 8192  44100Hz
SDL: Audio timeout - buggy audio driver? (disabled)
audio: Bad file descriptor
<aviplay> : Closing clip
<ASF network reader> : read_content() successful