[FFmpeg-user] Git Head ffplay failing to play mp4
anshul
anshul.ffmpeg at gmail.com
Sat Mar 1 13:17:59 CET 2014
Hi
The latest git head is giving segmentation fault on my mp4 file.
While same file is playing on VLC
ffplay version N-61005-gb9ade98 Copyright (c) 2003-2014 the FFmpeg
developers
built on Mar 1 2014 15:52:49 with gcc 4.7 (SUSE Linux)
configuration: --enable-libfaac --enable-libx264
--enable-memory-poisoning --enable-memalign-hack --enable-nonfree
--enable-gpl --enable-libfreetype
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[New Thread 0xb7185b40 (LWP 18782)]
Missing separate debuginfo for /usr/lib/libXcursor.so.1
Try: zypper install -C
"debuginfo(build-id)=8b169dc78072719b8bf56ea487bec1fed5443a63"
Missing separate debuginfo for /usr/lib/libXfixes.so.3
Try: zypper install -C
"debuginfo(build-id)=95bf8a5e4f46101fec70128a920fec029dae9418"
[New Thread 0xb67c9b40 (LWP 18783)]
[New Thread 0xb1fc8b40 (LWP 18784)]
[Thread 0xb1fc8b40 (LWP 18784) exited]
[New Thread 0xb1fc8b40 (LWP 18785)]
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb1fc8b40 (LWP 18785)]
ff_h264_decode_mb_cabac (h=h at entry=0xb5de2020) at
libavcodec/h264_cabac.c:2044
2044 fill_rectangle(
&h->intra4x4_pred_mode_cache[ scan8[i] ], 2, 2, 8, mode, 1 );
(gdb) print h
$1 = (H264Context *) 0xb5de2020
(gdb) print &h->intra4x4_pred_mode_cache
$2 = (int8_t (*)[40]) 0xb5de2f08
(gdb) print scan8
$3 =
"\f\r\024\025\016\017\026\027\034\035$%\036\037&'45<=67>?DELMFGNO\\]de^_fglmtunovw\000(P"
(gdb) print scan8[i]
value has been optimized out
(gdb) print i
$4 = <optimized out>
(gdb) where
#0 ff_h264_decode_mb_cabac (h=h at entry=0xb5de2020) at
libavcodec/h264_cabac.c:2044
#1 0x083b5808 in decode_slice (avctx=avctx at entry=0xb16005e0,
arg=arg at entry=0xb1fc7bcc) at libavcodec/h264.c:4567
#2 0x083b632a in execute_decode_slices (h=h at entry=0xb5de2020,
context_count=<optimized out>) at libavcodec/h264.c:4725
#3 0x083bdecf in decode_nal_units (parse_extradata=0, buf_size=203319,
buf=0xb5cfb020 "", h=0xb5de2020) at libavcodec/h264.c:5105
#4 h264_decode_frame (avctx=0xb16005e0, data=0xb160aa40,
got_frame=0xb1fc7d90, avpkt=0xb1fc7d08) at libavcodec/h264.c:5247
#5 0x086f41ef in avcodec_decode_video2 (avctx=0xb16005e0,
picture=0xb160aa40, got_picture_ptr=got_picture_ptr at entry=0xb1fc7d90,
avpkt=avpkt at entry=0xb1fc7db8) at libavcodec/utils.c:2140
#6 0x08251e6f in try_decode_frame (s=s at entry=0xb16025e0,
st=st at entry=0xb1602f00, avpkt=avpkt at entry=0xb1604680, options=0xb1604660)
at libavformat/utils.c:2640
#7 0x0825c169 in avformat_find_stream_info (ic=0xb16025e0,
options=0xb1604660) at libavformat/utils.c:3232
#8 0x080c686a in read_thread (arg=0xb5ec9020) at ffplay.c:2758
#9 0xb7cc1f51 in ?? () from /usr/lib/libSDL-1.2.so.0
#10 0xb7d08efb in ?? () from /usr/lib/libSDL-1.2.so.0
#11 0xb7c9bb5e in start_thread () from /lib/libpthread.so.0
#12 0xb7997ede in clone () from /lib/libc.so.6
I tried with disable optimizatio, the same video is playing with that option
./configure --enable-libfaac --enable-libx264 --enable-memory-poisoning --enable-memalign-hack --enable-nonfree --enable-gpl --enable-libfreetype --disable-optimizations
Thanks
Anshul
More information about the ffmpeg-user
mailing list