Hi,
is there an easy way (with scripting or else) to automatically append the timecode to the filename when exporting a jpg snapshot? i made an autohotkey script for windows to ease the snapshoting but i only auto increment the file version number and i would like to improve that part. any ideas?
or do i have to go the full c++ way?
Why not using FFmpeg (https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video) for this purpose? Avidemux is helpful when you need to see and hear what happens in a movie at given time to find most suitable locations e.g. for cuts or when you need to copy and paste a portion of video elsewhere etc. For uniform, scriptable tasks FFmpeg is better IMVHO.
Because i tried what you say and it is not efficient for me. I tried other tools with a visual interface over ffmepg and avidemux was the best for what i want (extract stills and sequences very fast). So i was very happy to find avidemux but i now want more. Some new use cases have shown up like having the time code in the filename (as in vlc). I had hopes with the scripting option of avidemux but it seems it affect only the automatization process and not the user interface but i may be wrong. I guess i have to look more in autohotkey options or go back to my c++ books and install a compiler, with holidays ending it may have to wait ;)
Just in case, you are aware of Ctrl+Shift+C shortcut to copy the PTS of the currently displayed frame to clipboard, aren't you?
Quote from: eumagga0x2a on September 01, 2018, 03:46:01 PM
Just in case, you are aware of Ctrl+Shift+C shortcut to copy the PTS of the currently displayed frame to clipboard, aren't you?
Holy sh.., i spent a few hours yesterday to find that it"s very difficult or very expensive to make autohotkey (or autoit) to interact with QT framework based apps like adm or vlc and then google leads me back to this topic and i find your answer and now it"s a breeze to solve my problem. Thank you eumagga0x2a.
One question remains, how could i have known that shortcut?
Quote from: JB on September 23, 2018, 05:50:04 PM
how could i have known that shortcut?
It was mentioned in the release changelog for 2.7.0: [build] Style the release changelog like in the last release, edit a few entries (https://github.com/mean00/avidemux2/commit/81663908afbdff6644e2ec304819bb6e66283524). This feature was implemented by [Qt] Copy current time to clipboard using Ctrl+Shift+C shortcut (https://github.com/mean00/avidemux2/commit/a8bf634ab16eed12ac12707c71c9ed11dff5928f).
Obviously :)
Maybe it would be a nice addition to the doc on the official site to put a list of all the available shortcuts for the people like me that do not have the idea to search in the github repo because if we have to guess the possible shortcut, it"s a bit weird.
The release changelog is packaged with the Avidemux Windows installer and the user is prompted by the installer to read it once the install is completed.
The Wiki is virtually unmaintained, unfortunately.
So if you start with 2.7.1 you have zero chance to have this info in case you read the changelog which i doubt basic user does.
is there somewhere a list of the shortcuts or do i have to parse the source code hoping there is no typo in the comments?
Unfortunately, the resources are so scarce that the best way to get something done, especially concerning documentation, is to do it yourself. I agree that this one shortcut is utterly non-discoverable. Almost all other shortcuts are displayed in the GUI (except of the 1/2/4 seconds seek shortcuts).
Fortunately i don't need much for now and my needs are covered (thanks again for the shortcut) but it"s tough for the newcomer having to guess what the tool can offer.
And now en route to new posts to ask for new things and unanticiped behaviors. ;)
Quote from: JB on September 28, 2018, 04:42:10 PMFortunately i don't need much for now and my needs are covered (thanks again for the shortcut) but it"s tough for the newcomer having to guess what the tool can offer.
And now en route to new posts to ask for new things and unanticiped behaviors. ;)
I have this same question, and found the shortcut here, the question I have is, is there a way to have the timecode automatically loaded when the image is saved without having to manually copy and paste it? I have a job that is a few hundred frames to capture, it will be laborious. Any thoughts?
Thanks.