How to get information from libVlc native Log messages

This forum is about all development around libVLC.
TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

How to get information from libVlc native Log messages

Postby TogoMouri » 23 Feb 2012 18:49

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to get information from libVlc native Log messages

Postby Jean-Baptiste Kempf » 23 Feb 2012 19:26

You cannot so far.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

Re: How to get information from libVlc native Log messages

Postby TogoMouri » 23 Feb 2012 23:45

Thanks Jean-Baptiste for replying

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

Thanks a lot

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: How to get information from libVlc native Log messages

Postby XilasZ » 04 Mar 2012 10:55

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)

TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

Re: How to get information from libVlc native Log messages

Postby TogoMouri » 05 Mar 2012 13:22

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

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

Re: How to get information from libVlc native Log messages

Postby Rémi Denis-Courmont » 05 Mar 2012 14:13

For the third time: there is currently no way to reach get the logs out of LibVLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

Re: How to get information from libVlc native Log messages

Postby TogoMouri » 05 Mar 2012 16:08

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

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

Re: How to get information from libVlc native Log messages

Postby Rémi Denis-Courmont » 06 Mar 2012 08:35

Parsing the log is anyway a bad idea; they are intended for humans. I don't understand what you're looking for.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

Re: How to get information from libVlc native Log messages

Postby TogoMouri » 27 May 2012 22:37

Hi all

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


Thanks

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

Re: How to get information from libVlc native Log messages

Postby Rémi Denis-Courmont » 27 May 2012 22:45

You are not going to get these from the log.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

Re: How to get information from libVlc native Log messages

Postby TogoMouri » 10 Jun 2012 13:47

Thanks Rémi Denis-Courmont

From where can I get those informations

please I need help


thanks again

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

Re: How to get information from libVlc native Log messages

Postby Rémi Denis-Courmont » 11 Jun 2012 08:37

Please refer to the documentation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TogoMouri
New Cone
New Cone
Posts: 9
Joined: 22 Feb 2012 18:44

Re: How to get information from libVlc native Log messages

Postby TogoMouri » 13 Jun 2012 00:45

Sorry, but I didn't find documentation about that,

please can you guide me to the best documentation

thanks again

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to get information from libVlc native Log messages

Postby Jean-Baptiste Kempf » 23 Jun 2012 16:28

Look at libVLC demo repository.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 3 guests