Avidemux Forum

Avidemux => Windows => Topic started by: BG Davis on March 28, 2019, 07:14:34 PM

Title: Problem setting start of freeze frame in shortened clip
Post by: BG Davis on March 28, 2019, 07:14:34 PM
I deleted the center portion from a clip.  The resulting clip was a total of 6.2 seconds in duration.  Wanted to have a freeze frame at the end of the resulting shortened clip, starting at 6.2 seconds (the final frame of the total clip). 
Avidemux would not allow the still frame to start any later than 3.5 seconds (the duration of the first segment of the shortened clip).
Title: Re: Problem setting start of freeze frame in shortened clip
Post by: eumagga0x2a on March 28, 2019, 07:41:38 PM
Works fine for me. Please provide detailed steps to reproduce and the admlog.txt reflecting your steps.
Title: Re: Problem setting start of freeze frame in shortened clip
Post by: eumagga0x2a on March 28, 2019, 09:59:24 PM
Presumably you can't seek to the end of the video after deleting the center portion, can you? There is a bug in ADM_Composer::getLastKeyFramePts when there are no more keyframes left in the last segment. This was not the case in my testing, that is why it worked for me. Looking into it...
Title: Re: Problem setting start of freeze frame in shortened clip
Post by: eumagga0x2a on March 28, 2019, 11:05:23 PM
Should be fixed by  [editor] Fix seeking to the end when there are no keyframes in the last segment (https://github.com/mean00/avidemux2/commit/74232f68b81e7e095f5217ef4f5ebba7f425a652), thank you for your report.