[totem-gstreamer] AV synchronization problems

Bug #86551 reported by Mika Fischer
4
Affects Status Importance Assigned to Milestone
GStreamer
Fix Released
Medium
gst-plugins-base0.10 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

When watching XviD videos the synchronization between Audio and Video is lacking. The problem is getting worse the longer I watch the video.

I have no such problems with totem-xine or gxine.

I tried setting all Audio options in the control panel to ALSA but that didn't help...

Let me know if you need more info.

ProblemType: Bug
Date: Tue Feb 20 20:42:19 2007
DistroRelease: Ubuntu 7.04
Uname: Linux mika-pc 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug. Does it happen on a specific video or with any video? Do you get the same problem if you play it with "gst-launch-0.10 playbin uri=file:///path/to/file"?

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Mika Fischer (zoop) wrote :

Sorry for the delay!

It happens with all XVID videos I've tested. Do you happen to know freely available videos in this format?

The problem persists with gst-launch-0.10 playbin, but there I also get some output which may help in finding the casue of the problem:

mika@mika-pc:~$ LANG=C gst-launch-0.10 playbin uri=file://$(pwd)/test.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
No accelerated IMDCT transform found
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: audioclock1
WARNING: from element /playbin0/abin/audiosink/audiosink-actual-sink-alsadmix: Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(827): gst_base_audio_sink_render (): /playbin0/abin/audiosink/audiosink-actual-sink-alsadmix:
Unexpected discontinuity in audio timestamps of more than half a second (0:00:00.500000000), resyncing
Got EOS from element "playbin0".
Execution ended after 1301864183000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

Any idea how to further debug this problem?

BTW: vlc also has no such problems.

Changed in totem:
status: Needs Info → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug is due to gstreamer then, could you get a debug log when trying to play the video? "GST_DEBUG_NO_COLOR=1 GST_DEBUG=5 gst-launch playbin uri=URI"?

Changed in totem:
status: Unconfirmed → Needs Info
Revision history for this message
Mika Fischer (zoop) wrote :

Well, GST_DEBUG=5 is completely over the top. It produces so much output that my computer couldn't play the video without skipping and my disk was filled up pretty fast. So I tried with 1, 2, 3 and 4. 1 does not give any more output, the output of 2 is attached. I'll also attach a gzipped version of the 3 output (12 MB unzipped!). The output with GST_DEBUG=4 is 2.7 GB so I'll skip that one as well...

Changed in gstreamer0.10:
status: Needs Info → Unconfirmed
Revision history for this message
Mika Fischer (zoop) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gstreamer0.10:
importance: Medium → Low
status: Unconfirmed → Confirmed
Changed in gstreamer:
status: Unknown → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Comment from upstream:

"This kind of thing is much easier to look into with a sample file.

Could you make a log like this please:

 $ export GST_DEBUG_NO_COLOR=1
 $ GST_DEBUG=a52dec:5,*alsa*:5,baseaudiosink:5 gst-launch-0.10 playbin
uri=file:///home/mike/test.avi 2>dbg.log
 $ gzip dbg.log"

Changed in gstreamer0.10:
status: Confirmed → Needs Info
Changed in gstreamer:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in gstreamer0.10:
status: Needs Info → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

the log has been attached upstream, reopening

Changed in gstreamer0.10:
status: Rejected → Confirmed
Changed in gstreamer:
status: Needs Info → Unconfirmed
Changed in gstreamer:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you attach an example to the bug or give an url to download one?

Changed in gstreamer0.10:
status: Confirmed → Incomplete
Changed in gstreamer:
status: Incomplete → Invalid
Changed in gstreamer:
status: Invalid → Confirmed
Changed in gstreamer0.10:
status: Incomplete → Triaged
Changed in gstreamer:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in gstreamer0.10:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is available in ubuntu now

Changed in gst-plugins-base0.10:
status: Fix Committed → Fix Released
Changed in gstreamer:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.