Hello,<br><br>I&#39;m currently developing a source plugin that gets ISO MP4 streams from a server. These streams are the same video, but with different bitrate/resolution, hence different quality.<br>I need to be able to change the stream quality, seamlessly, while the gstreamer pipeline is playing.<br>
The typical pipeline looks like this:<br>              source ! qtdemux ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink<br><br>I already tried 2 solutions for the change to take effect, but with no luck:<br>1/ send the new MP4 file header (ftyp+moov boxes), then the movie fragments (moof+mdat boxes). The problem is that qtdemux thinks it&#39;s a new video stream, hence creates a new source video pad.<br>
2/ don&#39;t send the new MP4 header, simply send the new movie fragments. Nor qtdemux or ffdec_h264 notice the change, ffdec_h264 produces decoding errors, the output video is scrambled.<br><br>Do you have any idea how I can achieve this?<br>
<br>Cheers,<br>Christophe Dongieux.<br><br>