[gst-devel] tar[dec,enc]

Lutz Müller lutz at topfrose.de
Sun Feb 19 09:46:03 CET 2006


Using the tarenc element I just uploaded to bugzilla
(http://bugzilla.gnome.org/show_bug.cgi?id=303975), you can now rip
whole CDs and write the result to a tar file: 

gst-launch cdiocddasrc mode=continuous ! audioconvert ! vorbisenc !
oggmux ! tarenc ! filesink location=test.tar

I've got two questions that I'd like to ask the GStreamer gurus on this

(1) I need to know the file size that is going to be written to a tar
archive upfront. But the oggmux element doesn't know the file size
upfront. Therefore, I am writing the buffers to a temporary file and
only pass the data along if the whole track has been received. That's no
elegant solution. Can you think of a better one?

(2) How do I find out the file extension to a given GstCaps? I.e. I
would like to map application/ogg to ".ogg".

Lutz Müller <lutz at topfrose.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060219/dc1a289a/attachment.pgp>

More information about the gstreamer-devel mailing list