2.6 crashes (since r8080) when opening .flv avc/aac from youtube

Started by cliffshit, August 03, 2012, 06:58:02 AM

Previous topic - Next topic

cliffshit

2.6 crashes (since r8080) when opening .flv avc/aac from youtube

Didn't have that problem before and no settings changed.

Copy the libADM_ad_faad.dll from Version 2.5.6 to 2.6 solves the problem for me, but seems to be overwritten again with a new 2.6 install.


cliffshit

Seems it crashes on EVERY file that contains aac audio.
As long as I replace the libADM_ad_faad.dll with an older version.

Jan Gruuthuse

This one works fine in Avidemux v2.6.0 (r8112) Ubuntu 12.04 LTS 64-bit: Martin and Sabine Pyrker - Babies Boogie Do you have the same problem with it?

mean


gruntster


cliffshit

Oh, sorry.. I forgot these infos.

It relates to the 32-bit versions from razorbyte since r8080.

To my surprise it works fine with the file from Jan, and some others too.

This one and most others crashes:
https://rapidshare.com/files/997086434/Moda Show 2012.flv

I now can not see specific differences in audio, maybe the vbr encodings?

Jan Gruuthuse

Same happens here: with Moda Show on 2.6 r8116 64-bit Ubuntu
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7ffdf90d839c]:0:<ADM_backTrack>:-2
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(_ZN8ADM_faad8initFaadEP9WAVHeaderjPh+0x1d8) [0x7ffdd1166ef8]:1:<ADM_faad::initFaad(WAVHeader*, unsigned int, unsigned char*)>:0
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(_ZN8ADM_faadC2EjP9WAVHeaderjPh+0x84) [0x7ffdd1167024]:2:<ADM_faad::ADM_faad(unsigned int, WAVHeader*, unsigned int, unsigned char*)>:0
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(create+0x48) [0x7ffdd1167158]:3:<create>:-2
/usr/bin/avidemux3_qt4(_Z13getAudioCodecjP9WAVHeaderjPh+0x80) [0x454df0]:4:<getAudioCodec(unsigned int, WAVHeader*, unsigned int, unsigned char*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x4de) [0x449bce]:5:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0x9c) [0x4355bc]:6:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x20) [0x476ef0]:7:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x393) [0x435f53]:8:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x91) [0x461151]:9:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7ffdf6562281]:10:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7ffdf6ef66df]:11:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x652604) [0x7ffdf6ef7604]:12:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7ffdf6562281]:13:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7ffdf6efec4f]:14:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x65aa99) [0x7ffdf6effa99]:15:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7ffdf6562281]:16:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7ffdf6a6a132]:17:<QAction::triggered(bool)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x6f) [0x7ffdf6a6a31f]:18:<QAction::activate(QAction::ActionEvent)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x59ad4a) [0x7ffdf6e3fd4a]:19:<>:-2
*********** BACKTRACK **************

General
Complete name                            : /home/jan/Videos/Moda Show 2012.flv
Format                                   : Flash Video
File size                                : 2.93 MiB
Duration                                 : 19s 300ms
Overall bit rate                         : 1 263 Kbps
httphostheader                           : o-o---preferred---muc03s05---v13---lscache6.c.youtube.com

Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Format settings, GOP                     : M=1, N=60
Codec ID                                 : 7
Duration                                 : 19s 333ms
Bit rate                                 : 1 134 Kbps
Width                                    : 854 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.092
Stream size                              : 2.61 MiB (89%)

Audio
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 10
Duration                                 : 19s 481ms
Bit rate                                 : 129 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 307 KiB (10%)


It would not be this:
QuoteBit rate                                 : 129 Kbps

mean


Jan Gruuthuse

not sure if you already uploaded modification to svn, just to inform:
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7f67c64dce3c]:0:<ADM_backTrack>:-2
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(_ZN8ADM_faad8initFaadEP9WAVHeaderjPh+0x1d8) [0x7f67a24d0ef8]:1:<ADM_faad::initFaad(WAVHeader*, unsigned int, unsigned char*)>:0
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(_ZN8ADM_faadC2EjP9WAVHeaderjPh+0x84) [0x7f67a24d1024]:2:<ADM_faad::ADM_faad(unsigned int, WAVHeader*, unsigned int, unsigned char*)>:0
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(create+0x48) [0x7f67a24d1158]:3:<create>:-2
/usr/bin/avidemux3_qt4(_Z13getAudioCodecjP9WAVHeaderjPh+0x80) [0x454df0]:4:<getAudioCodec(unsigned int, WAVHeader*, unsigned int, unsigned char*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x4de) [0x449bce]:5:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0x9c) [0x4355bc]:6:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x20) [0x476ef0]:7:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x393) [0x435f53]:8:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x91) [0x461151]:9:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7f67c3967281]:10:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7f67c42fb6df]:11:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x652604) [0x7f67c42fc604]:12:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7f67c3967281]:13:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7f67c4303c4f]:14:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x65aa99) [0x7f67c4304a99]:15:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7f67c3967281]:16:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7f67c3e6f132]:17:<QAction::triggered(bool)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x6f) [0x7f67c3e6f31f]:18:<QAction::activate(QAction::ActionEvent)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x59ad4a) [0x7f67c4244d4a]:19:<>:-2
*********** BACKTRACK **************

Jan Gruuthuse

crash window
Assert failed :l at line 127, file /home/jan/avidemux_2.6_branch_mean/avidemux_plugins/ADM_audioDecoders/ADM_ad_faad/ADM_ad_faad.cppADM_backTrack
ADM_faad::initFaad(WAVHeader*, unsigned int, unsigned char*)
ADM_faad::ADM_faad(unsigned int, WAVHeader*, unsigned int, unsigned char*)
create
getAudioCodec(unsigned int, WAVHeader*, unsigned int, unsigned char*)
ADM_Composer::addFile(char const*)
A_openAvi(char const*)
ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))
HandleAction(Action)
MainWindow::searchToolBar(QAction*)
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)


terminal output:
[HandleAction]  ************ OPEN_VIDEO **************
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [paintGL]  Painting dummy openGl widget
  [renderDisplayResize]  Render to 0x0 zoom=2
[Vdpau]Vdpau render end
[init]  [Vdpau]Xv start
  [outputSurfaceCreate]  ADM_coreVdpau::funcs.createOutputSurface(ADM_coreVdpau::vdpDevice,rgba_format, width,height,surface) call failed with error=The size of a supplied object does not match the object it is being used with.
  [reallocOutputSurface]  Cannot create outputSurface0
  [outputSurfaceDestroy]  ADM_coreVdpau::funcs.destroyOutputSurface(surface) call failed with error=An invalid handle value was provided.
  [spawnRenderer]  vdpau init failed
  [spawnRenderer]  Using simple renderer
  [simpleRender]  creating simple render.
  [init]  init, simple render. w=0, h=0,zoom=2
  [adm_lavLogCallback]  [lavc] 0x0 -> 0x0 is invalid scaling dimension
[RDR] Resizing to 0 x 0
[renderCompleteRedrawRequest]  RedrawRequest
  [deleteAll]  [Editor] Deleting all videos
  [~decoderFFVDPAU]  [VDPAU] Cleaning up
  [~decoderFFVDPAU]  [VDPAU] Destroying decoder
[lavc] Destroyed
[close]  Destroying TS demuxer
  [close]  Destroying TS demuxer
  [~ADM_edAudioTrackFromVideo]  Destroying edAudio from video track 0 at 289a550
  [~ADM_edAudioTrackFromVideo]  Destroying edAudio from video track 1 at 28b0f40
  [~ADM_edAudioTrackFromVideo]  Destroying edAudio from video track 2 at 28c7a40
  [A_ResetMarkers]  Video Total duration :  00:00:00,000  ms
[TS Demuxer] Probing...
[checkMarker]  [Ts Demuxer] Sync ok :14 Sync ko :3901
  [checkMarker]  [Ts Demuxer] Sync ok :15 Sync ko :3901
  [detectTs]  [TS Demuxer] Not a TS file
  [TS Demuxer] Not a ts file
[mxfHeader] Cannot open that (1564c46)
[asfHeader] Cannot open that
[picHeader] Cannot open that
[MP4] Cannot open that...
[flvHeader] FLV file detected...
[openDML] Cannot open that
[avsProxy] Cannot open that
[mkvHeader] Cannot open that
match :0 / 455 (probeSize:1048576)
[PS Demuxer] Not a ps file
[FLV] file size :3072616 bytes
[FLV] Video flag
[FLV] Audio flag
[FLV] Skipping 9 header bytes
pos:9/3072616
[FlashString] onMetaData
type :8 : MixedArray:durationtype :0 : ->19,299999
MixedArray:starttimetype :0 : ->0,000000
MixedArray:totaldurationtype :0 : ->19,299999
MixedArray:widthtype :0 : ->854,000000
MixedArray:heighttype :0 : ->480,000000
MixedArray:videodataratetype :0 : ->1134,470093
MixedArray:audiodataratetype :0 : ->128,895462
MixedArray:totaldataratetype :0 : ->1263,044922
MixedArray:frameratetype :0 : ->30,000000
MixedArray:bytelengthtype :0 : ->3072616,000000
MixedArray:canseekontimetype :1 :
MixedArray:sourcedatatype :2 :
MixedArray:purltype :2 :
MixedArray:pmsgtype :2 :
MixedArray:httphostheadertype :2 :
[FLV] Video Codec:7
[updateDimensionWithMeta]  We got metadata : 854 x 480
  [extraHeader]  [FLV] found some extradata 39

0000 : .M@.��..gM@.�.�=  01 4d 40 1f ff e1 00 18 67 4d 40 1f d9 00 d8 3d
0010 : ��.........<..2H  e6 e1 00 00 03 00 01 00 00 03 00 3c 0f 18 32 48
0020 : ...h�  01 00 04 68 eb 8f 20 [extraHeader]  [FLV] found some extradata 16

0000 : ................  12 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00[FLV] Found 580 frames
[FLV] Duration 19300 ms
[FLV]FLV successfully read
[Editor]The video codec has some extradata (39 bytes)

0000 : .M@.��..gM@.�.�=  01 4d 40 1f ff e1 00 18 67 4d 40 1f d9 00 d8 3d
0010 : ��.........<..2H  e6 e1 00 00 03 00 01 00 00 03 00 3c 0f 18 32 48
0020 : ...h�  01 00 04 68 eb 8f 20
[cleanup]  Deleting post proc
  [ADM_PP]  Initializing postproc
  [cleanup]  Deleting post proc
  [update]  updating post proc
  [update]  Disabled
  [addFile]  Clearing video filters
  [ADM_vf_clearFilters]  clear filters
[ADM_ad_plugin]Format 0xff : probing libADM_ad_lav.so score 50
[ADM_ad_plugin]Format 0xff : probing libADM_ad_opencore_amrnb.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_Mad.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_a52.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_vorbis.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_opencore_amrwb.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_ms_adpcm.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_dca.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_ulaw.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_ima_adpcm.so score 0
[ADM_ad_plugin]Format 0xff : probing libADM_ad_faad.so score 100
[initFaad]  [FAAD] using 16 bytes of extradata
  [initFaad]  12   [initFaad]  10   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad]  00   [initFaad] 
  [initFaad]  [FAAD]Found :44100 rate 2 channels
Saving crash file to /home/jan/.avidemux6/crash.py

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7f864f516e3c]:0:<ADM_backTrack>:-2
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(_ZN8ADM_faad8initFaadEP9WAVHeaderjPh+0x1d8) [0x7f8627599ef8]:1:<ADM_faad::initFaad(WAVHeader*, unsigned int, unsigned char*)>:0
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(_ZN8ADM_faadC2EjP9WAVHeaderjPh+0x84) [0x7f862759a024]:2:<ADM_faad::ADM_faad(unsigned int, WAVHeader*, unsigned int, unsigned char*)>:0
/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_faad.so(create+0x48) [0x7f862759a158]:3:<create>:-2
/usr/bin/avidemux3_qt4(_Z13getAudioCodecjP9WAVHeaderjPh+0x80) [0x454df0]:4:<getAudioCodec(unsigned int, WAVHeader*, unsigned int, unsigned char*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x4de) [0x449bce]:5:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0x9c) [0x4355bc]:6:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x20) [0x476ef0]:7:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x393) [0x435f53]:8:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x91) [0x461151]:9:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7f864c9a1281]:10:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7f864d3356df]:11:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x652604) [0x7f864d336604]:12:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7f864c9a1281]:13:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7f864d33dc4f]:14:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x65aa99) [0x7f864d33ea99]:15:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7f864c9a1281]:16:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7f864cea9132]:17:<QAction::triggered(bool)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x6f) [0x7f864cea931f]:18:<QAction::activate(QAction::ActionEvent)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x59ad4a) [0x7f864d27ed4a]:19:<>:-2
*********** BACKTRACK **************


Jan Gruuthuse

#12
Fixed in r8122