trouble accessing the audio from lua script
Posted: 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.
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.