Hello,
actually I'm working with the VLC-ActiveX Plugin v2 to realize an embedded player in a C# project. What I want is to add different video files to a playlist and get the total lasting timespan. I found out that is necessary to play the files to extract their lengths. Here I notice that the input.length command merely works correctly if I add a sleep(100) in front of it. This leads me to the assumption that the VLC-player needs some time to extract the time information.
My question is:
Is their a way (maybe using VLC-Player events) to be aware when the player has finished the extraction of the timespan of a single file? And is it possible to extract this time without playing the video? These will help me to optimize my function calculating the whole playlist timespan.
Many thanks in advance,
NouGHt