Avidemux Forum

Avidemux => Windows => Topic started by: derbyron on August 22, 2019, 07:39:01 PM

Title: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: derbyron on August 22, 2019, 07:39:01 PM
Hi there,

I try to combine 7 avi files (640*480) and safe them as one file.

When I click on safe, the progress bar reaches about 85% and then it throws the following error and the application crashes.

***see attachment***

The happens every time I try to safe the project.

My settings are:

Output Video - Copy
Output Audio - Copy (0 streams)
Output Format - AVI

Is there anything I can do or is it a bug?

Thanks
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: eumagga0x2a on August 22, 2019, 07:52:24 PM
Could you please reproduce the crash, then compress (zip or 7z) and attach the admlog.txt file from %localappdata%\avidemux\ to your reply?
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: derbyron on August 22, 2019, 10:16:29 PM
Crash reproduced and log file attached. Thanks  :D
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: eumagga0x2a on August 23, 2019, 07:22:26 AM
We crash because we don't handle the case when we cannot decode the video so that video segments count gets out of sync. Is the video innocuous enough to be provided as a sample? If so, please use WeTransfer (no email address required!), Mega, Dropbox or Google Drive.
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: derbyron on August 23, 2019, 07:57:05 PM
I am sorry, but my wife would not allow that :)
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: eumagga0x2a on August 23, 2019, 08:32:01 PM
Actually, any video file which can't be decoded will do. Does that video play e.g. in VLC?
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: derbyron on August 23, 2019, 08:54:14 PM
It is just this bunch of 7 files which cannot be decoded. The files work fine in VLC or PotPlayer.
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: eumagga0x2a on August 23, 2019, 09:07:31 PM
Not a single publicly sharable video among them?
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: eumagga0x2a on August 23, 2019, 09:12:28 PM
[adm_lavLogCallback] 22:13:30-465 [lavc] time_increment_bits 4 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[adm_lavLogCallback] 22:13:30-465 [lavc] time_increment_bits set to 16 bits, based on bitstream analysis
[adm_lavLogCallback] 22:13:30-465 [lavc] Marker bit missing at 52 of 64 before vop_coded
[lavc] Probably placeholder frame (data length: 8)


These lines in the admlog.txt point to the reason why decoding fails (likely a bad cut).
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: derbyron on August 23, 2019, 09:27:27 PM
Its 7 parts of one file that I would like to join    8)
So I leave them separated.

Thanks anyway.
Best regards
Title: Re: Avidemux_2.7.4VC++64bits - Application crash when trying to combine avi files
Post by: eumagga0x2a on August 23, 2019, 10:11:30 PM
If the parts were cut in binary way (with a file splitter) don't try to append them in Avidemux but use a proper tool (like cat on Linux) to append the fragments. This would perfectly explain the decoding failure and match the meaning of "bad cut".