ensonic at hora-obscura.de
Sun Feb 19 23:28:00 CET 2006
Lutz Müller wrote:
> 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".
Wounldn't that work using gnomevfssink? Gnome vfs can read files from and store
files into tar.gz archives.
More information about the gstreamer-devel