obtain timestamp of frame when using snapshot

This forum is about all development around libVLC.
bendanan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Aug 2011 02:59
VLC version: vlc-2.1.0-git
Operating System: Linux, Windows
Location: Modi'in - Israël

obtain timestamp of frame when using snapshot

Postby bendanan » 05 Sep 2011 00:31

Hi,
Is it possible to get the RTP header fields for getting the RTP timestamp or serial number of the frame when issuing a snapshot?
Thanks in advance!

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

Re: obtain timestamp of frame when using snapshot

Postby Rémi Denis-Courmont » 05 Sep 2011 10:15

This does not make sense, since a frame is usually decoded from several RTP packets.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

bendanan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Aug 2011 02:59
VLC version: vlc-2.1.0-git
Operating System: Linux, Windows
Location: Modi'in - Israël

Re: obtain timestamp of frame when using snapshot

Postby bendanan » 06 Sep 2011 03:03

Yes, you are right, but all the packets of the frame share the same RTP timestamp and serial number, so the last one should be enough. Can we get this information?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests