Page 1 of 1

Bad picture timestamp in a video output display plugin

Posted: 07 Jan 2016 16:07
by hhervoche
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

Re: Bad picture timestamp in a video output display plugin

Posted: 28 Jun 2016 09:36
by Jean-Baptiste Kempf
date is the display date