Author Topic: Crash with v2.6.21 and v2.7.0  (Read 155 times)

admx

  • Newbie
  • *
  • Posts: 3
Crash with v2.6.21 and v2.7.0
« on: November 14, 2017, 04:30:58 PM »
Hello,

I'm experiencing a failed assert when seeking some flv videos - always on the same position.
See attachment for the error message.

It happened with default settings but I already tried some different settings.
Windows 7 64bit & Avidemux 2.6.21 / 2.7.0 64bit.

I can upload the problematic files (~1-3GB) if you don't mind it's a pron-stream.

Any help is appreciated.

Thank you.
« Last Edit: November 14, 2017, 04:36:08 PM by admx »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1473
Re: Crash with v2.6.21 and v2.7.0
« Reply #1 on: November 14, 2017, 07:19:03 PM »
Please retry with the latest win64 nightly. If the issue persists, please reproduce the crash and, without restarting Avidemux, compress and attach admlog.txt from %localappdata%\avidemux\ folder to your reply.

admx

  • Newbie
  • *
  • Posts: 3
Re: Crash with v2.6.21 and v2.7.0
« Reply #2 on: November 20, 2017, 02:35:42 PM »
Same issue with the nightly build. Log attached.

Thanks.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1473
Re: Crash with v2.6.21 and v2.7.0
« Reply #3 on: November 20, 2017, 07:12:47 PM »
Thank you. The likely reason for the crash is highly broken timing in this video, there are duplicated PTS:

Code: [Select]
[addReferenceVideo] 14:33:50-391 [editor] Original frame increment 00:08:19,999 499999968
[addReferenceVideo] 14:33:50-395 [Editor] min increment 00:00:00,000 - 0
[addReferenceVideo] 14:33:50-395 [Editor] max increment 00:00:02,380 - 2380000

(minimum frame increment equal zero means adjacent frames have identical presentation time stamps). If three frames have the same PTS, but only the last is a keyframe, TimeToFrame will return the frame number of the first frame of the triplet. Subsequently we get the warning from ADM_EditorSegment::intraTimeToFrame and crash in ADM_Composer::DecodePictureUpToIntra because neither of the first two frames (out of 3 or more) with identical PTS is a keyframe.

admx

  • Newbie
  • *
  • Posts: 3
Re: Crash with v2.6.21 and v2.7.0
« Reply #4 on: November 20, 2017, 08:55:03 PM »
Interesting.

The video comes from an RTMP stream.

If I copy the video stream (and skip the audio) with ffmpeg, I can seek with avidemux afterwards without crashing.

Will there be a fix?

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1473
Re: Crash with v2.6.21 and v2.7.0
« Reply #5 on: November 21, 2017, 08:09:26 AM »
If I copy the video stream (and skip the audio) with ffmpeg, I can seek with avidemux afterwards without crashing.

Please just load the file generated with FFmpeg in Avidemux and post the resulting admlog.txt.

Quote
Will there be a fix?

Do you have a Linux system to build Avidemux from source to test patches? This would make a fix much more likely.

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10948
Re: Crash with v2.6.21 and v2.7.0
« Reply #6 on: November 21, 2017, 04:17:14 PM »
A sample file would help indeed