Search found 16 matches

Go to advanced search

by ElisaCol
19 Jan 2019 11:36
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

https://pastebin.com/gkAFMiad Here is a newer version with better path handling (spaces work now) and an new "Delete all" button to delete the timestamps if changing the input video without closing the dialog. Greetings Eli Here it is in action: First run routine demands the path to mkvMer...
by ElisaCol
17 Jan 2019 11:08
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

I finished it!

https://pastebin.com/BWDTvUzr

Feel free to test and use it. Maybe someone wants to port it to apple or linux.

Greetings
Eli
by ElisaCol
16 Jan 2019 11:31
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

I got it. I had to delete the w variable and to update the dialog. :)
by ElisaCol
16 Jan 2019 00:02
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Do you have an idea of how to manage that after the first run it saves and changes to the main program? Many thanks! :)
by ElisaCol
15 Jan 2019 23:57
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

The routine: -function activate() looks if mkvMergePath.txt is there and has text. -if yes, it starts create_dialog (main program) -if not, first_dialog starts, opens mkvMergePath.txt and wants a text input -after input, a button starts a save_path function which stores the data into .txt (works gre...
by ElisaCol
15 Jan 2019 23:43
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Many, many thanks mederi! :) Though I can't believe you are the lonesome knight who fights alone in this forum. Where are the millions and millions of people who use VLC? It seems you are the only one who helps newbies like me. That's a bit ridiculous for such a big player like VideoLan. But its als...
by ElisaCol
15 Jan 2019 11:34
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Hi, I got stuck while implementing an external file read function. A directory listing is way to much for me as a newbie so I just planned to let the user input the path in a text field to save it in an external file (next to the script). This should be kind of a first run routine that checks if the...
by ElisaCol
12 Jan 2019 17:56
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Here you can see it in action: https://i.ibb.co/VqJJHLf/Aufnahme-2019-01-12-17-48-39-971.gif You watch a movie or your own video records and enter timestamps where you want the video to get split. mkvMerge automatically does the job without re-encoding. But it only can cut on keyframes what makes it...
by ElisaCol
12 Jan 2019 17:36
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Here you can find the code on pastebin: https://pastebin.com/egzY2625

Everything stands in the description. And I will add a gif animation shortly to show you what it does. :)
by ElisaCol
12 Jan 2019 17:01
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Many thanks for your answer. Drag and drop into VLC would be okay but not for an .exe file I guess. My plan is to make kind of a first run dialog of the extension where people have to point to the mkvMerge.exe as this is it all about. I also could use a text input to let people copy the text (path) ...
by ElisaCol
12 Jan 2019 11:55
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Okay, there is only one thing left to do. I need a dialog to point the user to the mkvMerge directory. I thought about two options: 1. Using the VLC file dialog to point the user to the mkvMerge.exe. This seems kind of ridicules as its not capable to open an .exe. But maybe I could get only the path...
by ElisaCol
12 Jan 2019 01:25
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Okay, I solved at least the sending to mkvMerge. uri = string.gsub(uri, '%%20', '\032') ... was the solution, but I didn't know I had to escape the %20 with another %. Anyway. Not to much movement here in the forums. So this will be kind of a one girl show as I'm asking in other forums about VLC lua...
by ElisaCol
11 Jan 2019 20:02
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

Okay, I guess I found out what makes it impossible to open the path to VLC. Its the space between program and files of "program files". Does it need to be formatted? Why? How? ;) I will see if I find a work around. By the way. This also makes trouble when I try to split a video with a spac...
by ElisaCol
11 Jan 2019 17:58
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Re: Need help for a script I want to share (Timestamps to mkvToolnix)

I wanted to place the code between the bbcode tags but it was way to long. Why is it only allowed to post 2000 letters? And how can I attach my lua file so everybody can take a look at it?
by ElisaCol
11 Jan 2019 17:55
Forum: Scripting VLC in lua
Topic: Need help for a script I want to share (Timestamps to mkvToolnix)
Replies: 18
Views: 3993

Need help for a script I want to share (Timestamps to mkvToolnix)

Hi, I have to say that I'm a complete noob in programming but I wanted to make this so badly that I didn't give up until it ran. So what does it do? What is its all about? I wanted to create timestamps (A/B) while watching a long video to then copy them to the clipboard or send them directly to mkvM...
by ElisaCol
12 Dec 2018 13:23
Forum: VLC media player for Windows Troubleshooting
Topic: VLC decoder drops last frames of video clips
Replies: 8
Views: 2295

VLC decoder drops last frames of video clips

Hi, I just experienced something weird while playing looped video sequences. The VLC playback always stops a few frames before the end of the video loop and makes it impossible to watch the loop. This only happens with encoded video material. If I take jpgraw right out of Blender and play it the sam...

Go to advanced search