Hi all,<div>I've been trying to use VLC with http interface and I came across an obstacle.</div><div>(relevant to one of my earlier questions: <a href="http://mailman.videolan.org/pipermail/vlc-devel/2012-February/086412.html">http://mailman.videolan.org/pipermail/vlc-devel/2012-February/086412.html</a>)<br clear="all">
<div><br></div><div>With the version 2.0, the XML string returned for the status query has changed and I can now get the playback position information as a float between 0-1, which is great. </div><div>But I still don't know what's the overall length of the video in millisecond precision (so that I can calculate the playback position). The length information in the XML string is only in seconds, and VLC doesn't return the length of the video in milliseconds or number of frames, which is the precision I need.</div>
<div><br></div><div>I could just use ffmpeg or ffprobe to learn the length externally, but I want my solution to be robust to the path variations when gui is used to load a video (the filename field doesn't provide the path, just the name of the file).</div>
<div><br></div><div>Any ideas on how can I get a precise position of the playback? Again, this is for a time critical experimental task, so I can't allow too much delay between queries and values returned.</div><div>Thanks!</div>
<div><br></div>-- <br>Ali B Arslan, M.Sc.<br>Cognitive, Linguistic and Psychological Sciences<br>Brown University<br>
</div>