Author Topic: option to save image as : adding the timecode to the filename  (Read 450 times)

JB

  • Newbie
  • *
  • Posts: 15
option to save image as : adding the timecode to the filename
« on: August 25, 2018, 04:37:58 PM »
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?

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2201
Re: option to save image as : adding the timecode to the filename
« Reply #1 on: August 25, 2018, 08:42:38 PM »
Why not using FFmpeg 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.

JB

  • Newbie
  • *
  • Posts: 15
Re: option to save image as : adding the timecode to the filename
« Reply #2 on: August 26, 2018, 06:14:01 PM »
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 ;)

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2201
Re: option to save image as : adding the timecode to the filename
« Reply #3 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?

JB

  • Newbie
  • *
  • Posts: 15
Re: option to save image as : adding the timecode to the filename
« Reply #4 on: September 23, 2018, 05:50:04 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?

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2201
Re: option to save image as : adding the timecode to the filename
« Reply #5 on: September 23, 2018, 06:46:01 PM »

JB

  • Newbie
  • *
  • Posts: 15
Re: option to save image as : adding the timecode to the filename
« Reply #6 on: September 26, 2018, 05:37:24 PM »
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.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2201
Re: option to save image as : adding the timecode to the filename
« Reply #7 on: September 26, 2018, 06:28:28 PM »
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.

JB

  • Newbie
  • *
  • Posts: 15
Re: option to save image as : adding the timecode to the filename
« Reply #8 on: September 27, 2018, 04:06:39 PM »
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?


eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2201
Re: option to save image as : adding the timecode to the filename
« Reply #9 on: September 27, 2018, 09:07:36 PM »
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).

JB

  • Newbie
  • *
  • Posts: 15
Re: option to save image as : adding the timecode to the filename
« Reply #10 on: September 28, 2018, 04:42:10 PM »
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. ;)