[vlc-devel] Help please with this

none d whatever8413 at hotmail.com
Tue Jan 19 04:20:37 CET 2010


I would like to save this stats into a text file while running VLCThe following lines print the stats in the console window of ubuntu, but I want these info saved into a text file
Any suggestion please?

>From vlc/src/misc/stats.c
   fprintf( stderr, "Input : %i (%i bytes) - %f kB/s - "                     "Demux : %i (%i bytes) - %f kB/s\n"                     " - Vout : %i/%i - Aout : %i/%i - Sout : %f\n",                    p_stats->i_read_packets, p_stats->i_read_bytes,                    p_stats->f_input_bitrate * 1000,                    p_stats->i_demux_read_packets, p_stats->i_demux_read_bytes,                    p_stats->f_demux_bitrate * 1000,                    p_stats->i_displayed_pictures, p_stats->i_lost_pictures,                    p_stats->i_played_abuffers, p_stats->i_lost_abuffers,                    p_stats->f_send_bitrate );

Thanks 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390707/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100118/9bb9bf96/attachment.html>


More information about the vlc-devel mailing list