PDA

View Full Version : Avidemux can't open a 1.6gb MP4 file?


Sillen
5th March 2008, 10:35
As the title says, I'm trying to open a 1.6gb MP4 file (H.264/AAC) in Avidemux, but I just get an error ("Fatal error....") and the program closes.

Is the file too big or what? It works fine with smaller files.

LoRd_MuldeR
5th March 2008, 13:01
I can't reproduce the problem, because I don't have an MP4 file at that size nor do I currently have the time to create one.

Did you try only one MP4 file of that size? If so, you might want to try different ones from different sources.
Also: What does the log (C:\Documents and Settings\<foo>\avidemux\admlog.txt) say ???

Last but not least the problem should be reported to http://bugs.avidemux.org/ if it can be reproduced with several files...

Sillen
5th March 2008, 13:21
Yes, I've only tried this with one file. I'll test with other files as well and report back.

EDIT: Just noticed this in the log: Movie duration :57 minutes
The file is around 4h and 30 mins long...

From the log:

*************************
Avidemux v2.4.1 (r3791)
*************************
http://www.avidemux.org
Code : Mean, JSC, Gruntster
GFX : Nestor Di , nestordi@augcyl.org
Design : Jakub Misak
FreeBSD : Anish Mistry, amistry@am-productions.biz
Audio : Mihail Zenkov
MacOsX : Kuisathaverat
Win32 : Gruntster

Compiler: GCC 4.2.1
Build Target: Microsoft Windows (x86)
User Interface: GTK+ (2.10.14)
Operating System: Microsoft Windows XP Professional Service Pack 2 (5.1.2600; 32-bit)

Initialising prefs
Preferences found and loaded
[cpuCaps]Checking CPU capabilities
MMX detected
3DNOW detected
MMXEXT detected
SSE detected
SSE2 detected
SSE3 detected
[cpuCaps]End of CPU capabilities check (cpuMask :ffffffff)

Registering Encoders
*********************
MJPEG encoder registered
Xvid-4 encoder registered
FFmpeg encoder registered

3 encoder(s) registered

[SDL] Version: 1.2.13
[SDL] Setting video driver to Microsoft DirectX
[SDL] Initialisation succeeded
[SDL] Video Driver: directx

Initializing WinSock
WinSock ok

[Locale] setlocale Swedish_Sweden.1252
[Locale] Textdomain was messages
[Locale] Textdomain is now avidemux
[Locale] Test: _File

Initializing Dithering tables
[xvid] Initializing global Xvid 4
[xvid] Build: xvid-1.2.0-dev
[xvid] SIMD supported: (1ff)
MMX
MMXEXT
SSE
SSE2
3DNOW
3DNOWEXT
Found 19 video encoder
Found 10 audio encoder
Found 13 Format
Directory C:\Documents and Settings\********\avidemux\custom exists.Good.
No custom script
Found 0 custom scripts, adding them
Menu built
The screen seems to be 1280 x 994 px
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:3

Registering Filters
*********************

Using dummy audio device
Unable to load [libamrnb-2.dll]: The specified module could not be found.


Unable to load [libdts.dll]: The specified module could not be found.


Spidermonkey initialized.
No crash file (C:\Documents and Settings\********\avidemux/crash.js)
20000000 -> 20000000

3GPP /MP4/Quicktime file detected..
** opening 3gpp files **Analyzing file and atoms
Warning : scale is not in ms 1000 !
Movie duration :57 minutes
Parsing Track
<<Parsing Mdia>>
MDHD,Track duration :38 seconds, trackScale :90000
[HDLR]
hdlr video found
<<Parsing Stbl>>
[STSD] VIDEO avc1, size 155
[STSD] vendor
[STSD] width :320
[STSD] height :240
[STSD] datasize :0
[STSD] FrameCount :1
Codec string :10 <AVC Coding>
LEFT:67
Reading avcC, got avcC
avcC size:33
avcC Revision :1
avcC AVCProfileIndication :42
avcC profile_compatibility:e0
avcC AVCLevelIndication :d
avcC lengthSizeMinusOne :ff
avcC NumSeq :e1
avcC sequenceParSetLen :12
0000 : gBà.Ú..ì.@..„..¯ 67 42 e0 0d da 05 07 ec 04 40 00 03 84 00 00 af
0010 : È. c8 01
avcC numOfPictureParSets :1
avcC Pic len :4

0000 : hÎ3È 68 ce 33 c8stts:0
Time stts atom found (1)
Using myscale 90000
0 frames /408702 nbsz..
nbCo:408702
Stss:9491
Build Track index
Index done
Parsing Track
<<Parsing Mdia>>
MDHD,Track duration :1 minute, trackScale :48000
[HDLR]
hdlr audio found
<<Parsing Stbl>>
[STSD] AUDIO <mp4a>, 0x6d703461, size 75
[STSD]Revision :0
[STSD]Vendor :
[STSD]Channels :2
[STSD]Bit per sample :16
[STSD]Encoding :0
[STSD]Packet size :0
[STSD]Fq:48000
[STSD]Fq :48000
[STSD] chan:2 bpp:16 encoding:0 fq:48000 (left 39)
Reading wave, got esds
[MP4]Esds atom found
Tag : 3 Len : 25
ES_Desc
Tag : 4 Len : 17
DecConfigDesc : Tag 64
Tag : 5 Len : 2
DecSpecicInfo
Esds for audio
stts:0
Time stts atom found (1)
Using myscale 48000
0 frames /766315 nbsz..
nbCo:766315
Cur audio track :0
Build Track index
Saving crash file to C:\Documents and Settings\********\avidemux/crash.js

**Saving script project **

*********** EXCEPTION **************
Registers:
EAX: 000F25C0 EBX: 00000001 ECX: 000327A8 EDX: 02FE8D10 ESI: 000BB16B
EDI: 000BB16B ESP: 0022D7A0 EBP: 0022D930 EIP: 0098F5B3 EFlags: 00210202

Exception Code: EXCEPTION_STACK_OVERFLOW (C00000FD)
Exception Flags: 00000000

Origin:
C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN5ClockC2Ev+0x58F5B3) [0x0098F5B3]
*********** EXCEPTION **************

*********** BACKTRACE **************
Frame 0: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z16exceptionHandlerP17_EXCEPTION_RECORDPvP8_CONTEXTS1_+0x116C80) [0x00516C80]
Frame 1: C:\WINDOWS\system32\ntdll.dll(RtlConvertUlongToLargeInteger+0x37BF) [0x7C9037BF]
Frame 2: C:\WINDOWS\system32\ntdll.dll(RtlConvertUlongToLargeInteger+0x378B) [0x7C90378B]
Frame 3: C:\WINDOWS\system32\ntdll.dll(KiUserExceptionDispatcher+0xEAFA) [0x7C90EAFA]
Frame 4: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN9MP4Header9parseStblEPvjjjj+0xE78A4) [0x004E78A4]
Frame 5: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN9MP4Header9parseMdiaEPvPjjj+0xE7DDF) [0x004E7DDF]
Frame 6: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN9MP4Header10parseTrackEPv+0xE8208) [0x004E8208]
Frame 7: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN9MP4Header15lookupMainAtomsEPv+0xE82D1) [0x004E82D1]
Frame 8: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN9MP4Header4openEPc+0xE42CA) [0x004E42CA]
Frame 9: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(ZN12ADM_Composer7addFileEPch8fileType+0x1E6BF) [0x0041E6BF]
Frame 10: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z10A_openAvi2Pch+0x6270) [0x00406270]
Frame 11: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z9A_openAviPc+0x65C0) [0x004065C0]
Frame 12: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z13fileReadWritePFvPcEiS_+0x5805B4) [0x009805B4]
Frame 13: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z13fileReadWritePFvPcEiS_+0x5808B2) [0x009808B2]
Frame 14: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z12HandleAction6Action+0x7F94) [0x00407F94]
Frame 15: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\avidemux2_gtk.exe(Z11guiCallbackP12_GtkMenuItemPv+0x575BBC) [0x00975BBC]
Frame 16: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_closure_invoke+0x3945) [0x63A43945]
Frame 17: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_has_handler_pending+0x17125) [0x63A57125]
Frame 18: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_emit_valist+0x17EDA) [0x63A57EDA]
Frame 19: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_emit_by_name+0x1806C) [0x63A5806C]
Frame 20: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_closure_invoke+0x3945) [0x63A43945]
Frame 21: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_has_handler_pending+0x17125) [0x63A57125]
Frame 22: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_emit_valist+0x17EDA) [0x63A57EDA]
Frame 23: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_emit+0x18166) [0x63A58166]
Frame 24: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgtk-win32-2.0-0.dll(gtk_button_clicked+0x1DAF0) [0x6049DAF0]
Frame 25: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgtk-win32-2.0-0.dll(gtk_button_get_alignment+0x1FC9C) [0x6049FC9C]
Frame 26: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_closure_invoke+0x3945) [0x63A43945]
Frame 27: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_has_handler_pending+0x16B22) [0x63A56B22]
Frame 28: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_emit_valist+0x17EDA) [0x63A57EDA]
Frame 29: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgobject-2.0-0.dll(g_signal_emit+0x18166) [0x63A58166]
Frame 30: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgtk-win32-2.0-0.dll(gtk_button_released+0x1DA70) [0x6049DA70]
Frame 31: C:\Documents and Settings\********\Desktop\avidemux_2.4.1_win32\libgtk-win32-2.0-0.dll(gtk_button_set_relief+0x1F0E2) [0x6049F0E2]
*********** BACKTRACE **************

Cleaning up
Deleting post proc
Waiting for Spidermonkey to finish...
Cleaning up Spidermonkey.
[SDL] Quitting...
End of cleanup

Images stat:
___________
Max memory consumed (MB) : 0
Current memory consumed (MB) : 0
Max image used : 0
Cur image used : 0
Global mem stat
______________
Memory consumed: 50 (MB)

Goodbye...

Sillen
5th March 2008, 15:50
Okay, just tried with a 1.8gb MP4 file (MJPEG/MP3) and it worked fine. Should I assume this has something to do with H.264 then?

Thanks.

LoRd_MuldeR
5th March 2008, 16:04
Okay, just tried with a 1.8gb MP4 file (MJPEG/MP3) and it worked fine. Should I assume this has something to do with H.264 then?

Thanks.

Either your first MP4 was borked in some way or it has some "specialty" that Avidemux doesn't like.

Maybe you want to re-mux the problematic file with MP4Box and try again.
If the problem persists, file a bug-report and upload a sample file to reproduce the problem...

setarip_old
5th March 2008, 18:34
@Sillen

Hi!As the title says, I'm trying to open a 1.6gb MP4 file (H.264/AAC) in Avidemux, but I just get an error ("Fatal error....") and the program closes.1) Does the file PLAY properly, from start to finish?

2)What software and procedures did you use to create this particular .MP4?

3) Please load this file into GSpot and post a screen capture back here...

Sillen
5th March 2008, 20:04
1) Yes, it plays fine in both VLC and MPC.

2) It's recorded with Pinnacle Video Transfer (http://www.pinnaclesys.com/PVT). No other editing has been done to the file.

3)
http://img100.imageshack.us/img100/5264/gspotsa9.png

Thanks for all the help, I really appreciate it.

EDIT: I tried loading a 2.2gb MP4 file now and the program just hangs. All this seems like a bug to me, so I'll look into filing a bug-report.