Parameterized script execution

Feature requests for VLC.
hue
New Cone
New Cone
Posts: 1
Joined: 19 Jan 2023 01:50

Parameterized script execution

Postby hue » 08 Sep 2024 02:03

I use ffmpeg to do direct stream copies of videos between key frames which looks like this:

Code: Select all

ffmpeg.exe -ss 00:01:36.000 -to 00:02:11.000 -i "input.mp4" -c copy -y "output.mp4"
It would be cool to be able to define parameterized command lines that take information from the current-running video and the current timestamp. You could have VLC run that same command line like so:

Code: Select all

ffmpeg.exe -ss %selstart:hh:mm.ttt% -to %selend:hh:mm.ttt -i "%filepath%" -c copy -y "%filenamenoext%_output.%fileext%"
That would require being able to select a range which I don't know if you can do. You then run the command via menu item or button that you can add to the UI to automatically direct-stream copy the range to a new video file.

I am sure a lot of ideas could spawn from this.

Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 25 guests