darbyjohnston / DJV

Professional media review software for VFX, animation, and film production
https://darbyjohnston.github.io/DJV/
BSD 3-Clause "New" or "Revised" License
696 stars 59 forks source link

Option to display decimal seconds instead of frames #494

Open mslinn opened 1 year ago

mslinn commented 1 year ago

This is actually two issues in one, however the flow from each other, so I present them together:

  1. I am using djv to determine the portion of videos to trim using ffmpeg. That functionality is part of MediaTrim, a F/OSS command-line program I wrote as a user-friendly front end to ffmpeg.

    ffmpeg only allows start and end times to be specified as hh:mm:ss.sss, however djv displays frames instead of decimal seconds.

    It would be helpful to be able to have the HUD and/or the timeline display decimal seconds like this: hh:mm:ss.sss.

  2. Even better would be a way to drive MediaTrim from djv, using the in and out points as begin and end points of the trim operation. The Maya interface for djv is not documented, unfortunately, beyond the cryptic:

    -maya
    Maya command-line compatibility.

    I would try to use the Maya interface if I could, all I would need is documentation on what the current Maya interface actually is in detail.