Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on June 03, 2016, 07:31:05 AM

Title: Fixed: crash NALU_descriptor (windows/ubuntu)
Post by: Jan Gruuthuse on June 03, 2016, 07:31:05 AM
Ubuntu fixed: a89ef1c    [annexB] Fail nicely when splitNAlu has a problem

Originally reported in Avidemux-German: Avidemux 2.6.12 64bit Problem beim Speichern einer HDTV-Sendung im MP4-Format (http://avidemux.org/smif/index.php/topic,16832.msg75174.html#msg75174) by manno24
----
Workflow
----
Download this video (87.1MB)
servusHDvideo cableTV (https://www.dropbox.com/s/o96kzuit744b9zj/%5BTS%5D2016-06-02.08.15.12-ServusTV%20HD-Auf%20legenddren%20Routen-57.zip?dl=0)
Load the video into recent avidemux
Select for Output Format either MP4 or MPV4v2 muxer
Save video:

Popup window avidemux:
Assert failed :index<maxNalu
at line 939, file /home/jan/avidemux2/avidemux_core/ADM_coreUtils/src/ADM_infoExtractorH264.cppADM_backTrack
ADM_splitNalu(unsigned char*, unsigned char*, unsigned int, NALU_descriptor*)
ADM_convertFromAnnexBToMP4(unsigned char*, unsigned int, unsigned char*, unsigned int)
ADM_videoStreamCopyFromAnnexB::getPacket(ADMBitstream*)
muxerMp4v2::loadNextVideoFrame(ADMBitstream*)
muxerMp4v2::save()
admSaver::save()
A_Save(char const*)
A_SaveWrapper(char const*)
ADM_QT4_fileSel::GUI_FileSelWriteExtension(char const*, char const*, void (*)(char const*))
HandleAction_Save(Action)
HandleAction(Action)
/usr/bin/avidemux3_qt4() [0x48ba94]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
MainWindow::actionSignal(Action)
MainWindow::searchToolBar(QAction*)
/usr/bin/avidemux3_qt4() [0x48bd48]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)

QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)


terminal output:*********** BACKTRACK **************
Crash Dump for Crash
Assert failed :index<maxNalu
at line 939, file /home/jan/avidemux2/avidemux_core/ADM_coreUtils/src/ADM_infoExtractorH264.cppADM_backTrack
ADM_splitNalu(unsigned char*, unsigned char*, unsigned int, NALU_descriptor*)
ADM_convertFromAnnexBToMP4(unsigned char*, unsigned int, unsigned char*, unsigned int)
ADM_videoStreamCopyFromAnnexB::getPacket(ADMBitstream*)
muxerMp4v2::loadNextVideoFrame(ADMBitstream*)
muxerMp4v2::save()
admSaver::save()
A_Save(char const*)
A_SaveWrapper(char const*)
ADM_QT4_fileSel::GUI_FileSelWriteExtension(char const*, char const*, void (*)(char const*))
HandleAction_Save(Action)
HandleAction(Action)
/usr/bin/avidemux3_qt4() [0x48ba94]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
MainWindow::actionSignal(Action)
MainWindow::searchToolBar(QAction*)
/usr/bin/avidemux3_qt4() [0x48bd48]
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)

QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)
Title: Re: crash NALU_descriptor (windows/ubuntu)
Post by: mean on June 04, 2016, 03:52:51 PM
Should be okay now, win64_ffmpeg3 build in progress
Title: Re: crash NALU_descriptor (windows/ubuntu)
Post by: Jan Gruuthuse on June 04, 2016, 04:55:00 PM
Ubuntu Fixed: a89ef1c    [annexB] Fail nicely when splitNAlu has a problem