Page 1 of 1

How to get information from libVlc native Log messages

Posted: 23 Feb 2012 18:49
by TogoMouri
Hi all,

I want to know how can I extract information from libVlc (API) native log messages ,

for example i want to extract pts_delay from those messages:

[05257ba8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 11 ms)
[05257ba8] main input error: ES_OUT_RESET_PCR called
[05257ba8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 209 ms)
[05257ba8] main input error: ES_OUT_RESET_PCR called
[05257ba8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 229 ms)
[05257ba8] main input error: ES_OUT_RESET_PCR called


Thanks a lot

Please i need a help

Re: How to get information from libVlc native Log messages

Posted: 23 Feb 2012 19:26
by Jean-Baptiste Kempf
You cannot so far.

Re: How to get information from libVlc native Log messages

Posted: 23 Feb 2012 23:45
by TogoMouri
Thanks Jean-Baptiste for replying

is there any way to do this? please I need help

Thanks a lot

Re: How to get information from libVlc native Log messages

Posted: 04 Mar 2012 10:55
by XilasZ
With libvlc 1.1.x, it's possible using libvlc_log_* functions.
with 2.0, as jb said, it's not possible yet (logging has changed in vlc)

Re: How to get information from libVlc native Log messages

Posted: 05 Mar 2012 13:22
by TogoMouri
Thanks XilasZ,

Please, if you have an example using libvlc_log_* can you post it

Even in vlcj 1.2.0 there are libvlc_log_classes but I don't know how to use them !!

Thanks again

Re: How to get information from libVlc native Log messages

Posted: 05 Mar 2012 14:13
by Rémi Denis-Courmont
For the third time: there is currently no way to reach get the logs out of LibVLC.

Re: How to get information from libVlc native Log messages

Posted: 05 Mar 2012 16:08
by TogoMouri
Thanks Rémi for response

so if there is no way to get those log messages, I wonder if I can get the nomber of video cuts (coupures vidéo) and its duration (in ms) while playing an online streaming video?
Please if it exists? what class do this

and many thanks again

Re: How to get information from libVlc native Log messages

Posted: 06 Mar 2012 08:35
by Rémi Denis-Courmont
Parsing the log is anyway a bad idea; they are intended for humans. I don't understand what you're looking for.

Re: How to get information from libVlc native Log messages

Posted: 27 May 2012 22:37
by TogoMouri
Hi all

I want to evaluate the streaming video: its duration, number of cuts etc...


Thanks

Re: How to get information from libVlc native Log messages

Posted: 27 May 2012 22:45
by Rémi Denis-Courmont
You are not going to get these from the log.

Re: How to get information from libVlc native Log messages

Posted: 10 Jun 2012 13:47
by TogoMouri
Thanks Rémi Denis-Courmont

From where can I get those informations

please I need help


thanks again

Re: How to get information from libVlc native Log messages

Posted: 11 Jun 2012 08:37
by Rémi Denis-Courmont
Please refer to the documentation.

Re: How to get information from libVlc native Log messages

Posted: 13 Jun 2012 00:45
by TogoMouri
Sorry, but I didn't find documentation about that,

please can you guide me to the best documentation

thanks again

Re: How to get information from libVlc native Log messages

Posted: 23 Jun 2012 16:28
by Jean-Baptiste Kempf
Look at libVLC demo repository.