Dynamic Caps changes with appsrc

Tim Müller tim at centricular.com
Tue Feb 9 13:28:43 CET 2016


On Tue, 2016-02-09 at 12:03 +0000, Robert Jamieson wrote:

Hi Robert,

> Just wanted to update in case anybody else has the same issue.
> 
> The issue seems to be the splitmuxsink.
> 
> I was noticing that when I was changing caps there would be no
> noticeable debug output indicating that there was errors. What I
> would see was that the mux would write the file end and stop
> processing, which would halt the whole pipeline and cause my input
> queue to backup. After attempting to fix by flushing, sending EOS
> etc. I eventually removed the splitmuxsink and replaced it with it's
> two constituent parts (the mux and the file sink) and this
> immediately solved the problem.
> 
> It has however now left me with the issue of splitting files when a
> particular size has been reached.
> 
> Hope this helps someone and saves the many, many hours I have spent
> debugging.

Thanks for the follow-up. It smells like a bug somewhere, did you file
a bug report for this already? If not it would be great if you could
file one, especially if you have some sample code that can demonstrate
the issue. Thanks!

splitmuxsink was originally written for a setup where the caps don't
change on the fly, so it's well possible something doesn't work quite
right.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com




More information about the gstreamer-devel mailing list