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 104185 - ESDSINK does not sync
ESDSINK does not sync
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: High major
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-22 21:40 UTC by Mathew Alexander
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathew Alexander 2003-01-22 21:41:39 UTC
i've compiled gstreamer/gst-plugins with no opt flags and used esdsink but
my mpeg are not sync'ing. 

command:  gst-launch --gst-scheduler=opt filesrc
location="/home/mathew/Downloads/video/mpeg/beautifulvid.mpeg" ! mpegdemux
video_%02d! { queue ! mpeg2dec ! xvideosink } mpegdemux0.audio_%02d! {
queue ! mad ! esdsink }

I've tried to add sync=true to esdsink but thats not an option.
Comment 1 Thomas Vander Stichele 2003-01-23 13:21:54 UTC
Yeah, I've noticed esd isn't working properly too yesterday.

Would be nice to get this fixed, maybe someone should comment on what
should be done to get it right.
Comment 2 David Schleef 2003-07-23 07:59:51 UTC
esdsink can't sync properly because it doesn't have a clock.  Nobody
bothered to add a clock to esdsink because the esd daemon doesn't
report the latency from samples being written to the actual audio
output.  Thus, any attempt at synchronization relies on heuristics and
guesses.

I recently added a clock to esdsink in HEAD, just because it's easy
now (due to various other changes).  The results are uninteresting. 
Instead of being "way off", it's just "a bit off", with about the same
level of annoyance.

I have no intention of backporting this to 0.6.  Esd is simply not
capable of synchronizing with video.  Thus, I'm marking the bug fixed.
 If further discussion is warranted, please reopen.

(Note that there are semi-related patches to esdsink that I do plan to
backport, since they affect bugs that are actually solvable.)