INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: exodus1977 on March 27, 2013, 01:59:26 pm

Title: How to calculate duration of a particle file
Post by: exodus1977 on March 27, 2013, 01:59:26 pm
I've been making video and audio clips of particle files. The "duration" show the total of the original--but I would like to create a unique field with the calculated duration of the particle duration. Have not figured it out yet.  Any ideas?  Thanks!!
Title: Re: How to calculate duration of a particle file
Post by: mojave on April 05, 2013, 02:12:44 pm
I need this too. I started by right clicking the heading row in the right pane and adding an Expression Column. I want to subtract the left part of playback range from the right part of playback range so I entered this expression:

Math(Right([Playback Range],4)-Left([Playback Range],4))

If my playback range is 00:00-00:40 then I should get Math(00:40-00:00) or 00:40 as the answer. If I use just the Left/Right function I do get the expected data.

However, overall the formula doesn't work. Do I need to convert or format the time somehow?
Title: Re: How to calculate duration of a particle file
Post by: MrC on April 05, 2013, 04:53:44 pm
You're going to need to convert the start / end values of the range to seconds, and then use math() and then formatduration() to obtain a pretty duration value.

Ask if you need help.