Crash when muxing mp4 with ffmpeg
I got a helpful hint on the forum to work around the current issues with creating mp4 containers by using ffmpeg's muxer for the time being http://forum.videolan.org/viewtopic.php?f=34&t=76511
When trying to do so, VLC crashed.
I used the command
VLC -I dummy ~/Dropbox/Public/VLC/Original.dv --sout='#transcode{vcodec=h264,venc=x264{profile=main,level=3},vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=32000}:standard{access=file,mux=ffmpeg{mux=mp4},dst=/tmp/test.mp4}"}' vlc://quit
got this output:
[0x28d7e8] main interface error: no interface module matched "globalhotkeys,none"
[0x28d7e8] main interface error: no suitable interface module
[0x20a188] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1000538] dummy interface: using the dummy interface module...
x264 [info]: using threads=0
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Main, level 3.0
x264 [info]: using threads=0
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Main, level 3.0
track 0: codec frame size is not set
[0x10017f8] avformat mux error: could not write header
x264 [info]: frame I:3 Avg QP:22,27 size: 40565
x264 [info]: frame P:524 Avg QP:23,94 size: 3991
x264 [info]: consecutive B-frames: 100,0% 0,0%
x264 [info]: mb I I16..4: 55,6% 0,0% 44,4%
x264 [info]: mb P I16..4: 7,3% 0,0% 0,1% P16..4: 27,4% 3,7% 0,9% 0,0% 0,0% skip:60,7%
x264 [info]: coded y,uvDC,uvAC intra: 68,6% 26,0% 2,0% inter: 8,5% 5,2% 0,1%
x264 [info]: i16 v,h,dc,p: 24% 26% 33% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 25% 26% 4% 5% 5% 6% 5% 5%
x264 [info]: Weighted P-Frames: Y:0,0%
x264 [info]: ref P L0: 56,8% 10,4% 7,1% 17,9% 7,8%
x264 [info]: kb/s:839,88
Bus error
and this crash log in VLC 1.1-RC on Mac OS 10.6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
Crashed Thread: 1
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff814fdeb6 __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff81501cd1 _pthread_cond_wait + 1286
2 libvlccore.4.dylib 0x00000001000a0529 vlc_cond_wait + 9
3 libvlccore.4.dylib 0x000000010002213d libvlc_InternalWait + 45
4 libvlc.5.dylib 0x00000001000094dc libvlc_wait + 12
5 org.videolan.vlc 0x0000000100003baa main + 410
6 org.videolan.vlc 0x00000001000039e4 start + 52
Thread 1 Crashed:
0 libavformat_plugin.dylib 0x000000010212f609 mov_write_moov_tag + 89
1 ??? 0x0000000000008000 0 + 32768
2 ??? 0x000200006d6f7369 0 + 562951789441897
Thread 2:
0 libSystem.B.dylib 0x00007fff81524b3e __sigwait + 10
1 libSystem.B.dylib 0x00007fff81524b17 sigwait + 73
2 libsignals_plugin.dylib 0x00000001007e97ed SigThread + 77
3 libSystem.B.dylib 0x00007fff814fc456 _pthread_start + 331
4 libSystem.B.dylib 0x00007fff814fc309 thread_start + 13
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x0000000101805828 rbx: 0x0000000101804610 rcx: 0x0000000000000000 rdx: 0x0000000000000001
rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x0000000101006120 rsp: 0x00000001007e4800
r8: 0x0000000000000000 r9: 0x0000000101805800 r10: 0x0000000000000001 r11: 0x0000000000000007
r12: 0x0000000000000020 r13: 0x0000000000000002 r14: 0x0000000101006020 r15: 0x00000001002a5dd0
rip: 0x000000010212f609 rfl: 0x0000000000010246 cr2: 0x0000000000000004