[vlc-devel] commit: rc: add some more statistics. ( Rémi Duraffort )

none d whatever8413 at hotmail.com
Sat Nov 21 05:52:55 CET 2009


Hi. I need help. Please could you guide me on the following problem.
I want vlc to create a text file each time a video is played with the statistics such as input bitrate, lost frames, etc.
Could you please tell me how should I start or any idea on how to do this. I am kinda new to vlc and would like to learn.
Thanks 

> To: vlc-devel at videolan.org
> Date: Fri, 20 Nov 2009 11:28:33 +0100
> From: git at videolan.org
> Subject: [vlc-devel] commit: rc: add some more statistics. ( Rémi Duraffort )
> 
> vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 20 11:28:18 2009 +0100| [90a6468ca739c70b4e50a4270d4ad862acefa037] | committer: Rémi Duraffort 
> 
> rc: add some more statistics.
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90a6468ca739c70b4e50a4270d4ad862acefa037
> ---
> 
>  modules/control/rc.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/modules/control/rc.c b/modules/control/rc.c
> index f59e9ce..995d2d1 100644
> --- a/modules/control/rc.c
> +++ b/modules/control/rc.c
> @@ -1896,6 +1896,10 @@ static int updateStatistics( intf_thread_t *p_intf, input_item_t *p_item )
>              (float)(p_item->p_stats->i_demux_read_bytes)/1000 );
>      msg_rc(_("| demux bitrate    :   %6.0f kb/s"),
>              (float)(p_item->p_stats->f_demux_bitrate)*8000 );
> +    msg_rc(_("| demux corrupted  :    %5i"),
> +            p_item->p_stats->i_demux_corrupted );
> +    msg_rc(_("| discontinuities  :    %5i"),
> +            p_item->p_stats->i_demux_discontinuity );
>      msg_rc("|");
>      /* Video */
>      msg_rc("%s", _("+-[Video Decoding]"));
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
 		 	   		  
_________________________________________________________________
Windows 7: I wanted simpler, now it's simpler. I'm a rock star.
http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091120/227397d2/attachment.html>


More information about the vlc-devel mailing list