News:

--

Main Menu

crashes upon opening mp4 file

Started by markinfo, December 19, 2012, 06:08:45 PM

Previous topic - Next topic

markinfo

I have compiled snapshot 8308 and I am unable to open mp4 video produced by my camera
Sample: http://marek.3stars.cz/wiki/lib/exe/fetch.php/programming/100_0563.mp4 (6MB)

In Avidemux:

Segfault
at line 0, file ??ADM_backTrack

ADM_mp4AudioAccess::getDurationInUs()
ADM_audioStream::ADM_audioStream(WAVHeader*, ADM_audioAccess*)
ADM_audioCreateStream(WAVHeader*, ADM_audioAccess*, bool)
MP4Header::open(char const*)
ADM_Composer::addFile(char const*)
A_openAvi(char const*)
FileSel_ReadWrite(void (*)(char const*), int, char const*, char const*)
avidemux3_gtk() [0x453efe]
HandleAction(Action)
guiCallback(_GtkMenuItem*, void*)
g_closure_invoke

g_signal_emit_valist
g_signal_emit
gtk_widget_activate
gtk_menu_shell_activate_item

In terminal:
[Gtk] Entering gtk_main
[HandleAction]  ************ OPEN_VIDEO **************
[TS Demuxer] Probing...
[checkMarker]  [Ts Demuxer] Sync ok :16 Sync ko :3990
  [checkMarker]  [Ts Demuxer] Sync ok :13 Sync ko :3993
  [detectTs]  [TS Demuxer] Not a TS file
  [TS Demuxer] Not a ts file
[avsProxy] Cannot open that
[openDML] Cannot open that
[mkvHeader] Cannot open that
[flvHeader] Cannot open that
[picHeader] Cannot open that
[asfHeader] Cannot open that
[mxfHeader] Cannot open that (20000000)
Match ftyp
[MP4]MP4/MOV/3GP file detected...
match :0 / 455 (probeSize:1048576)
[PS Demuxer] Not a ps file
** opening 3gpp files **Analyzing file and atoms
Warning: scale is not in ms 90000!
Parsing Track
[parseTrack]  EDTS atom found
  [parseEdts]  Parsing Edts>>
  [parseEdts]  ELST atom found
  [parseEdts]  Found 1 entries in list:
  [parseEdts]  Duration : 531531, mediaTime:3003 speed=65536
<<Parsing Mdia>>
[HDLR]
hdlr video found
<<Parsing Stbl>>
[STSD] VIDEO avc1, size 158
[STSD] vendor
[STSD] width :1280
[STSD] height :720
[STSD] datasize :0
[STSD] FrameCount :1
Codec string :21 <Ambarella AVC encoder>
LEFT:70
Reading avcC, got avcC
avcC size:64
avcC Revision             :1
avcC AVCProfileIndication :4d
avcC profile_compatibility:0
avcC AVCLevelIndication   :2a
avcC lengthSizeMinusOne   :ff
avcC NumSeq               :e1
avcC sequenceParSetLen    :31
0000 : 'M.*�b��.v. ..}   27 4d 00 2a 9a 62 80 a0 0b 76 02 20 00 00 7d 20
0010 : ..L....��..y��yq  00 1d 4c 1d 0c 00 05 e6 a0 00 01 79 a7 d7 79 71
0020 : ��.��../4��...�Q  a1 80 00 bc d4 00 00 2f 34 fa ef 2e 1f 08 84 51
0030 : �  e0
avcC numOfPictureParSets  :1
avcC Pic len              :4

0000 : .(�<  04 28 ee 3cstts:0
Time stts atom found (1)
Using myscale 90000
ctts:0
Found 177 elements
0 frames /177 nbsz..
      nbCo: 177
Stss:6
[indexify]  Build Track index
Index done
[MP4]**************** Updating CTTS **********************
Parsing Track
<<Parsing Mdia>>
[HDLR]
hdlr audio found
<<Parsing Stbl>>
[STSD] AUDIO <mp4a>, 0x6d703461, size 86
[STSD]Revision       :0
[STSD]Vendor         :
[STSD]Channels       :1
[STSD]Bit per sample :16
[STSD]Encoding       :65534
[STSD]Packet size    :65534
[STSD]Fq:48000
[STSD]Fq       :48000
[STSD] chan:1 bpp:16 encoding:65534 fq:48000 (left 50)
> got esds atom
[MP4]Esds atom found
    Tag : 3 Len : 34
    ES_Desc
    Tag : 4 Len : 22
   DecConfigDesc : Tag 64
    Tag : 5 Len : 5
    DecSpecicInfo
Esds for audio
    5 bytes of extraData
[refineAudio]  Audio track is AAC, checking it...
stts:0
Time stts atom found (1)
Using myscale 48000
0 frames /276 nbsz..
      nbCo: 276
Cur audio track :0
[indexify]  Build Track index
All the same size: 0 (total size 0 bytes)
SttsC[0] = 1024, sttsN[0]=276
[processAudio]  Not regular (time increment is not 1)
Indexed audio, nb blocks:0
Indexed audio, nb blocks:276 (final)
Done finding main atoms

Saving crash file to /home/marek-noncrypt/.avidemux6/crash.py

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x49) [0x7f538e03e2e9]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7f5388c844f0]:1:<>:-2
/usr/lib/ADM_plugins6/demuxers/libADM_dm_mp4.so(_ZN18ADM_mp4AudioAccess15getDurationInUsEv+0x12) [0x7f537bd05142]:2:<ADM_mp4AudioAccess::getDurationInUs()>:0
/usr/lib/libADM_coreAudio6.so(_ZN15ADM_audioStreamC2EP9WAVHeaderP15ADM_audioAccess+0x7a) [0x7f538dc0f4ea]:3:<ADM_audioStream::ADM_audioStream(WAVHeader*, ADM_audioAccess*)>:0
/usr/lib/libADM_coreAudio6.so(_Z21ADM_audioCreateStreamP9WAVHeaderP15ADM_audioAccessb+0x67) [0x7f538dc0f9a7]:4:<ADM_audioCreateStream(WAVHeader*, ADM_audioAccess*, bool)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_mp4.so(_ZN9MP4Header4openEPKc+0x28f) [0x7f537bd05acf]:5:<MP4Header::open(char const*)>:0
avidemux3_gtk(_ZN12ADM_Composer7addFileEPKc+0x147) [0x43af77]:6:<ADM_Composer::addFile(char const*)>:0
avidemux3_gtk(_Z9A_openAviPKc+0x8f) [0x4258af]:7:<A_openAvi(char const*)>:0
/usr/lib/libADM_coreUI6.so(_Z17FileSel_ReadWritePFvPKcEiS0_S0_+0x64) [0x7f538cde63a4]:8:<FileSel_ReadWrite(void (*)(char const*), int, char const*, char const*)>:0
avidemux3_gtk() [0x453efe]:9:<avidemux3_gtk() [0x453efe]>:0
avidemux3_gtk(_Z12HandleAction6Action+0x445) [0x426385]:10:<HandleAction(Action)>:0
avidemux3_gtk(_Z11guiCallbackP12_GtkMenuItemPv+0x1f) [0x455d2f]:11:<guiCallback(_GtkMenuItem*, void*)>:0
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7f538a4b36e0]:12:<g_closure_invoke>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x22750) [0x7f538a4c4750]:13:<>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xdac) [0x7f538a4cc6bc]:14:<g_signal_emit_valist>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f538a4cc852]:15:<g_signal_emit>:-2
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_activate+0x7c) [0x7f538bd0e81c]:16:<gtk_widget_activate>:-2
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_menu_shell_activate_item+0xfe) [0x7f538bc0207e]:17:<gtk_menu_shell_activate_item>:-2
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x19d41b) [0x7f538bc0241b]:18:<>:-2
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1823af) [0x7f538bbe73af]:19:<>:-2
*********** BACKTRACK **************

(avidemux3_gtk:16837): Gtk-CRITICAL **: gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed

(avidemux3_gtk:16837): Gtk-CRITICAL **: gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed


Build log of Avidemux:
http://marek.3stars.cz/wiki/lib/exe/fetch.php/programming/build.log

Jan Gruuthuse

Opens fine with avidemux 2.6 r8319 QT (try this one if you tried with GTK) on Ubuntu 12.04.1 (64-bit)

markinfo

#2
Where you get r8319 ?
http://www.avidemux.org/nightly/source/
there is r8303

mean

The snapshot bot is broken
If you can get the source from svn or git


markinfo

well - compilation from git does not crash anymore.

Jan Gruuthuse