[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 37251] can not play all files encoded with ogg vorbis rc3
From: Roger Larsson <roger.larsson () norran ! net>
Date: 2002-10-23 6:09:59
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=37251
------- Additional Comments From roger.larsson@norran.net 2002-10-23 08:09 -------
Subject: Re: can not play all files encoded with ogg vorbis rc3
On Tuesday 22 October 2002 13.34, Martin Vogt wrote:
> On Mon, Oct 21, 2002 at 08:22:52PM -0000, Roger Larsson wrote:
> >
> > ------- Additional Comments From roger.larsson@norran.net 2002-10-21
22:22 -------
> > Subject: Re: can not play all files encoded with ogg vorbis rc3
> >
> > Martin, is the usleep the only change you made?
> >
> > You do not have this patch applied? from Matthias Welwarsky
> > (when only using the usleep does not work for me, I get no sound, speedy
> > sound, or crashes - indicates that something is wrong - I will recompile
and
> > retry)
> >
> Do you have such a file?
> I have currently only 1.0 installed.
> Can you please try
>
> yaf-vorbis
>
> the command line player. This helps to find
> where a possible problem is.
>
> Martin
>
>
>
The file ohr.ogg that you already got is one of the problematic files.
I have now recognized what happens. It plays only the initial part of
the file (sound of taperecorder turning on...)
The usleep that you added should help but it does not...
usleep(2000000);
Possible problems:
usleep(1000000) can give errors and no sleep (see man pages),
tried with sleep(2) but no difference
my computer might be faster than your (933 MHz) so the file might
be read and decoded before play even starts... using sleeps is bad
practice. You should not sleep but wait on notification that file is played.
Note:
The patch from Matthias Welwarsky works. Altering preference orders.
Playing with ogg123 works.
I have recompiled everything, but I still get crashes (Qt)... So I am not
100% that everything works as expected - will investigate this further...
roger@jeloin:~/KDE/sounds/de> yaf-vorbis ohr.ogg
Command:0 Msg:protocol yaf-0.1
Command:0 Msg:implements xplayer
Command:0 Msg:decoder vorbis Version:20000223
Command:0 Msg:mimetypes audio/ogg;
Command:0 Msg:comment vorbis by Monty http://www.xiph.org/
Command:0 Msg:comment yaf port by mvogt@rhrk.uni-kl.de
Command:0 Msg:comment based on sources from vorbis
Command:0 Msg:comment enter 'help'
Command:0 Msg:player-status on
Command:0 Msg:player-status open
Command:0 Msg:player-status playing
Command:0 Msg:musicinfo-Start
Command:0 Msg:song_filename
Command:0 Msg:song_name noname
Command:0 Msg:song_len 3
Command:0 Msg:song_jumps 0
Command:0 Msg:musicinfo-End
Command:43 Ret:(ok) Msg:open ohr.ogg
Command:0 Msg:streamInfo-Start
Command:0 Msg:streamInfo-Channels 1
Command:0 Msg:streamInfo-SampleSize 16
Command:0 Msg:streamInfo-Speed 8000
Command:0 Msg:streamInfo-End
Command:0 Msg:player-status pause
Command:0 Msg:player-status close
Command:0 Msg:player-status off 23680 23680
Command:44 Ret:(ok) Msg:update
roger@jeloin:~/KDE/sounds/de> ogg123 ohr.ogg
Audio Device: Advanced Linux Sound Architecture (ALSA) output
Spelar: ohr.ogg
Klar.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic