Author Topic: duration of cutting clip  (Read 117 times)

mohammad_avr

  • Newbie
  • *
  • Posts: 1
duration of cutting clip
« on: October 11, 2017, 08:23:21 AM »
Hi
I am New user of Avidemux and it is perfect for me.
I need a future in cutting page . I need duration of cutting clip  which is pointed bye A (start time) and B (end time)
(duration =B-A)
is there anyone to help me ? i think the code must be edited and project rebuilted again
thank you

dosdan

  • Jr. Member
  • **
  • Posts: 56
Re: duration of cutting clip
« Reply #1 on: October 11, 2017, 10:14:17 PM »
Yes, there is space down the bottom of the screen, below the A: & B: marker times, to show a "Selected" time. So the display could be modified to show this.

Be aware though that the duration of the final clip is not exactly the same as you would see from the "Selected" time. For example, using a 59.941fps clip with:

A:  00:00:30.080
B:  00:01:30.140

Both A & B are chosen using the UP key, so they on I-frames.

The difference here is 1:00.060.  But, after doing a Copy/Copy/MP4v2, I get 3,603 frames. Dividing by 59.941 =  60.109s. Taking 60.06s away from this and then dividing by 59.941, I get 2.94 frames. Allowing for time value rounding,  the final clip is 3 frames longer than selected.

Dan.
« Last Edit: October 11, 2017, 10:23:08 PM by dosdan »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1386
Re: duration of cutting clip
« Reply #2 on: October 12, 2017, 07:37:10 AM »
If B-frames are present, additional delay may be added to the video, increasing the total duration.

There is no space below the go-to-marker buttons currently, it is occupied by the "view filtered" checkbox. Moving the checkbox to a more suitable place would allow to display the duration of the selection there.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1386

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5575
Re: duration of cutting clip
« Reply #4 on: October 14, 2017, 06:35:20 AM »
nice, thnx