Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
90583f82
Commit
90583f82
authored
Feb 13, 2010
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update vlc.input doc.
parent
30090106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
share/lua/README.txt
share/lua/README.txt
+19
-6
No files found.
share/lua/README.txt
View file @
90583f82
...
...
@@ -98,23 +98,36 @@ h:redirect( url_dst, url_src ): Redirect all connections from url_src to url_dst
Input
-----
input.info(): Get the current input's info. Return value is a table of tables. Keys of the top level table are info category labels.
input.is_playing(): Return true if input exists.
input.get_title(): Get the input's name.
input.stats(): Get statistics about the input. This is a table with the following fields:
input.add_subtitle(url): Add a subtitle to the current input
input.item(): Get the current input item. Input item methods are:
:uri(): Get item's URI.
:name(): Get item's name.
:duration(): Get item's duration in seconds or negative value if unavailable.
:is_preparsed(): Return true if meta data has been preparsed
:metas(): Get meta data as a table.
:set_meta(key, value): Set meta data.
:info(): Get the current input's info. Return value is a table of tables. Keys of the top level table are info category labels.
:stats(): Get statistics about the input. This is a table with the following fields:
.read_packets
.read_bytes
.input_bitrate
.average_input_bitrate
.demux_read_packets
.demux_read_bytes
.demux_bitrate
.average_demux_bitrate
.demux_corrupted
.demux_discontinuity
.decoded_audio
.decoded_video
.displayed_pictures
.lost_pictures
.decoded_audio
.played_abuffers
.lost_abuffers
.sent_packets
.sent_bytes
.send_bitrate
.played_abuffers
.lost_abuffers
Messages
--------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment