trouble accessing the audio from lua script

Discuss your Lua playlist, album art and interface scripts.
Kishorereddy31
New Cone
New Cone
Posts: 2
Joined: 29 Dec 2020 19:48

trouble accessing the audio from lua script

Postby Kishorereddy31 » 29 Dec 2020 20:03

I am trying to write a Lua script that could dynamically change the playback speed based on the audio. If there is silence longer than a threshold it would increase the playback speed and when audio comes back the speed would be returned to normal.

I've been going through vlc source code checking out all the README.txt files. The one in the lua/ subfolder does mention some objects like player(), libvlc() and about() but they all seem to be user data types and I am not sure how to inspect them for any useful info about audio.

Could you please review if such an extension is possible to do in Lua..? If so please help me to proceed further.

Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 8 guests