[Mplayer-users] Using -idx with divx4 causes error
Raphael Manfredi
Raphael_Manfredi at pobox.com
Sun Aug 12 23:28:53 CEST 2001
The AVI I got may be broken, but the symptoms are playing it normally
with -vc divx4 works, but inserting -idx on the command line gives:
--------------------
MPlayer 0.17cvs-010812-06:00(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)
Reading /home/ram/.mplayer/codecs.conf: 15 audio & 37 video codecs
Font /home/ram/.mplayer/font/font.desc loaded successfully! (495 chars)
Detected AVI file format!
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
AVI: Generated index table for 0 chunks!
VIDEO: [DIV3] 480x238 24bpp 30.02 fps 404.2 kbps (49.3 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:480x238 fps:30.02 ftime:=0.0333
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
mp3lib: Processor ID: 665
mp3lib: Using Pentium-MMX optimized decore.
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 24000->176400
Trying to force video codec driver family 7 ...
Detected video codec: [divx4] drv:7 (DivX4Linux (MPEG-4 v2,v3))
shmat(): Cannot allocate memory
FATAL: Cannot alloate 171360 bytes shared memory :(
VO: [sdl] 480x238 => 480x238 Planar I420
SDL: Mapping I420 to IYUV
SDL: Using driver: x11
Xlib: extension "XVideo" missing on display ":0.0".
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 128/128 (1024 bytes/frag) free: 131072
Start playing...
MPlayer interrupted by signal 11 in module: decode_video
--------------------
Note the shmat() failure...
If I don't say -idx, then I get:
--------------------
MPlayer 0.17cvs-010812-06:00(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)
Reading /home/ram/.mplayer/codecs.conf: 15 audio & 37 video codecs
Font /home/ram/.mplayer/font/font.desc loaded successfully! (495 chars)
Detected AVI file format!
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
VIDEO: [DIV3] 480x238 24bpp 30.02 fps 404.2 kbps (49.3 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:480x238 fps:30.02 ftime:=0.0333
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
mp3lib: Processor ID: 665
mp3lib: Using Pentium-MMX optimized decore.
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 24000->176400
Trying to force video codec driver family 7 ...
Detected video codec: [divx4] drv:7 (DivX4Linux (MPEG-4 v2,v3))
VO: [sdl] 480x238 => 480x238 Planar I420
SDL: Mapping I420 to IYUV
SDL: Using driver: x11
Xlib: extension "XVideo" missing on display ":0.0".
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 128/128 (1024 bytes/frag) free: 131072
Start playing...
XXX initial v_pts=0.000 a_pos=11982 (0.500)
Initial PTS delay: 0.054 sec ->0.067 (bps: 0.012) audio_delay=0.000
--------------------
And the file plays normally.
If I take the first 50 Mbytes of the file and try to play that with -idx,
it WORKS. But on the whole 680 Mbytes file, it fails. Any hint?
Raphael
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list