After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 171131 - muine or other gst apps fails to play flac/oggs with custom sink
muine or other gst apps fails to play flac/oggs with custom sink
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.2
Other All
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-21 19:16 UTC by Lance O. Lassetter
Modified: 2005-10-02 14:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
more gst crash on flac errors, verbose (49.08 KB, application/x-bzip)
2005-03-21 19:18 UTC, Lance O. Lassetter
Details

Description Lance O. Lassetter 2005-03-21 19:16:39 UTC
Steps to reproduce:
1. open gstreamer-properties
2. select as custom default sink:
3. decodebin ! audioscale ! audioconvert ! alsasink device="hw:0,4"


Stack trace:
working with ___tim on freenode with this, here is our output so far and please
see attachment:

gst-launch-0.8 filesrc location=foo.flac ! decodebin ! audioscale ! audioconvert
! alsasink device="hw:0,4"
RUNNING pipeline ...
ERROR: from element /pipeline0/alsasink0: Internal GStreamer error: state change
failed.  File a bug. Execution ended after 2 iterations (sum 119152000 ns,
average 59576000 ns, min 105000 ns, max 119047000

also --

$ gst-launch-0.8 -v filesrc location=01\ -\ My\ Home\ Is\ The\ Sea.flac !
decodebin ! audioconvert ! audioscale ! alsasink device="hw:0,4" 2>&1 | grep caps

/pipeline0/filesrc0.src: caps = application/octet-stream
/pipeline0/decodebin0/typefind.sink: caps = application/octet-stream
/pipeline0/decodebin0/typefind.src: caps = audio/x-flac
/pipeline0/decodebin0/flacdec0.sink: caps = audio/x-flac
/pipeline0/decodebin0/typefind.sink: caps = NULL

--2nd test command only contained that output.

Other information:
mp3s seem to play fine with above custom sink however sometimes they cycle
through the song then the next one plays.

however when tested with flac the above is generated.
Comment 1 Lance O. Lassetter 2005-03-21 19:18:54 UTC
Created attachment 39027 [details]
more gst crash on flac errors, verbose

output of:

gst-launch-0.8 --gst-debug=*:5 --gst-debug-no-color filesrc location=01\ -\ My\
Home\ Is\ The\ Sea.flac ! decodebin ! audioconvert ! audioscale ! alsasink
device="hw:0,4" 2>&1 | bzip2 > log.bz2
Comment 2 Ronald Bultje 2005-03-25 20:26:05 UTC
Can you attach a --gst-debug=alsa*:5 log?
Comment 3 Lance O. Lassetter 2005-03-28 06:06:20 UTC
this is based on experimental code for the audigy2 soundcard found in
alsa-driver 1.0.9rc1 development release.

should we wait until this makes it official into alsa stable drivers?

support for 24bit support in 1.0.9rc2 seem broken.

lance(stuNNed)
Comment 4 Ronald Bultje 2005-03-28 09:30:35 UTC
Probably, I'm not very font of debugging ALSA problems, especially when they are
really errors inside ALSa. ;).
Comment 5 Lance O. Lassetter 2005-03-28 16:50:12 UTC
actually mp3 playback is working with the help of jcdutton the alsa devel of
p16v (emu10k1 24bit playback).

still no flac or ogg.

but he has just found a problem with it in alsa-lib so it's still unfinished :)
Comment 6 Maciej Katafiasz 2005-07-11 20:05:14 UTC
What is the status of this one? Setting NEEDINFO for now, please confirm if the
code went into alsa and problems persist, or if we can close it.
Comment 7 Luca Ognibene 2005-10-02 14:37:55 UTC
Closing.. please reopen if you can replicate it! thanks