News:

--

Main Menu

Recent posts

#1
Main version 2.6 / Re: File crashes avidemux, Ato...
Last post by eumagga0x2a - November 23, 2026, 08:20:39 PM
Should be fixed now, please try a future nightly build.

Thank you very much for your report and especially for providing a minimal sample right away.
#2
Main version 2.6 / File crashes avidemux, Atom to...
Last post by therube - November 23, 2026, 05:08:46 PM
i have a (av1 in a) .mp4 source file, that crashes avidemux.

(xxx.mp4 is a 2 second clip from that file that is sufficient to crash avidemux.
ffmpeg -i input.mp4 -c copy -t 00:00:02 xxx.mp4
out.mp4 is a -c copy of xxx.mp4
ffmpeg -i xxx.mp4 -c copy out.mp4 - figuring that sometimes a simple -c copy "fixes" things,
but not the case, here.)

(original source) file plays fine in various players (mplayer, mpv.net, mpc-hc...).
mediainfo, showed no (conformance) issues.
ffmpeg -i "xxx.mp4" -v error -f null - 2>&1 | tee "xxx.mp4_ERROR.log", shows no issues.


avidemux (gui) crashs on attempted open of the file.
avidemux_cli.exe says, Atom "?" too short: 5, crashing.

(now what that (Atom too short:) means, i have no clue.)


Windows 7, x64, avidemux_2.8.2r241212


as i'm on Win7, r241212 was the last build i could run, & way back when, when i
first ran into this, i thought it simply had to do with using an outdated avidemux
(perhaps an old av1 .dll or something like that), so i didn't really look further,
figuring that i'd eventually come across a tool i was comfortable with
& deal with said file at that point.


then i ran acrosss VxKex, which might allow a tool that otherwise wouldn't run on Win7,
to do so.  & as it happens, later versions of avidemux will work with that hack.

so, i pulled down avidemux_mingw64_20261018, & i thought, great, now i can do
something with that file from way back when.
(& once i remembered which file it was ... ;-).)

so i threw said file into 20261018, & surprisingly, there too, it ... crashed.


& with that, i thought, ah, well something else, more then just an outdated avidemux,
might be going on.  & at that point, i started messing around to see if i could make
some headway.  & when a simple -c copy didn't accomplish anything, i figured changing
the container can't hurt to try, & that, happend to work...

source xxx.mp4, crashed avidemux
ffmpeg -i xxx.mp4 -c copy out.mp4
out.mp4, crashes avidemux

that said, if i change the containter from mp4 to mkv
ffmpeg -i out.mp4 -c copy out.mkv
out.mkv, successfully opens in avidemux
& i can successfully --save to out.from.mkv.2.mp4
& with that out.from.mkv..2.mp4, successfully open in avidemux

but the original source file, xxx.mp4, or the -c copy out.mp4, crashed avidemux



avidemux_cli_portable.exe --load C:\out\SALAMANDER\chk\out.mp4 --save C:\out\SALAMANDER\chk\out.save.mkv
:: avidemux_cli_portable.exe --load C:\out\SALAMANDER\chk\out.mkv --save C:\out\SALAMANDER\chk\out.save.mkv
pause
exit


 *** Automated : 19 entries*************
load-->1
[TS Demuxer] Probing...
   21:33:08-929 [checkMarker] [Ts Demuxer] Sync ok :0 Sync ko :3
   21:33:08-934 [checkMarker] [Ts Demuxer] Sync ok :0 Sync ko :3
   21:33:08-940 [detectTs] [TS Demuxer] Not a TS file
 [TS Demuxer] Not a ts file
 [avsProxy] Cannot open that
 [flvHeader] Cannot open that
 [mkvHeader] Cannot open that
Match ftyp
 [MP4]MP4/MOV/3GP file detected...
 [mxfHeader] Cannot open that (20000000)
 [openDML] Cannot open that
   21:33:08-970 [probe]  [picHeader] Cannot open that
   21:33:08-975 [probe] [asfHeader] Cannot open that
 match :0 / 1 (probeSize:3474)
 [PS Demuxer] Not a ps file
** opening 3gpp files **
   21:33:08-989 [MP4Header::lookupMainAtoms] Analyzing file and atoms
   21:33:08-996 [MP4Header::parseMvhd] Warning: movie scale is 11289600
   21:33:09-002 [MP4Header::parseTrack] Parsing Track
   21:33:09-007 [MP4Header::parseTrack] EDTS atom found
   21:33:09-012 [MP4Header::parseEdts] Parsing Edts, trackType=0
   21:33:09-018 [MP4Header::parseEdts] ELST atom found
   21:33:09-022 [MP4Header::parseElst] Found 2 entries in edit list of version 0
   21:33:09-029 [MP4Header::parseElst] Duration: 11289600, mediaTime: -1, speed: 65536
   21:33:09-037 [MP4Header::parseElst] Duration: 11289600, mediaTime: 0, speed: 65536
   21:33:09-045 [MP4Header::parseElst] delay = 11289600 in movie scale units, skip to time 0 in track s
cale units.
   21:33:09-057 [MP4Header::parseMdia] <<Parsing Mdia>>
[mdhd] Language: und (code: 21956)
   21:33:09-066 [MP4Header::parseHdlr] Parsing handler type, reading <hdlr>
   21:33:09-073 [MP4Header::parseHdlr] hdlr subtype <vide> (video) found
   21:33:09-079 [MP4Header::parseStbl] <<Parsing Stbl>>
   21:33:09-084 [MP4Header::parseStsd] Number of entries in stsd: 1
[stsd] Entry 0 (counting from zero) of 1, "av01", bytes left: 171
   21:33:09-096 [MP4Header::parseStsd] [STSD] VIDEO av01, size 179
[parseVideoSampleProps] Vendor:      ""
[parseVideoSampleProps] Width:       854
[parseVideoSampleProps] Height:      480
Codec string: 23 <Lavc61.33.102 libsvtav1>
[parseVideoSampleProps] Color depth: 24
[parseVideoSampleProps] Color table absent.
   21:33:09-125 [MP4Header::parseStsd] Found 16 bytes of AV1 extradata

 0000 : .....$..........   0a 0e 00 00 00 24 c6 ab df 00 be 04 04 04 04 10
Atom "?" too short: 5, crashing.
   21:33:09-258 [abortExitHandler] already done, nothing to do

Press any key to continue . . .



so in the end, a work-around, changing the container from .mp4 to .mkv,
was sufficient to get the original source file to work in avidemux.
(that .mkv worked in both 241212 & 20261018, so the issue was not an outdated
avidemux, which i has surmissed, way back when.)


So, with all this, maybe there is something in here, that you might be able
to make more sense out of, that might be able to make avidemux a bit better.

Thanks.



Assert failed :0 at line 63, file /home/fx/hudson/workspace/mxe2024/avidemux_plugins/ADM_demuxers/Mp4/ADM_atom.cpp


ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_backTrack  [libADM_core6.dll]
MP4Header::parseStsd(adm_atom*, MPsampleinfo*, unsigned int, unsigned int)  [libADM_dm_mp4.dll]
MP4Header::parseStbl(adm_atom*, unsigned int, unsigned int)  [libADM_dm_mp4.dll]
MP4Header::parseMdia(adm_atom*, unsigned int*, unsigned int*)  [libADM_dm_mp4.dll]
MP4Header::parseTrack(adm_atom*)  [libADM_dm_mp4.dll]
MP4Header::lookupMainAtoms(adm_atom*)  [libADM_dm_mp4.dll]
MP4Header::open(char const*)  [libADM_dm_mp4.dll]
ADM_Composer::addFile(char const*)  [avidemux_portable.exe]
A_openVideo(char const*)  [avidemux_portable.exe]
MainWindow::openFiles(QList<QUrl>)  [avidemux_portable.exe]
MainWindow::eventFilter(QObject*, QEvent*)  [avidemux_portable.exe]
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)  [Qt5Core.dll]
QApplicationPrivate::notify_helper(QObject*, QEvent*)  [Qt5Widgets.dll]
QCoreApplication::notifyInternal2(QObject*, QEvent*)  [Qt5Core.dll]
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)  [Qt5Core.dll]
qt_plugin_instance  [qwindows.dll]
QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Core.dll]
qt_plugin_instance  [qwindows.dll]
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Core.dll]
QCoreApplication::exec()  [Qt5Core.dll]
UI_RunApp()  [avidemux_portable.exe]
startAvidemux(int, char**)  [avidemux_portable.exe]
SDL_main  [avidemux_portable.exe]
ms2timedisplay(unsigned int)  [avidemux_portable.exe]
unknown function  [avidemux_portable.exe]
unknown function  [avidemux_portable.exe]
BaseThreadInitThunk  [kernel32.dll]
RtlUserThreadStart  [ntdll.dll]
#3
Main version 2.6 / Re: Used AI to make Avidemux k...
Last post by sark - November 13, 2026, 11:47:35 PM
Makes you wonder where it's all going. Whilst still beyond my knowledge level, AI is making this kind of thing so much easier.
A lot of people criticize Google AI, but whilst not perfect, it has helped me convert all my old ffmpeg batch scripts to PowerShell without the pain of posting questions on Superuser.

Interesting project, and maybe soon even I will be able to create my own apps from programs that require little more than a list of prompts... Fascinating stuff!
#4
Unix-Like (Linux/Bsd/...) / Re: How to fix? Warning: Video...
Last post by eumagga0x2a - November 12, 2026, 09:10:12 PM
Thank you, will download the complete log and look at it later, but regarding

Quote from: JanMeki on November 12, 2026, 02:21:45 PMNo I should have enough space, if it doesn't take several GB's.

A non-debug build takes approx. 500 MiB of disk space. No idea how much space still missing build deps will take on your system.

Quote from: JanMeki on November 12, 2026, 02:21:45 PMMy main concern is installing dependencies that conflict with something else.

Build dependencies are installed exclusively from already configured repositories of your Linux distribution (unless you try to create an appImage). Therefore there should not be any conflicts at this level unless your distribution has really screwed up.

Quote from: JanMeki on November 12, 2026, 02:21:45 PMI've done that with pip before.

None of this kind is involved when building (non-appImage) Avidemux.

Quote from: JanMeki on November 12, 2026, 02:21:45 PMIs everything being contained in that folder (avidemux2) or will anything install to my system directories as well?

All build dependencies go to the system. All compilation products go to the build directory. The build directory doesn't need to be the same as the source directory (avidemux2). I personally always perform an out-of-tree build to keep the source directory clean. Once compilation has succeeded, you obviously can manually copy the products to the install prefix in the system (default: /usr) if you haven't requested packaging from the bootstrap script, but you don't need to.
#5
Unix-Like (Linux/Bsd/...) / Re: How to fix? Warning: Video...
Last post by JanMeki - November 12, 2026, 02:21:45 PM
Quote from: eumagga0x2a on November 06, 2026, 09:35:40 PMThank you for the (incomplete) log. Regarding libva, the lines
Here's the rest of the LOG. Seems like I didn't close avidemux before grabbing the log last time.

Quote from: eumagga0x2a on November 06, 2026, 09:35:40 PMThere is a script "createDebFromSourceUbuntu.bash" which automates (should automate) installation of dependencies, see README ("Debian / Ubuntu and variants"). Or do you mean that you are storage constrained, with little free space on the root filesystem?

No I should have enough space, if it doesn't take several GB's. My main concern is installing dependencies that conflict with something else. I've done that with pip before. Is everything being contained in that folder (avidemux2) or will anything install to my system directories as well?
#6
Main version 2.6 / Re: Used AI to make Avidemux k...
Last post by roadhazard - November 12, 2026, 01:42:50 AM
Quote from: sark on November 09, 2026, 10:29:15 AMOne other question...Did you make it Keyframe only to satisfy your own needs, or was it a technical limitation. Just curious!

It was primarily based on my own needs rather than a known technical limitation. My workflow involves cutting H.264/H.265 MKV files in Copy mode without re-encoding, so I normally stick to keyframes to preserve the original video quality.

The main goal of these builds was to preserve and synchronize embedded subtitles after editing, something Avidemux doesn't currently handle automatically.

I developed and tested the solution around that workflow. I haven't explored whether the subtitle functionality could also support arbitrary-frame cuts with re-encoding, so I wouldn't necessarily call it a technical limitation.
#7
Main version 2.6 / Re: 4K HEVC MP4 file doesn't p...
Last post by sark - November 11, 2026, 05:18:35 PM
Of course. I keep forgetting about the bots  :-\
#8
Main version 2.6 / Re: 4K HEVC MP4 file doesn't p...
Last post by eumagga0x2a - November 11, 2026, 12:37:55 PM
Quote from: sark on November 10, 2026, 03:42:57 PMAll a bit confusing !

Likely A without I.
#9
Windows / Re: avidemux_mingw64_20261018....
Last post by Luc77600 - November 11, 2026, 08:27:19 AM
Hello,
I configured the antivirus as described above.
Avidemux now opens very quickly.

Thank you.
With each update, the antivirus settings will need to be changed.

It's quite a hassle.
#10
Windows / Re: avidemux_mingw64_20261018....
Last post by Luc77600 - November 10, 2026, 10:29:00 PM
Thanks for the information.

I'll configure the antivirus, even though I'm using a portable version.

I'm very surprised that Windows 11 tests all the DLLs every time I use it, even though they were validated during download.
I'll let you know how it goes once I've done it.