[MPlayer-users] mplayer quits due to seek failure
Nilmoni Deb
ndeb at ece.cmu.edu
Sun Oct 20 09:24:02 CEST 2002
I have uploaded the file sample1.avi in
ftp://mplayerhq.hu/MPlayer/incoming/
Mplayer/libavcodec (latest cvs) quits after playing for a few seconds.
The problem is exactly the same with avifile (latest cvs) too. However, on
MS windows, windows media player plays this file just fine.
Here's the output of
"mplayer -v -fs -vo x11 -zoom -framedrop -ni sample1.avi" ->
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /opt/mplayer/share/locale
MPlayer CVS-021019-13:23-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading /home/ndeb/.mplayer/codecs.conf: 38 audio & 110 video codecs
CommandLine: '-v' '-fs' '-vo' 'x11' '-zoom' '-framedrop' '-ni' 'sample1.avi'
get_path('font/font.desc') -> '/home/ndeb/.mplayer/font/font.desc'
font: can't open file: /home/ndeb/.mplayer/font/font.desc
font: can't open file: /opt/mplayer/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/ndeb/.mplayer/input.conf'
Can't open input config file /home/ndeb/.mplayer/input.conf : No such file or directory
Can't open input config file /opt/mplayer/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
Playing sample1.avi
Not an URL!
File size is 1048576 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 174785 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 368
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: DIV4 (34564944)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0 Len: 174785
Suggested BufferSize: 66455
Quality 5000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 368
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 706560
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 19983/1 = 19983.000
Start: 0 Len: 139700250
Suggested BufferSize: 10804
Quality -1
Sample size: 1
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 19983
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=522
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
Broken chunk? chunksize=1382 (id=JUNK)
list_end=0x28919C10
Found movie at 0x280C - 0x28919C10
stream_seek: WARNING! Can't seek to 0x28919C10 !
Using NON-INTERLEAVED Broken AVI file-format!
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
XXX initial v_pts=0.000 a_pos=0 (0.000)
AVI video length=540920810
VIDEO: [DIV3] 640x368 24bpp 25.00 fps 619.0 kbps (75.6 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:640x368 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/ndeb/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 44100 Hz 160 kbit Stereo, BPF: 522
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 20000->176400 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
ao2: 44100 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 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000010 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000010 and bps = 2
Start playing...
VDec: vo config request - 640 x 368 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x368->640x368,flags=5,'MPlayer',0x32315659)
VO: [x11] 640x368 => 640x368 Planar YV12 [fs] [zoom]
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
*** [vo] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
A: 0.2 V: 0.0 A-V: 0.190 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
A: 0.3 V: 0.0 A-V: 0.290 ct: 0.004 2/ 2 0% 0% 0.0% 1 0 0%
A: 0.3 V: 0.1 A-V: 0.265 ct: 0.008 3/ 3 0% 0% 0.0% 2 0 0%
A: 0.4 V: 0.1 A-V: 0.239 ct: 0.012 4/ 4 0% 0% 0.0% 3 0 0%
A: 0.4 V: 0.2 A-V: 0.234 ct: 0.01
6 5/ 5 0% 0% 0.0% 3 0 0%
A: 0.4 V: 0.2 A-V: 0.208 ct: 0.020 6/ 6 0% 0% 0.0% 4 0 0%
A: 0.4 V: 0.2 A-V: 0.181 ct: 0.024 7/ 7 0% 0% 0.0% 5 0 0%
A: 0.5 V: 0.3 A-V: 0.177 ct: 0.028 8/ 8 0% 0% 0.0% 5 0 0%
A: 0
.5 V: 0.3 A-V: 0.151 ct: 0.032 9/ 9 0% 0% 0.0% 6 0 0%
A: 0.5 V: 0.4 A-V: 0.125 ct: 0.036 10/ 10 0% 0% 0.0% 7 0 0%
A: 0.5 V: 0.4 A-V: 0.116 ct: 0.040 11/ 11 0% 0% 0.0% 7 0 0%
A: 0.5 V: 0.4 A-V: 0.091 ct: 0.044 12
/ 12 0% 0% 0.0% 8 0 0%
A: 0.6 V: 0.5 A-V: 0.083 ct: 0.048 13/ 13 0% 0% 0.0% 8 0 0%
A: 0.6 V: 0.5 A-V: 0.077 ct: 0.052 14/ 14 83% 28% 2.8% 8 0 0%
A: 0.6 V: 0.6 A-V: 0.072 ct: 0.056 15/ 15 80% 30% 2.6% 8 0 0%
A: 0.7 V:
0.6 A-V: 0.068 ct: 0.060 16/ 16 77% 31% 2.5% 8 0 0%
A: 0.7 V: 0.6 A-V: 0.063 ct: 0.064 17/ 17 74% 32% 2.5% 8 0 0%
A: 0.7 V: 0.7 A-V: 0.058 ct: 0.068 18/ 18 71% 34% 2.4% 8 0 0%
A: 0.8 V: 0.7 A-V: 0.068 ct: 0.072 19/ 19
70% 36% 2.3% 8 0 0%
A: 0.8 V: 0.8 A-V: 0.043 ct: 0.076 20/ 20 68% 34% 2.3% 9 0 0%
A: 0.8 V: 0.8 A-V: 0.036 ct: 0.080 21/ 21 66% 35% 2.3% 9 0 0%
A: 0.9 V: 0.8 A-V: 0.029 ct: 0.083 22/ 22 65% 35% 2.2% 9 0 0%
A: 0.9 V: 0.9
A-V: 0.024 ct: 0.085 23/ 23 63% 36% 2.1% 9 0 0%
A: 0.9 V: 0.9 A-V: 0.019 ct: 0.087 24/ 24 62% 36% 2.1% 9 0 0%
A: 1.0 V: 1.0 A-V: 0.014 ct: 0.088 25/ 25 61% 37% 2.4% 9 0 0%
A: 1.0 V: 1.0 A-V: 0.009 ct: 0.089 26/ 26 60% 38
% 2.3% 9 0 0%
A: 1.0 V: 1.0 A-V: 0.004 ct: 0.090 27/ 27 59% 38% 2.2% 9 0 0%
A: 1.1 V: 1.1 A-V: -0.001 ct: 0.090 28/ 28 58% 39% 2.2% 9 0 0%
A: 1.1 V: 1.1 A-V: -0.005 ct: 0.089 29/ 29 57% 39% 2.3% 9 0 0%
A: 1.2 V: 1.2 A-V: -
0.010 ct: 0.088 30/ 30 56% 39% 2.2% 9 0 0%
A: 1.2 V: 1.2 A-V: -0.015 ct: 0.087 31/ 31 55% 40% 2.2% 9 0 0%
A: 1.2 V: 1.2 A-V: -0.019 ct: 0.085 32/ 32 54% 40% 2.1% 9 0 0%
A: 1.3 V: 1.3 A-V: -0.024 ct: 0.082 33/ 33 54% 41% 2.1
% 9 0 0%
A: 1.3 V: 1.3 A-V: -0.028 ct: 0.079 34/ 34 53% 41% 2.1% 9 0 0%
A: 1.3 V: 1.4 A-V: -0.034 ct: 0.076 35/ 35 53% 41% 2.1% 9 0 0%
A: 1.4 V: 1.4 A-V: -0.038 ct: 0.072 36/ 36 52% 42% 2.0% 9 0 0%
A: 1.4 V: 1.4 A-V: -0.043
ct: 0.068 37/ 37 51% 42% 2.0% 9 0 0%
A: 1.4 V: 1.5 A-V: -0.048 ct: 0.064 38/ 38 51% 42% 2.0% 9 0 0%
A: 1.5 V: 1.5 A-V: -0.040 ct: 0.060 39/ 39 51% 43% 2.0% 9 0 0%
A: 1.5 V: 1.6 A-V: -0.042 ct: 0.056 40/ 40 50% 43% 2.0% 9 0
0%
A: 1.6 V: 1.6 A-V: -0.039 ct: 0.052 41/ 41 50% 43% 2.0% 9 0 0%
A: 1.6 V: 1.6 A-V: -0.031 ct: 0.049 42/ 42 49% 43% 2.0% 9 0 0%
A: 1.6 V: 1.7 A-V: -0.031 ct: 0.046 43/ 43 49% 43% 2.0% 9 0 0%
A: 1.7 V: 1.7 A-V: -0.028 ct: 0
.043 44/ 44 48% 43% 2.3% 9 0 0%
A: 1.7 V: 1.8 A-V: -0.021 ct: 0.041 45/ 45 48% 43% 2.3% 9 0 0%
A: 1.8 V: 1.8 A-V: -0.018 ct: 0.039 46/ 46 48% 44% 2.2% 9 0 0%
A: 1.8 V: 1.8 A-V: -0.019 ct: 0.037 47/ 47 48% 44% 2.2% 9 0 0%
A:
1.9 V: 1.9 A-V: -0.022 ct: 0.035 48/ 48 47% 44% 2.2% 9 0 0%
A: 1.9 V: 1.9 A-V: -0.009 ct: 0.034 49/ 49 47% 44% 2.2% 9 0 0%
A: 1.9 V: 2.0 A-V: -0.011 ct: 0.033 50/ 50 47% 44% 2.2% 9 0 0%
A: 2.0 V: 2.0 A-V: -0.016 ct: 0.032
51/ 51 46% 44% 2.2% 9 0 0%
A: 2.0 V: 2.0 A-V: -0.009 ct: 0.031 52/ 52 46% 45% 2.2% 9 0 0%
A: 2.1 V: 2.1 A-V: -0.013 ct: 0.029 53/ 53 46% 45% 2.2% 9 0 0%
A: 2.1 V: 2.1 A-V: -0.010 ct: 0.028 54/ 54 46% 45% 2.2% 9 0 0%
A: 2.2
V: 2.2 A-V: -0.010 ct: 0.027 55/ 55 45% 45% 2.2% 9 0 0%
A: 2.2 V: 2.2 A-V: -0.013 ct: 0.026 56/ 56 45% 45% 2.1% 9 0 0%
A: 2.2 V: 2.2 A-V: -0.009 ct: 0.025 57/ 57 45% 45% 2.1% 9 0 0%
A: 2.3 V: 2.3 A-V: 0.025 ct: 0.028 58/ 5
8 46% 45% 2.1% 9 0 0%
A: 2.3 V: 2.3 A-V: 0.019 ct: 0.030 59/ 59 46% 45% 2.1% 9 0 0%
A: 2.4 V: 2.4 A-V: 0.014 ct: 0.031 60/ 60 46% 46% 2.1% 9 0 0%
A: 2.4 V: 2.4 A-V: 0.009 ct: 0.032 61/ 61 45% 46% 2.1% 9 0 0%
A: 2.4 V: 2
.4 A-V: 0.005 ct: 0.032 62/ 62 45% 46% 2.1% 9 0 0%
A: 2.5 V: 2.5 A-V: -0.000 ct: 0.032 63/ 63 45% 46% 2.1% 9 0 0%
A: 2.5 V: 2.5 A-V: -0.005 ct: 0.032 64/ 64 45% 46% 2.1% 9 0 0%
A: 2.6 V: 2.6 A-V: -0.010 ct: 0.031 65/ 65 45%
46% 2.1% 9 0 0%
A: 2.6 V: 2.6 A-V: -0.004 ct: 0.030 66/ 66 45% 46% 2.0% 9 0 0%
A: 2.6 V: 2.6 A-V: -0.009 ct: 0.030 67/ 67 44% 47% 2.0% 9 0 0%
A: 2.7 V: 2.7 A-V: -0.013 ct: 0.028 68/ 68 44% 47% 2.0% 9 0 0%
A: 2.7 V: 2.7 A-V
: -0.010 ct: 0.027 69/ 69 44% 47% 2.0% 9 0 0%
A: 2.8 V: 2.8 A-V: -0.010 ct: 0.026 70/ 70 44% 47% 2.0% 9 0 0%
A: 2.8 V: 2.8 A-V: -0.002 ct: 0.026 71/ 71 44% 47% 2.0% 9 0 0%
A: 2.8 V: 2.8 A-V: -0.007 ct: 0.025 72/ 72 44% 47%
2.0% 9 0 0%
A: 2.9 V: 2.9 A-V: 0.002 ct: 0.026 73/ 73 44% 47% 2.0% 9 0 0%
A: 2.9 V: 2.9 A-V: -0.004 ct: 0.025 74/ 74 43% 47% 2.0% 9 0 0%
A: 3.0 V: 3.0 A-V: -0.009 ct: 0.024 75/ 75 43% 47% 2.0% 9 0 0%
discarding 12 junk bits at
end, next would be F00000
concealing errors
A: 3.0 V: 3.0 A-V: -0.004 ct: 0.024 76/ 76 43% 47% 2.0% 9 0 0%
stream_seek: WARNING! Can't seek to 0xFFFFFFFFD60169D6 !
ds_fill_buffer: EOF reached (stream: video)
A: 3.0 V: 3.0 A-V: 0.017 ct: 0.026 76/ 76 43% 48% 2.0% 9 0 0%
EOF code: 1
Uninit audio filters...
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x83ed8b8
Successfully enabled DPMS
vo: uninit ...
Exiting... (End of file)
More information about the MPlayer-users
mailing list