[MPlayer-dev-eng] [BUG] sig11 when seeking in audio-only AVI
Gabucino
gabucino at mplayer.dev.hu
Mon Apr 8 18:17:23 CEST 2002
This is an AVI created by 3pass encoding's first pass.
Then playing it with MPlayer and trying to seek:
(gdb) run -v ~/cd/test.avi
Starting program: /home/gabucino/mplayer/src/./mplayer -v ~/cd/test.avi
[New Thread 1024 (LWP 22899)]
MPlayer CVS-020408-18:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
/home/gabucino/.mplayer/config(1): option: vo
/home/gabucino/.mplayer/config(1): parameter: xmga
/home/gabucino/.mplayer/config(2): option: fs
/home/gabucino/.mplayer/config(2): parameter: igen
/home/gabucino/.mplayer/config(6): option: osdlevel
/home/gabucino/.mplayer/config(6): parameter: 1
/home/gabucino/.mplayer/config(7): option: framedrop
/home/gabucino/.mplayer/config(7): parameter: nem
/home/gabucino/.mplayer/config(8): option: autoq
/home/gabucino/.mplayer/config(8): parameter: 100
/home/gabucino/.mplayer/config(11): option: cache
/home/gabucino/.mplayer/config(11): parameter: 1024
Reading /home/gabucino/.mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-v' '/home/gabucino/cd/test.avi'
get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds
Playing /home/gabucino/cd/test.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 95597184 bytes
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes) Detected AVI file format!
list_end=0x146
======= AVI Header =======
us/frame: 33366 (fps=29.971)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 179310 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 0 x 0
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 299700/10000 = 29.970
Start: 0 Len: 179310
Suggested BufferSize: 4
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 0
biHeight 0
biPlanes 1
biBitCount 24
biCompression 1867412038='FrNo'
biSizeImage 0
===========================
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0 Len: 249312
Suggested BufferSize: 960
Quality 0
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 14137
Block align: 1152
bits/sample: 0
cbSize: 12
Broken chunk? chunksize=1714 (id=JUNK)
list_end=0x54A0D98
Found movie at 0x80C - 0x54A0D98
Reading INDEX block, 428622 chunks for 179310 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 428622 chunks for 179310 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x6C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=85058884
VIDEO: [FrNo] 0x0 24bpp 29.97 fps 113.7 kbps (13.9 kbyte/s)
[V] filefmt:3 fourcc:0x6F4E7246 size:0x0 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/gabucino/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow! optimized decore!
MPEG 1.0, Layer III, 48000 Hz 32 kbit Joint-Stereo, BPF: 96
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 4000->192000
==========================================================================
Can't find codec matching selected -vo and video format 0x6F4E7246 !
get_path('codecs.conf') -> '/home/gabucino/.mplayer/codecs.conf'
*** Try to upgrade /home/gabucino/.mplayer/codecs.conf from etc/codecs.conf
*** If it's still not OK, then read DOCS/codecs.html!
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-
bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
Video: no video!!!
Freeing 0 unused video chunks
Start playing...
XXX initial v_pts=0.000 a_pos=7056 (0.499)
A: 0.6 3.5% 97%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 22899)]
demux_seek_avi (demuxer=0x834ff38, rel_seek_secs=10, flags=0)
at demux_avi.c:534
534 int rel_seek_frames=rel_seek_secs*sh_video->fps;
(gdb) bt
#0 demux_seek_avi (demuxer=0x834ff38, rel_seek_secs=10, flags=0)
at demux_avi.c:534
#1 0x81427c0 in demux_seek (demuxer=0x834ff38, rel_seek_secs=10, flags=0)
at demuxer.c:961
#2 0x806d0e5 in main (argc=3, argv=0xbffff954, envp=0xbffff964)
at mplayer.c:2717
#3 0x405cb906 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x813e582 to 0x813e5c2:
0x813e582 <demux_seek_avi+18>: fld %st(0)
0x813e584 <demux_seek_avi+20>: mov 0x858(%edx),%edi
0x813e58a <demux_seek_avi+26>: mov 0x2c(%edx),%ecx
0x813e58d <demux_seek_avi+29>: mov %ecx,0xffffffc4(%ebp)
0x813e590 <demux_seek_avi+32>: mov 0x30(%edx),%ebx
0x813e593 <demux_seek_avi+35>: mov %ebx,0xffffffc0(%ebp)
0x813e596 <demux_seek_avi+38>: mov 0x58(%ecx),%esi
0x813e599 <demux_seek_avi+41>: mov %esi,0xffffffbc(%ebp)
0x813e59c <demux_seek_avi+44>: mov 0x58(%ebx),%edx
0x813e59f <demux_seek_avi+47>: mov %edx,0xffffffb8(%ebp)
0x813e5a2 <demux_seek_avi+50>: fmuls 0x14(%edx)
0x813e5a5 <demux_seek_avi+53>: mov 0x10(%ebp),%eax
0x813e5a8 <demux_seek_avi+56>: fnstcw 0xfffffffe(%ebp)
0x813e5ab <demux_seek_avi+59>: mov 0xfffffffe(%ebp),%cx
0x813e5af <demux_seek_avi+63>: or $0xc00,%cx
0x813e5b4 <demux_seek_avi+68>: mov %cx,0xfffffffc(%ebp)
0x813e5b8 <demux_seek_avi+72>: fldcw 0xfffffffc(%ebp)
0x813e5bb <demux_seek_avi+75>: fistpl 0xfffffff8(%ebp)
0x813e5be <demux_seek_avi+78>: mov 0xfffffff8(%ebp),%esi
0x813e5c1 <demux_seek_avi+81>: fldcw 0xfffffffe(%ebp)
--
Gabucino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020408/dad3b76f/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list