[gst-devel] Writing audio to a file
ensonic at hora-obscura.de
Fri Jan 25 20:28:01 CET 2008
Jeffrey Barish schrieb:
> Michael Smith wrote:
>> On Thu, 2008-01-24 at 13:49 -0700, Jeffrey Barish wrote:
>>> I am not able to write audio to a file (that can be played). I have
>>> audiotestsrc ! audioconvert ! vorbisenc ! filesink location=test.ogg
>> This is dumping raw vorbis packets to a file. Raw vorbis packets don't
>> make any sense; they're not decodable.
>> You need to mux it into a container format (usually ogg); oggmux does
>> So you can use: audiotestsrc ! audioconvert ! vorbisenc ! oggmux !
> I'm not sure how a novice is supposed to figure out something like this,
gst-launch is not really a user tool.
> especially considering that GStreamer Base Plugins 0.10 Plugins Reference
> Manual doesn't even mention oggmux (although it does mention oggdemux).
I'll add it after the code-freeze (in two days).
> The next thing I wanted to do was to rip a track other than 1 using
> cdparanoiasrc. It seems that cdparanoiasrc has a property "track", but I
> can't find documentation on it either.
Its inheritted from GstCddaBaseSrc, there you find the docs for the track property.
> Other than the documentation, I think that GStreamer is pretty nice.
Reporting docs bugs as you did will make it better :)
More information about the gstreamer-devel