[Gstreamer-bugs] GstPlay Poblem when switching songs
Antoine Perdaens
tlg at denali.be
Fri Apr 16 08:43:40 PDT 2004
Hi all, hi have a little problem when I do a gst_play_location (); the
next song doens't always (doesn't always +-= never) start well, it has a
little gap at the begining.
Looking at the ticks, for the second song the ticks starts sometimes at
nearly 0.7-0.8 second, and stays at that value for may be 4-5 ticks (a
tick is 200MS). This is when the song has a gap.
To expose my problem you can try with a modified version of
examples/gstplay/player.c with the patch attached
Here is the ouput:
tlg at portable gstplay
$ ./player /home/tlg/Documents/Media/Rb/The_Verve/Urban_Hymns/01\ -\
Bitter_Sweet_Symphony.ogg /home/tlg/Documents/Media/Rb/Various/Trainspotting/13\ -\ Born_Slippy.ogg
got video size 16, 16
serial: 321190394
title: Bitter Sweet Symphony
artist: The Verve
track number: 1
track count: 13
album: Urban Hymns
comment: Ripped with Sound Juicer
encoder: Xiph.Org libVorbis I 20030909
encoder version: 0
nominal bitrate: 192003
time tick 0.015692
got length 358440000000
time tick 0.215283
time tick 0.415283
time tick 0.616236
time tick 0.816236
time tick 1.016236
time tick 1.217188
time tick 1.417188
time tick 1.617143
time tick 1.817143
got length 0
time tick 0.000000
got video size 16, 16
serial: 1296857087
time tick 0.658741
title: Born Slippy
artist: Underworld
track number: 13
track count: 14
album: Trainspotting
comment: Ripped with Sound Juicer
encoder: Xiph.Org libVorbis I 20030909
encoder version: 0
nominal bitrate: 192003
time tick 0.658741
got length 584613333333
time tick 0.658741
time tick 0.658741
time tick 0.658741
time tick 0.808753
time tick 1.008753
time tick 1.209751
time tick 1.409751
time tick 1.609705
time tick 1.810703
time tick 2.010703
time tick 2.210658
time tick 2.411655
time tick 2.612608
time tick 2.814195
time tick 3.013878
-------------- next part --------------
A non-text attachment was scrubbed...
Name: player.patch
Type: text/x-patch
Size: 1190 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-bugs/attachments/20040416/bee526de/attachment.bin>
More information about the Gstreamer-bugs
mailing list