Common work flow for choosing "appropriate" media output format

Nicolai Hess nicolaihess at web.de
Sat Jan 12 06:03:53 PST 2013


Hi there,

what is the common work flow or what is a gstreamer based application  way
for selecting an appropriate media format based on input
file giving by the user.

Consider you are writing an application for changing some mediafile
properties like
- volume
- duration
- start or end of media file


I know how to make a gst pipeline for opening, playing or change
the media data (volume control, or playing for a specific duration).


But how would I create the encoder or determine the audioformat
based on the input media file.

If the user selects an mp3, or a wave file, she expects to
find the modified media, stored with the same media format.

Is there a common way to create the "output-sink-path" based on
the input file format?



best regards
Nicolai Hess
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130112/71822a20/attachment.html>


More information about the gstreamer-devel mailing list