[gst-devel] Help with videorate and qos usage
Nguyen Thanh Trung
trungnt_hut at yahoo.com
Wed Jul 29 12:20:38 CEST 2009
Thanks for your answer.
So, I won't use videorate any more. I think I'll calculate the probability that a frame can be dropped based on qos event, cause I'm comparing the effection of difference codecs.
Do you think is there any thing else that I should get ?
P/S: I also get jitter and frame rate.
Thanks and best regards.
--- Ngày Thứ 4, 29/07/09, Tim-Philipp Müller <t.i.m at zen.co.uk> đã viết:
Từ: Tim-Philipp Müller <t.i.m at zen.co.uk>
Chủ đề: Re: [gst-devel] Help with videorate and qos usage
Đến: gstreamer-devel at lists.sourceforge.net
Ngày: Thứ Tư, 29 tháng 7, 2009, 16:17
On Tue, 2009-07-28 at 22:01 -0700, Nguyen Thanh Trung wrote:
> Hi, I'm new here, and I want to ask something about gstreamer:
> I'm working with a gstreamer application to get the number of dropped
> frames from a video stream. I use videorate to get the value. But, the
> result is alway 0, no matter what I tried.
> The gstreamer qos document says that qos is enabled by default for
> video, so why I did not get any dropped frame ?
> I wrote an event prob function to put after the video decoder and
> found that there's many frame have positive jitter (the diff value got
> from gst_event_parse_qos()) but they are still not dropped event I set
> max_lateness for video sink to 100.
The drop property on videorate will only tell you how many frames
videorate dropped in the process of trying to convert the upstream
framerate / input stream to the desired downstream framerate (usually
configured by using a capsfilter after the videorate element). It does
not really handle or take into account QoS-related things at all. It
merely tries to create a perfectly timestamped/spaced output stream
according to the desired output framerate. If you have a decoder
upstream that handles QoS events and skips the decoding of some frames,
videorate most likely will just fill the gaps with duplicate frames
(which would then later be dropped again by the sink because they're too
I don't think we have a way to query this kind of information at the
moment. There's a bug for it though:
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
Thông báo trạng thái bằng biểu tượng cảm xúc. Nay đã có trong Yahoo! Messenger mới.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel