M2T Playback - Timecode Problems

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nburba
New Cone
New Cone
Posts: 4
Joined: 23 Jul 2008 16:12

M2T Playback - Timecode Problems

Postby nburba » 24 Jul 2008 20:08

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.

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests