Author Topic: "ExceptionFilter" while opening a mpg-File  (Read 969 times)

DerAndereMicha

  • Newbie
  • *
  • Posts: 16
"ExceptionFilter" while opening a mpg-File
« on: September 30, 2019, 01:32:02 PM »
Hi,

I have been using Avidemux for a long time and have never had any problems. But now I have a problem while opening an mpg-file (error message attached). I hope somebody can help me.

Updating to the latest version didn't help either.

Best regards
Michael

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #1 on: September 30, 2019, 02:02:00 PM »
The latest build is from 2019-09-24: https://avidemux.org/nightly/win64/
Did you try it (just to be sure)?

Please rename the corresponding *.idx2 file, let Avidemux re-index the video. If the problem persists, please compress (7z, zip) the new *.idx2 file as well as the corresponding admlog.txt from %localappdata%\avidemux and attach them to your reply.

It may be necessary to have a look at the .mpg video itself later in the process.

DerAndereMicha

  • Newbie
  • *
  • Posts: 16
Re: "ExceptionFilter" while opening a mpg-File
« Reply #2 on: September 30, 2019, 02:29:38 PM »
Yes, I have used the latest build.

I could only attach the log, the packed idx2 file is too large (8 MB). The corresponding MPG file has a size of 20 GB (a record from a whole night). However, the large size has never caused any problems.

Best regards
Michael

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #3 on: September 30, 2019, 02:36:08 PM »
Would you please upload the compressed *.idx2 file to a service like WeTransfer, Mega, Dropbox or Google Drive?

The size and the duration of the source video is really huge, maybe we do hit some internal limits.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #4 on: September 30, 2019, 03:10:10 PM »
Thank you for the log and the index file, will try to look into the latter soon.

If you have a text editor capable to handle files that large and able to preserve unix-style line endings (LF instead of CR+LF), you could copy the end of the index

Code: [Select]
# Found 1019367 images
# Found 1019367 frame pictures
# Found 0 field pictures
[Video]
Width=720
Height=576
Fps=25000
Interlaced=0
AR=3
[Audio]
Tracks=1
Track0.pid=c0
Track0.codec=80
Track0.fq=48000
Track0.chan=2
Track0.br=24000

[End]

to a different file, delete e.g. the half of the index (always pairwise the lines starting with "Audio:" and "Video:"), then append the end of the index and see whether the problem is located in the second half of the index.
« Last Edit: September 30, 2019, 03:51:49 PM by eumagga0x2a »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #5 on: September 30, 2019, 03:21:46 PM »
We crash reading the entry 6476 from the index. As suspected, the max line length of 2000 chars allocated is too small, this happens at line 12961 of the index.
« Last Edit: September 30, 2019, 03:51:20 PM by eumagga0x2a »

DerAndereMicha

  • Newbie
  • *
  • Posts: 16
Re: "ExceptionFilter" while opening a mpg-File
« Reply #6 on: September 30, 2019, 03:43:54 PM »
If I delete the first 15,000 lines, it'll work. I can work with it for now.

Thank you very much for the quick help!

Best regards
Michael

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #7 on: September 30, 2019, 03:52:17 PM »
Fix upcoming.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #8 on: September 30, 2019, 10:38:46 PM »
Should be fixed by [demuxers/MpegPS] Increase max video index entry length, fix NULL pointer dereference from a truncated entry, please try a future nightly.

Thank you for your report.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #9 on: October 04, 2019, 10:48:35 AM »
Fresh nighly builds have been uploaded, please try a 191003 one --> https://avidemux.org/nightly/win64/

DerAndereMicha

  • Newbie
  • *
  • Posts: 16
Re: "ExceptionFilter" while opening a mpg-File
« Reply #10 on: October 04, 2019, 12:47:49 PM »
Yeah, it's working. But now there is a new problem. Saving doesn't work anymore (already with the last nighly build).

The following message appears:

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #11 on: October 04, 2019, 12:55:22 PM »
More info, please (admlog.txt).

DerAndereMicha

  • Newbie
  • *
  • Posts: 16
Re: "ExceptionFilter" while opening a mpg-File
« Reply #12 on: October 04, 2019, 03:53:45 PM »
as requested

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3389
Re: "ExceptionFilter" while opening a mpg-File
« Reply #13 on: October 05, 2019, 04:03:15 AM »
Code: [Select]
[open] 15:51:15-249 [Mkv]: Failed to open file ://192.168.101.22/Public/Media/Pub_Videos/Test.mkv, er=-2
This looks like the destination were a network drive. I'm not sure this is supported by Avidemux (the only protocol enabled in the internal libavformat is the file protocol). Please retest with a local output target.

DerAndereMicha

  • Newbie
  • *
  • Posts: 16
Re: "ExceptionFilter" while opening a mpg-File
« Reply #14 on: October 05, 2019, 06:33:20 AM »
Right, that's a NAS. But it still worked with version 2.73. Local saving also works with the latest nighly build.

It would be a pity if functionalities that once worked were removed.

Best regards
Michael