How to obtain Video Bitrate via libVLC

This forum is about all development around libVLC.
SeanJanis
New Cone
New Cone
Posts: 9
Joined: 16 Oct 2009 16:37

How to obtain Video Bitrate via libVLC

Postby SeanJanis » 16 Oct 2009 16:40

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15279
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to obtain Video Bitrate via libVLC

Postby Rémi Denis-Courmont » 16 Oct 2009 22:08

This is not currently implemented in LibVLC. Patch welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vlc_rlk
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Sep 2009 05:43

Re: How to obtain Video Bitrate via libVLC

Postby vlc_rlk » 12 Nov 2009 21:39

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 31 guests