<div dir="ltr"><div><div><div>Hi there,<br><br></div>what is the common work flow or what is a gstreamer based application way for selecting an appropriate media format based on input <br>file giving by the user.<br><br></div>
Consider you are writing an application for changing some mediafile properties like<br></div><div>- volume<br></div><div>- duration<br></div><div>- start or end of media file<br><br><br></div><div>I know how to make a gst pipeline for opening, playing or change<br>
the media data (volume control, or playing for a specific duration).<br><br><br></div><div>But how would I create the encoder or determine the audioformat<br>based on the input media file.<br><br></div><div>If the user selects an mp3, or a wave file, she expects to<br>
</div><div>find the modified media, stored with the same media format.<br><br></div><div>Is there a common way to create the "output-sink-path" based on<br>the input file format?<br><br><br><br></div><div>best regards<br>
Nicolai Hess<br></div><div><div> <br></div></div></div>