News:

--

Main Menu

Cannot Export an AVI file .....

Started by SgrB2, January 25, 2020, 09:27:35 PM

Previous topic - Next topic

eumagga0x2a

Please provide the log (admlog.txt) for any further analysis. I tried importing two pictures (.png) and direct encoding with x264 with advanced settings enabled as well as change fps + resample fps and using still image – every single combination worked for me.

SgrB2

Attached is the admlog that results when I try to
export the results of successfully (as per Preview)
changing the avi file from 10 fps to 1 fps. 

eumagga0x2a

The log is incomplete (which is expected with VC++ builds like the 2.7.5 release unless you use "Help" --> "Advanced" -->"Open application log" or quit Avidemux) and doesn't originate from the latest nightly (which is MinGW-built and flushes the log to disk instantly). Please use the nightly, load the AVI, set x264 as encoder and try to save to an MP4 file, then quit Avidemux and provide the resulting admlog.txt.

SgrB2

Hi,
Attached is admlog:  the latest attempt to export only
as you directed.
Cheers,
SgrB2

eumagga0x2a

Thanks, this time no bad things happen in the editor, it is really the encoder which doesn't like the configuration. My first guess would be the odd width of the images. Please try to add the crop filter and then add borders if necessary to make all dimensions a multiple of 16 (this is very important for compressibility).

SgrB2

Congrats!

As you suggested I made both axes multiples of 16 in the
AVI file and was able to both export that file as an MP4
and also change the frame rate and export that file.
But only for the nightly version which is contained in
a folder on my desktop. 

The regular avidemux that is installed with the installer
does export a file but gives this error: This file isn't playable.
That might be because the file type is unsupported, the file
extension is incorrect, or the file is corrupt.    0xc10100be

Is there someway I can replace the regular version
with the nightly version? At the moment there seems
to be some minor conflict between the two versions.

Cheers,
SgrB2

eumagga0x2a

I reproduced the failure to initialize x264 with an odd width prior to checking the topic and finding your reply. Good that you could recreate the source with required even dimensions as neither the crop filter nor the "add border" one would have been able to help here. SwScale ("resize" filter) seems to be the only option without modifying the source video which works.

Quote from: SgrB2 on January 26, 2020, 10:56:40 PM
The regular avidemux that is installed with the installer
does export a file but gives this error: This file isn't playable.
That might be because the file type is unsupported, the file
extension is incorrect, or the file is corrupt.    0xc10100be

This error is not from Avidemux, it comes from some Windows multimedia framework.

QuoteIs there someway I can replace the regular version
with the nightly version? At the moment there seems
to be some minor conflict between the two versions.

Just uninstall the release and keep using the nightly (and replace it with fresh builds to keep up with the development). If you need Avidemux to be accessible from other user accounts, move its program folder to a location all users can read.

SgrB2

Hi  eumagga0x2a !
Thank you for all the hard work and suffering
through to the end with me!
Cheers,
SgrB2