Stopping and starting a stream with timestamps or frames

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pcheng
Blank Cone
Blank Cone
Posts: 11
Joined: 18 May 2006 21:42

Stopping and starting a stream with timestamps or frames

Postby pcheng » 01 Nov 2006 10:53

Dear all,

I am a new user of VLC and I wanted to develop an application that will allow me to stop a stream and then staring the stream again from the point that it stopped.

I wanted to know if there is a way of knowing the frame or time that the stream stopped and then using that information to start the stream from that point. The reason I want to do this is to have two versions of the same file and when I choose I can switch from one to the other while still staying in the same frame or time.

I know the answer is somewhere here but I thought I'd send the message while I am browsing the forums.

Thanking you all in advance,

Pericles

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 01 Nov 2006 22:03

This will not be possible in vlc any time soon. VLC treats all data very simplistic and has no concepts of where frames are in a file.
Don't use PMs for support questions.

Tappen
Cone that earned his stripes
Cone that earned his stripes
Posts: 150
Joined: 30 Oct 2006 07:55

Stopping the Starting

Postby Tappen » 02 Nov 2006 04:31

If you're in Windows, and can program, the ActiveX control will keep you informed of the current timestamp. I wrote a small app that creates an xml file with the timestamp when I stop playing and restarts me at the same place if I restart the video at a later time.

pcheng
Blank Cone
Blank Cone
Posts: 11
Joined: 18 May 2006 21:42

Postby pcheng » 03 Nov 2006 17:46

Is there at least a way to start a vlc stream from a certain time? Will the start offset option allow me to do that? If so, then maybe I can set a timestamp right before starting the stream and then another when I want to close the stream and use the difference to start the next stream at that position.

I will try this and see how it works.

Thanks for the replies,

Pericles


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests