Author Topic: Crash opening file from youtube  (Read 212 times)

thany

  • Full Member
  • ***
  • Posts: 143
Crash opening file from youtube
« on: February 11, 2020, 11:44:18 AM »
I downloaded a 1080p video stream from youtube. When I open it in Avidemux, it crashes.

Code: [Select]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_backTrack  [libADM_core6.dll]
ADM_lavDestroy()  [libADM_coreVideoCodec6.dll]
ADM_lavDestroy()  [libADM_coreVideoCodec6.dll]
ADM_coreCodecGetDecoder(unsigned int, unsigned int, unsigned int, unsigned int, unsigned char*, unsigned int)  [libADM_coreVideoCodec6.dll]
ADM_EditorSegment::addReferenceVideo(_VIDEOS*)  [avidemux.exe]
ADM_Composer::addFile(char const*)  [avidemux.exe]
A_openVideo(char const*)  [avidemux.exe]
MainWindow::openFiles(QList<QUrl>)  [avidemux.exe]
MainWindow::eventFilter(QObject*, QEvent*)  [avidemux.exe]
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)  [Qt5Core.dll]
QApplicationPrivate::notify_helper(QObject*, QEvent*)  [Qt5Widgets.dll]
QApplication::notify(QObject*, QEvent*)  [Qt5Widgets.dll]
QCoreApplication::notifyInternal2(QObject*, QEvent*)  [Qt5Core.dll]
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)  [Qt5Core.dll]
qt_plugin_instance  [qwindows.dll]
QEventDispatcherWin32Private::sendTimerEvent(int)  [Qt5Core.dll]
CallWindowProcW  [USER32.dll]
DispatchMessageW  [USER32.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.exe]
startAvidemux(int, char**)  [avidemux.exe]
SDL_main  [avidemux.exe]
ms2timedisplay(unsigned int)  [avidemux.exe]
unknown function  [avidemux.exe]
unknown function  [avidemux.exe]
BaseThreadInitThunk  [KERNEL32.DLL]
RtlUserThreadStart  [ntdll.dll]

This is on a freshly downloaded version 2.7.5 200207_27b419866ec-fflibs 4.2.2, Windows 10.

I'll attach the first 100KB of the file. I hope that's enough to diagnose the problem.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3677
Re: Crash opening file from youtube
« Reply #1 on: February 11, 2020, 04:57:34 PM »
As suspected, the crash is the result of support for AV1 implemented and enabled in the demuxer and in other relevant parts of the chain, but the required libaom library not installed and the decoder thus not enabled and not built in the official MXE build node where MinGW Avidemux builds are generated. Not sure I can do anything about it.

Recent official VC++ builds have the decoder plugin available and working.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3677
Re: Crash opening file from youtube
« Reply #2 on: February 14, 2020, 06:56:55 PM »
The crash as such if a video decoder for a particular codec is unavailable should not happen anymore starting with r200214 from https://avidemux.org/nightly/win64/.