Bad picture timestamp in a video output display plugin

This forum is about all development around libVLC.
hhervoche
New Cone
New Cone
Posts: 4
Joined: 10 Dec 2015 17:20

Bad picture timestamp in a video output display plugin

Postby hhervoche » 07 Jan 2016 16:07

I'm writing a video output out-of-tree plugin for VLC, and I was wondering what the member date of the object picture_t actually is ? The picture_t we either get from the prepare of display methods.

First I though It was timestamp of the picture I want to render and which is the information I'm looking for. But I displayed this timestamp in the display method, and it seems not to be meaningful, i.e. on several video files or even a rtsp feed from a live camera, the date member is sometimes negative (what is the epoch choosen ?), doesn't seem related to video length...

My question : is the member date generated internally by VLC or simply information pass by VLC by reading input feed ?

Info: Ubuntu 14.04-64b with VLC media player 2.1.6 Rincewind

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

Re: Bad picture timestamp in a video output display plugin

Postby Jean-Baptiste Kempf » 28 Jun 2016 09:36

date is the display date
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 29 guests