|
List Info
Thread: live video latency
|
|
| live video latency |

|
2007-01-21 20:40:52 |
For an upcoming play, I'm taking a live webcam feed,
flipping it and
adding an overlay to the image. I've got this working with
the
following pipeline:
gst-launch "filesrc location=overlay.png ! pngdec
! alphacolor ! videomixer name=mix ! ffmpegcolorspace
! videoflip method=horizontal-flip ! xvimagesink
v4l2src! ffmpegcolorspace ! mix."
The only problem with this is that there's about a
half-second or so
of latency between the live action and what comes out the
end of
the pipeline. A much simpler pipeline also exhibits this.
Are there
any obvious tricks for reducing the latency?
Thanks,
Anthony
--
Anthony Baxter <anthony interlink.com.au>
It's never too late to have a happy childhood.
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel
|
|
| Re: live video latency |

|
2007-01-23 05:48:27 |
|
On Mon, 2007-01-22 at 13:40 +1100, Anthony Baxter wrote:
> For an upcoming play, I'm taking a live webcam feed, flipping it and
> adding an overlay to the image. I've got this working with the
> following pipeline:
> gst-launch "filesrc location=overlay.png ! pngdec
> ! alphacolor ! videomixer name=mix ! ffmpegcolorspace
> ! videoflip method=horizontal-flip ! xvimagesink
> v4l2src! ffmpegcolorspace ! mix."
>
> The only problem with this is that there's about a half-second or so
> of latency between the live action and what comes out the end of
> the pipeline. A much simpler pipeline also exhibits this. Are there
> any obvious tricks for reducing the latency?
Set xvimagesink sync=false so that the sink runs ASAP. The rate is
controlled by v4l2src.
The only element that adds latency in this pipeline is v4l2src. It
probably uses N internal buffers. There does not seem to be a property
to reduce N on v4l2src..
Wim
>
> Thanks,
> Anthony
>
--
Wim Taymans fluendo.com>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
|
| Re: live video latency |

|
2007-01-25 00:58:39 |
|
hi,
On 12:48:27 pm 23/01/2007 Wim Taymans fluendo.com> wrote:
> On Mon, 2007-01-22 at 13:40 +1100, Anthony Baxter wrote:
> > For an upcoming play, I'm taking a live webcam feed, flipping it
> > and adding an overlay to the image. I've got this working with the
> > following pipeline:
> > gst-launch "filesrc location=overlay.png ! pngdec
> > ! alphacolor ! videomixer name=mix ! ffmpegcolorspace
> > ! videoflip method=horizontal-flip ! xvimagesink
> > v4l2src! ffmpegcolorspace ! mix."
> >
> > The only problem with this is that there's about a half-second or
> > so of latency between the live action and what comes out the end
> > of the pipeline. A much simpler pipeline also exhibits this. Are
> > there any obvious tricks for reducing the latency?
>
> Set xvimagesink sync=false so that the sink runs ASAP. The rate is
> controlled by v4l2src.
>
> The only element that adds latency in this pipeline is v4l2src. It
> probably uses N internal buffers. There does not seem to be a property
> to reduce N on v4l2src..
v4l2src uses 2 buffers by default. CVS version has a property "queue-size"
to control this.
Stefan
>
> Wim
>
>
> >
> > Thanks,
> > Anthony
> >
> --
> Wim Taymans fluendo.com>
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your opinions on IT & business topics through brief surveys -
> and earn cash http://www.techsay.com/default.php?page=join.php&p=sourc
> eforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|