programmatic video playback starting N seconds into video

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
teambailey
New Cone
New Cone
Posts: 3
Joined: 09 Mar 2015 19:29

programmatic video playback starting N seconds into video

Postby teambailey » 09 Mar 2015 20:47

Local video files need to be loaded into a play list. Upon playing, video playback needs to begin 3 seconds past the start of the first frame.

The following two code examples do not seem to work. In each case, video playback just begins at the first frame of the video.

// Try #1
AxAXVLC.AxVLCPlugin2.playlist.add(@"file:///" + videoFileFullName);
AxAXVLC.AxVLCPlugin2.StartTime = 3;
AxAXVLC.AxVLCPlugin2.playlist.playItem(0);

// Try #2
AxAXVLC.AxVLCPlugin2.playlist.add(@"file:///" + videoFileFullName, "whatever", "--start-time=3");
AxAXVLC.AxVLCPlugin2.playlist.playItem(0);

Anyone encountered this issue before?

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 63 guests