More information about VLM instance.

Feature requests for VLC.
vice
Blank Cone
Blank Cone
Posts: 61
Joined: 18 Oct 2007 13:43

More information about VLM instance.

Postby vice » 12 Apr 2010 14:09

I found myself in a situation that maybe others have came before.

I've configured a VLM element to record a live stream to a file.

I'm very interested in current recording time but when I request the VLM element information I get the following instance information:

"name": "default",
"state": "playing",
"position": 0.000000,
"time": 0,
"length": 0,
"rate": 1000,
"title": "0",
"chapter": "0",
"seekable": "inst.seekable",
"playlistindex": 1

Obviously, position, time and length refers to input. Because in this case this is a live stream, all of them are 0.

I observed that in this instace information there's no information about the output. I'm more interested in output times.

time information for the output is equal to the runnig time of the instance, so this information could be called runtime. For other than live input normally time and runtime where equal unless we seek the input. In this case runtime keep always increasing but the time takes a new value depending of the new input position.

Proposed logic:
VLM element instance running -> runtime increasing,
VLM element instance paused -> runtime paused,
VLM element instance stopped -> runtime back to zero.

Could interest anybody else the time the instance was running?
It is very dificult to implement?

Cheers,
vicente

Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 9 guests