playbin2 undecoded video and about-to-finish signal

Tim Müller tim at centricular.com
Thu Mar 31 09:32:37 UTC 2016


On Thu, 2016-03-31 at 12:13 +0300, Krutskikh Ivan wrote:

Hi,

> Thanks for pointing me to splitmuxsink and splitmuxsrc. That would
> spare me a good chunk of code.=) 
> 
> The only thing I don't understand about splitmuxsrc is how to specify
> a specific file list or to modify it in playing state. By default I
> have a separate directory for each hour of recording. I can stream
> files from one hour with location=/archive/video/cam/day/hour/*.mp4,
> but what happens when I finish this hour? The awkward hack is to make
> a temp directory and add simlinks to videofiles from main archive to
> it in advance...

splitmuxsink has the "format-location" signal.

splitmuxsrc might need new API for that (e.g. a "locations" property of
type G_TYPE_STRV so you can set an array of file names).

 Cheers
  -Tim

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




More information about the gstreamer-devel mailing list