[gst-devel] newbie questions
Akos Maroy
darkeye at tyrell.hu
Tue May 24 02:55:34 CEST 2005
Hi,
I'm new to gstreamer, and I have a few questions, which I'm sure you'll
find very basic, but I couldn't myself find the answer for.
- difference / converting between audio/x-raw-int and audio/x-raw-float
I see that some audio related plugins use x-raw-int, some use
x-raw-float as the raw audio format. is there a plugin that would
convert between these two formats?
for example, vorbisdec has a 'src' pad in x-raw-float format, but for
osssink (or volenv) only support x-raw-int
- how to write a play offset plugin?
I'd need the following functionality: for an input, I'd either need to
play only a portion, or I'd need to add extra silence before or after
the input.
for example, say I have a 60 second audio input, I need to play it as
follows:
- only play from the 5th second up to the 45th second,
making it a 40 second input
+--------- 60 second input -----------------+
+---- 5th to 45th second ---------+
- start playing only 11seconds later, and after the 60secs, have
a 5second silence afterwards, making it a 76second input
+--------- 60 second input -----------------+
+-11sec-++--------- 60 second input -----------------++-5sec-+
I wonder how this could be achieved with a plugin (or if there's already
a plugin that achieves this functionality). why I'm wondering is that
the chains channel data through the whole chain, but here a plugin
making the above functionality available whould need to act to some
extent without receiving input on its sink.
Akos
More information about the gstreamer-devel
mailing list