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

mohammad_avr

  • Newbie
  • *
  • Posts: 9
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: 63
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: 1544
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: 1544

Jan Gruuthuse

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

mohammad_avr

  • Newbie
  • *
  • Posts: 9
Re: duration of cutting clip
« Reply #5 on: October 30, 2017, 08:58:35 AM »
nice, thnx
Hi
do you rebuild source code for this UI? or there is a setting on software?
could you send a .exe file to me with this ui?
Thanks
« Last Edit: October 30, 2017, 09:26:07 AM by mohammad_avr »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1544
Re: duration of cutting clip
« Reply #6 on: October 30, 2017, 10:14:15 AM »
nice, thnx
do you rebuild source code for this UI?

Jan seems to be unavailable for a couple of days: http://avidemux.org/smif/index.php/topic,17915.msg82377.html#msg82377, but of course, he builds Avidemux for Linux (no .exe here) from the latest source code.

Quote
could you send a .exe file to me with this ui?

Grab the latest official win64 nightly. While it doesn't reflect the current state of the work ATM, it does include the changeset which implemented the requested feature.

mohammad_avr

  • Newbie
  • *
  • Posts: 9
Re: duration of cutting clip
« Reply #7 on: October 30, 2017, 01:01:49 PM »
Quote
Grab the latest official win64 nightly. While it doesn't reflect the current state of the work ATM, it does include the changeset which implemented the requested feature.
thanks for reply
i have downloaded some release of win64 nightly but i couldn't find that feature (duration B-A)
and i am not developer to work with source code .
could you please make a release with this feature for me on Win64?
« Last Edit: October 30, 2017, 01:03:46 PM by mohammad_avr »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1544
Re: duration of cutting clip
« Reply #8 on: October 30, 2017, 11:24:31 PM »
Quote
Grab the latest official win64 nightly. While it doesn't reflect the current state of the work ATM, it does include the changeset which implemented the requested feature.
i have downloaded some release of win64 nightly

Then you might have picked a build too old. You should have downloaded r171027, but actually all builds at least from r171014 on should contain this patch.

mohammad_avr

  • Newbie
  • *
  • Posts: 9
Re: duration of cutting clip
« Reply #9 on: November 01, 2017, 07:11:35 AM »
very thanks for your support
it solved .