Changing filesink location when file reaches 4gb
Tim-Philipp Müller
t.i.m at zen.co.uk
Tue Jan 22 09:34:05 PST 2013
On Tue, 2013-01-22 at 09:05 -0800, hobbesc7 wrote:
> > Try multifilesink next-file=max-size max-file-size=4294967295
> >
> > (see gst-inspect-{1.0|0.10} multifilesink)
> >
> > If you use mpegpsmux aggregate-gops=true ! multifilesink you might even
> > get the next file started with a keyframe.
>
> This works great, and was super easy to implement. Only the first fragment
> is playable on its own
Hrm, that's supposed to work really, at least with H.264, might depend a
bit on the encoder though.
> but when I concatenate the fragments together they
> are all playable.
There's also a splitfilesrc that allows you to play a number of files as
if they were one single concatenated file, if that's useful to you at
all.
Cheers
-Tim
More information about the gstreamer-devel
mailing list