January 20, 2021, 01:24:59 AM

News:

--


"ExceptionFilter" while opening a mpg-File

Started by DerAndereMicha, September 30, 2019, 01:32:02 PM

Previous topic - Next topic

DerAndereMicha

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

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

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

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

September 30, 2019, 03:10:10 PM #4 Last Edit: September 30, 2019, 03:51:49 PM by eumagga0x2a
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

# 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.

eumagga0x2a

September 30, 2019, 03:21:46 PM #5 Last Edit: September 30, 2019, 03:51:20 PM by eumagga0x2a
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.

DerAndereMicha

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



eumagga0x2a

Fresh nighly builds have been uploaded, please try a 191003 one --> https://avidemux.org/nightly/win64/

DerAndereMicha

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



eumagga0x2a

[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

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