[gst-devel] Incorrect 'Playback length' in ogg metadata after cdparanoia segment seek?

Jason Gerard DeRose jderose at jasonderose.org
Tue Aug 16 11:39:03 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm working with the following pipeline for a CD ripper:
cdparanoia > audioconvert > rawvorbisenc > oggmux > filesink

When I do a segment seek to say, track 4, and run the pipeline, the
resulting ogg metadata states that the 'Playback length' is the duration
from the start of the CD to the end of track 4, rather than just the
duration of track 4.  (I used ogginfo to verify this.)

However, only track 4 was ripped.  Something GStreamer based, like
Rhythmbox, will show the correct duration as it must directly inspect
the stream rather than looking at only the metadata.

I've attached python code greatly trimmed down from my application to
demonstrate just this problem.  I'm using the stable Debian Sarge
packages: gstreamer 0.8.9, gst-plugins 0.8.8, and gst-python 0.8.1.

Did I miss something obvious?  I didn't find anything sounding like this
in the bugs... should I file a bug?

Any advice would be greatly appreciated.  Thanks to everyone for their
hard work on GStreamer!

Happy hacking,
Jason DeRose
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQwIygXqoeC9LR4KXAQIqawf9Hz0R9Ufg2S5HDBGPyL9JXOYGQ5vfxKJj
VI/MBGrlcm0A7KnWmBQug2/HjK0Qmmtlymj4zu07Jnjohd0wlxgD+3uWHck7rdHI
vfTLG1TeEGGySu5bWBKa6C+CxlxEGFZ6sddivmcOCyf/oajKyoo25DpwuoS6IuV3
5x3N9rkqyHwbQNxyvEu8hMx+NfVS4o3DOSk9yUjNkakMvNJuxuxmtdD2E9bFu165
f/LzVFe3ur6k+ZYeqbkuPLdgqlP/jyIJP1uvWwTnmwZ/CpbnTkmWdeUC5/NZw7y+
bdvlJA+sohRejQZnVddGGZKqq8Wl+eOpaip4Q/7QwZNJDV5jViVfxw==
=/rMU
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segment_seek_problem.py
Type: text/x-python
Size: 1471 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20050816/cdaa3129/attachment.py>


More information about the gstreamer-devel mailing list