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 538500 - AIFF file doesn't play
AIFF file doesn't play
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-15 19:58 UTC by Bastien Nocera
Modified: 2008-08-28 01:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The file in question (14.94 KB, application/octet-stream)
2008-06-15 19:58 UTC, Bastien Nocera
Details

Description Bastien Nocera 2008-06-15 19:58:09 UTC
$ gst-launch-0.10 playbin uri='file:///home/hadess/Basso.aiff' 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

** (gst-launch-0.10:19852): WARNING **: aconv: size 2930 is not a multiple of unit size 4
ERROR: from element /playbin0/decodebin0/ffdemux_aiff0: Internal data stream error.
Additional debug info:
gstffmpegdemux.c(1340): gst_ffmpegdemux_loop (): /playbin0/decodebin0/ffdemux_aiff0:
streaming stopped, reason error
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

File plays fine with esdplay, and other libaudiofile based players.

See also bug 406673 about adding an AIFF parser.
Comment 1 Bastien Nocera 2008-06-15 19:58:37 UTC
Created attachment 112795 [details]
The file in question
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-06-15 20:11:40 UTC
Whats about usings sfsrc (linsndfile)? Idealy we would have libaudiofile based parsers/formatters.
Comment 3 Bastien Nocera 2008-06-15 20:49:00 UTC
sfsrc fails as well, and can't play from remote locations...

gst-launch-0.10 sfsrc location='/home/hadess/Desktop/Downloads/mess/LAPTOP/sounds/Basso.aiff' ! audioconvert ! pulsesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed

(gst-launch-0.10:20252): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed
Got EOS from element "pipeline0".
Execution ended after 1724033 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
Comment 4 Michael Smith 2008-08-28 01:04:13 UTC
2008-08-27  Michael Smith <msmith@songbirdnest.com>

    * gst/aiffparse/aiffparse.c:
      Read size of chunks preceeding the audio data with the
      correct endianness. Fixes playback of some files.
      Fixes #538500

2008-08-27  Michael Smith <msmith@songbirdnest.com>

    * configure.ac:
    * gst/aiffparse/Makefile.am:
    * gst/aiffparse/aiffparse.c:
    * gst/aiffparse/aiffparse.h:
      Add an AIFF parsing element, heavily based on wavparse.