GNOME Bugzilla – Bug 338778
[patch] Bad audio with ASX files
Last modified: 2006-04-28 15:08:09 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gstreamer0.10-plugins-ugly/+bug/36062 "While trying to play an ASX file, identified as: $ file escuela_sarita.asx escuela_sarita.asx: Microsoft ASF $ gst-typefind-0.10 escuela_sarita.asx escuela_sarita.asx - video/x-ms-asf And having : $ gst-inspect-0.10 asf: asfdemux: ASF Demuxer And: ii gstreamer0.10-alsa 0.10.5-0ubuntu2 GStreamer plugin for ALSA ii gstreamer0.10-esd 0.10.2-2ubuntu2 GStreamer plugin for ESD ii gstreamer0.10-ffmpeg 0.10.0-2ubuntu1 FFmpeg plugin for GStreamer ii gstreamer0.10-gl 0.10.1-0ubuntu1 GStreamer plugin for OpenGL output ii gstreamer0.10-gnomevfs 0.10.5-0ubuntu2 GStreamer plugin for GnomeVFS ii gstreamer0.10-plugins-bad 0.10.1-0ubuntu1 GStreamer plugins from the "bad" set ii gstreamer0.10-plugins-bad-multiverse 0.10.1-1 GStreamer plugins from the "bad" set (Multiv ii gstreamer0.10-plugins-base 0.10.5-0ubuntu2 GStreamer plugins from the "base" set ii gstreamer0.10-plugins-good 0.10.2-2ubuntu2 GStreamer plugins from the "good" set ii gstreamer0.10-plugins-ugly 0.10.2-0ubuntu2 GStreamer plugins from the "ugly" set ii gstreamer0.10-plugins-ugly-multiverse 0.10.2-3 GStreamer plugins from the "ugly" set (Multi ii gstreamer0.10-tools 0.10.4-1ubuntu1 Tools for use with GStreamer ii gstreamer0.10-x 0.10.5-0ubuntu2 GStreamer plugins for X11 and Pango ii libgstreamer0.10-0 0.10.4-1ubuntu1 Core GStreamer libraries and elements I have a really bad audio in this file. When I play this in Xine it's fine. "bad" means that it sounds like i'm listening to a internet radio with a 1kb/s download rate and that I have very bad buffering."
".. >Thanks for your bug. Can you give an URL to download an example creating the issue? Do you try to read it with totem? Does it happen using gst-launch-0.10 playbin uri=...? .. Problems appear with totem or gst-launch. ..." example mailed by the bug submitter: http://pkg-gnome.alioth.debian.org/bugzilla/338778.asx
timestamps seem to suffer from severe rounding errors that make the audiosinks resynchronize and skip a lot.
Created attachment 63789 [details] [review] patch to make timestamp checking more tollerant to rounding errors
* gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_drain), (gst_base_audio_sink_event), (gst_base_audio_sink_render), (gst_base_audio_sink_change_state): patch to make timestamp checking more tollerant to rounding errors given that real discontinuities are to be marked on buffers. Fixes some asf files and #338778.