Query on Gstreamer framework

Ratheendran R ratheendran.s at gmail.com
Thu Feb 5 23:32:25 PST 2015


Thanks Stefan for all the clarification to my query.

Hi All,

I am currently working on a use case to enable recording of video stream on
an event,  we are interested to record for time duration (time of event )
+/- Delta, where Delta is the duration in sec.

For this, I created a Gstreamer pipe line to show the live stream on the
screen and also record the compressed video with delta = 30 sec is created
with ,now this is not working for me. I am to see the live video from the
web-cam but recorded output.avi file size is 0 bytes.

gst-launch-0.10 -v v4l2src device=/dev/video0 !
video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! tee name=t !
queue  ! autovideosink t. ! jpegenc ! avimux name=mux ! queue
max-size-buffers=0 max-size-time=0 max-size-bytes=0
min-threshold-time=30000000000 ! filesink location=output.avi

Can any one suggest a better way to do this task.

Also can any one share info on plug-in, which take care of wear leveling in
case of continuous recording on a hard disk.
I have came across TI DVR File Format :
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/129931

Do Gstreamer has a mechanism to do anything similar activity.

Can any one comment on Gstreamer daemon plug-in, this seems to make life
easier for programmer, is this code production ready.
https://github.com/RidgeRun/gstd/wiki/Building-gstreamer-daemon

Thanks for your valuable time.

Ratheendran

On Sun, Jan 11, 2015 at 12:35 AM, Stefan Sauer <ensonic at hora-obscura.de>
wrote:

>  On 01/10/2015 07:22 PM, Ratheendran R wrote:
>
>  Hello All,
>
>
>  I am new to gstreamer frame work, so excuse me if I am putting any basic
> question in the forum.
>
>
>  I have some technical/license side query on gstreamer framework.
>
>
>  1. We are planing to use Gstreamer ported by freescale on imx6, so my
> question is can we use gstreamer on the production system. Any legal
> obligations?
>
> GStreamer is LGPL and many plugins are as well. An exception are e.g.
> plugins of the gst-plugins-ugly module. For legal advice better contact a
> lawyer though!
>
>  2. How many pipeline is possible from a single gstreamer source element.
> I want a single source to sink the video sceen as well as the write to a
> circullar buffer.
>
> You can use the tee element to create branches in the graph. E.g.
> camerabin is a high level element that uses one camera source and e.g.
> shows the video on screen and records it at the same time.
>
>  3. We want to store the encoded video in a circular buffer based on time
> stamp and latter would like to retrive the samples of frames based on the
> time stamp, I would like to parse the same video stroed in the circular
> buffer and create a new video file based on sampled frames.
>
> I am not following. A queue element could keep a backlog of frames, but
> would *not* offer convenient random access.
>
>  -I would like to know does the existing gstreamer pipeline make all the
> things possible.
>
>  -Do any one know of the existing application to which I can take a look
> and start my activity.
>
> Each git module has a tests/examples directory.
> Stefan
>
>
>  Thanks for you time to look into my queries.
>
>
>  Regards,
>
> Ratheendran
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150206/ab637bb5/attachment.html>


More information about the gstreamer-devel mailing list