Getting played time in RTSP video
stenyak at gmail.com
Tue Jan 24 08:24:03 PST 2012
Thanks for the input.
Unfortunately, I still don't have any hints as to how to get the play time
in the original source file.
Doing back-of-the-envelope calculations on the client is not an option, I
need the actual playing time, with a precision of cents of second.
On Tue, Jan 24, 2012 at 16:08, Stefan Sauer <ensonic at hora-obscura.de> wrote:
> On 01/24/2012 03:49 PM, Bruno Gonzalez wrote:
> I have a server-client video streaming using gstreamer and RTP. So
> [source storage] --> [server] ---------> [client] --> [frames rendered
> on screen]
> Is there any way to know, for each rendered frame, what was the
> original playing time in the video source of the server?
> For example.
> - At 10 fps, after 30 seconds of playing, the "playing time" would be
> 300.0 seconds.
> - But if the network is slow, the playing time could very well be
> only 276.4 seconds.
> - Or maybe some frames could be lost if using UDP.
> - Also, if the source storage has variable framerate, I cannot use
> "10fps" or any other average fps for any calculations.
> video is synchronized to the clock. That is after 30 sec of playing time
> the video is more or less at 30s. If the network is slow, it is likely that
> some frames have been skipped.
> How could this be achieved?
> Bruno González
> Jabber: stenyak AT gmail.com
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
Jabber: stenyak AT gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel