Author Topic: Getting length of video?  (Read 92 times)


  • Newbie
  • *
  • Posts: 1
Getting length of video?
« on: March 01, 2018, 04:29:45 AM »
Hi everyone,

The scripting documentation gives examples like this:

app.addSegment(0,600,19468); delete frames between 500 and 600.  Problem is the length of the video, 19468, is a magic number, specific to the video.  This makes automated editing difficult.  I don\'t see a get function to get the size (in frames) of the loaded video.  Am I missing something?



  • Hero Member
  • *****
  • Posts: 1048
Re: Getting length of video?
« Reply #1 on: March 01, 2018, 11:24:57 AM »
Avidemux 2.5 hasn't been supported for a long time now.

Are you are working with this version of avidemux because it better suits older codecs (like XVid)?