Page 1 of 1

How to obtain Video Bitrate via libVLC

Posted: 16 Oct 2009 16:40
by SeanJanis
All,

I'm receiving an incoming streaming video feed via RTP. Is there an libVLC API mechanism to obtain the video's stream bitrate (similar to the VLC's UI: Tools > Media Information > Statistics > Stream bitrate)? If not, is there a workaround?

Thanks,
Sean

Re: How to obtain Video Bitrate via libVLC

Posted: 16 Oct 2009 22:08
by RĂ©mi Denis-Courmont
This is not currently implemented in LibVLC. Patch welcome.

Re: How to obtain Video Bitrate via libVLC

Posted: 12 Nov 2009 21:39
by vlc_rlk
Hi,
I have a similar question, I would like to gather those statistics in a text file when VLC is playing a video or streaming it. Any ideas on how to modify the source code and create this text or log file ?

My main question should be how can I output a text file with the statistics?

I found the the files that deal with the statistics panel (e.i. TOOLS -->MEDIA INFORMATION-->STATISTICS)

these are the paths

/VLC/modules/gui/qt4/components/info_panels.hpp
/VLC/modules/gui/qt4/components/info_panels.cpp


Thanks