I am writing a VLC based application that allows the user to view a single stream M2T video file, move the timeline slider to a desired location, then extract that timeline information (current time and video length) into an external file.
Currently, I am using the VLC Javascript API to play this file in a browser. Unfortunately, VLC 0.8.6i cannot properly read the timecodes in M2T video files using vlc.input.length or vlc.input.time. vlc.input.position does return a value, but it is not accurate enough to use for timing. M2T files have the same issue with VLC 0.9.0. My current workaround is to convert the M2T into MPG, but, this is not acceptable in a production environment.
What has to be done to extract time information from an M2T video file? Can this be built into VLC?
PS: The company I work for might consider bringing someone in on a contract basis if they could fix this issue and assist us on this project.