Saving video stream to multiple files

Santiago Olivera zantiago at gmail.com
Wed Oct 17 06:57:23 PDT 2012


Hi, thanks.

Well, it create the files, of various sizes, the first one is always the
biggest. The first one is usually playable but it's not a smooth video but
jumpy frames at different times. The other files do not show anything. (I
used DivX and VLC to play them).

I also tried sending the original stream to a videosink at the same time...

gst-launch -v autovideosrc ! tee name=t ! queue ! videorate !
ffmpegcolorspace ! x264enc ! mpegtsmux ! multifilesink ne
xt-file=key-frame location=C:\\gstTest\\test%05d.ts t. ! queue !
autovideosink

and it shows a jumpy video. It starts ok but after 1 second gets worse and
worse.

Thanks a lot for your time.

Santiago




On Tue, Oct 16, 2012 at 6:05 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Tue, 2012-10-16 at 17:45 -0400, Santiago Olivera wrote:
>
> Hi,
>
> > I need to save video files from a surveillance camera that runs 24/7.
> > The closest I have got is:
> >
> > gst-launch -e autovideosrc ! videorate ! ffmpegcolorspace ! x264enc !
> > mpegtsmux ! multifilesink next-file=key-frame loc
> > ation=C:\\gstest\\test%05d.ts
> >
> > But does not work well. Please Help!!!!
>
> You need to be a bit more specific. How does it "not work well" etc. ?
>
> Cheers
>  -Tim
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>




-- 
Santiago Olivera
Research assistant
Cognitive and Neural Systems Dept.
Boston University
http://www.santiagolivera.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121017/f67288dc/attachment.html>


More information about the gstreamer-devel mailing list