On Sun, Sep 02, 2007 at 12:07:52PM +0000, Jacob Meuser wrote: > On Sun, Sep 02, 2007 at 02:31:01PM +0300, Paul Irofti wrote: > > On Fri, Aug 31, 2007 at 10:08:43PM +0000, Jacob Meuser wrote: > > > On Thu, Aug 30, 2007 at 09:53:18AM +0300, Paul Irofti wrote: > > > > Since the last update mplayer started crashing every time I try playing > > > > a video file. The package is: mplayer-1.0pre8p14-sdl. The platform is > > > > amd64. Here is the error message and the dmesg: > > > > > > > > AVI file format detected. > > > > AVI: Generated index table for 132376 chunks! > > > > VIDEO: [XVID] 640x336 12bpp 23.976 fps 687.8 kbps (84.0 kbyte/s) > > > > Clip info: > > > > Software: VirtualDubMod 1.5.4.1 (build 2178/release) > > > > > > just FYI, I found some similarly encoded XviD files, and the video > > > playback is much smoother with kaffeine than mplayer. > > > > > > I would suggest trying kaffeine, to see if this is a problem with > > > mplayer, or somehow something broke with your video card and X in > > > general. > > > > kaffeine, vlc et others play them just fine. mplayer is the only one > > crashing. > > > > try using '-msglevel all=6' with mplayer, see if it gives any clue > about what's going on. >
It seems that running with -vo sdl all the videos are working, w/o it mplayer continues to crash. Here's the output (with the msglevel set to 6) from w/o sdl: [-------------------------------] AVI file format detected. list_end=0x2292 ======= AVI Header ======= us/frame: 41708 (fps=23.976) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 30596 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 512 x 384 ========================== list_end=0x10F4 ==> Found video stream: 0 ====== STREAM Header ===== Type: vids FCC: xvid (64697678) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 24000/1001 = 23.976 Start: 0 Len: 30596 Suggested BufferSize: 40682 Quality 10000 Sample size: 0 ========================== Found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 512 biHeight 384 biPlanes 1 biBitCount 24 biCompression 1145656920='XVID' biSizeImage 1179648 =========================== Regenerating keyframe table for MPEG-4 video. list_end=0x2186 ==> Found audio stream: 1 ====== STREAM Header ===== Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 1 Rate: 6000/1 = 6000.000 Start: 0 Len: 7655760 Suggested BufferSize: 3000 Quality 4294967295 Sample size: 1 ========================== Found 'wf', 30 bytes of 18 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 24000 avg byte/sec: 6000 Block align: 1 bits/sample: 0 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=144 mp3.nFramesPerBlock=1 mp3.nCodecDelay=1393 ========================================================================== list_end=0x2292 AVI: dmlh found (size=248) (total_frames=30596) list_end=0x3B10174 Found movie at 0x280C - 0x3B10174 Reading INDEX block, 61178 chunks for 30596 frames (fpos=61931900). list_end=0x3BFF13C hdr=Software size=11 Software : VirtualDub AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xBC4) Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video size=53748432 (30596) audio size=7655760 (7655760) VIDEO: [XVID] 512x384 24bpp 23.976 fps 337.0 kbps (41.1 kbyte/s) [V] filefmt:3 fourcc:0x44495658 size:512x384 fps:23.98 ftime:=0.0417 Clip info: Software: VirtualDub get_path('sub/') -> '/home/bulibuta/.mplayer/sub/' ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: using generic C decore! MP3lib: init layer2&3 finished, tables done MPEG 2.0, Layer III, 24000 Hz 48 kbit Joint-Stereo, BPF: 144 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 24000 Hz, 2 ch, s16le, 48.0 kbit/6.25% (ratio: 6000->96000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1280x960 with depth 24 and 32 bpp (":0.0" => local display) [x11] Unknown wm type... [x11] Current fstype setting doesn't honour any X atoms [xv common] Drawing colorkey manually. [xv common] Using colorkey from Xv (0x0101fe). [xv common] Maximum source image dimensions: 2046x2046 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== Building audio filter chain for 24000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 24000Hz/2ch/s16le [dummy] Was reinitialized: 24000Hz/2ch/s16le ao_sun: sample counter increment: 8816 ao_sun: sample counter increment: 8816 ao_sun: sample counter increment: 8816 ao_sun: minimum sample counter increment per 10msec interval: 8816 not using sample counter based timing code ao2: 24000 Hz 2 chans s16le [0x9] AO: [sun] 24000Hz 2ch s16le (2 bytes per sample) AO: Description: Sun audio output AO: Author: Juergen Keil Building audio filter chain for 24000Hz/2ch/s16le -> 24000Hz/2ch/s16le... [dummy] Was reinitialized: 24000Hz/2ch/s16le [dummy] Was reinitialized: 24000Hz/2ch/s16le Starting playback... [ffmpeg] aspect_ratio: 1.333333 VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO Config (512x384->512x384,flags=0,'MPlayer',0x32315659) VO: [xv] 512x384 => 512x384 Planar YV12 VO: Description: X11/Xv VO: Author: Gerd Knorr <[EMAIL PROTECTED]> and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x30323449 (I420) planar using Xvideo port 65 for hw scaling X11 error: BadAccess (attempt to access private resource denied) Type: 0, display: 0x4c940000, resourceid: 1a00006, serial: 52 Error code: a, request code: 92, minor code: 1 MPlayer interrupted by signal 6 in module: decode_video - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. Uninit audio filters... [libaf] Removing filter dummy Uninit audio: mp3lib Uninit video: ffmpeg vo: uninit ... [-------------------------------] And with the -vo sdl switch set: [-------------------------------] AVI file format detected. list_end=0x2292 ======= AVI Header ======= us/frame: 41708 (fps=23.976) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 30596 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 512 x 384 ========================== list_end=0x10F4 ==> Found video stream: 0 ====== STREAM Header ===== Type: vids FCC: xvid (64697678) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 24000/1001 = 23.976 Start: 0 Len: 30596 Suggested BufferSize: 40682 Quality 10000 Sample size: 0 ========================== Found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 512 biHeight 384 biPlanes 1 biBitCount 24 biCompression 1145656920='XVID' biSizeImage 1179648 =========================== Regenerating keyframe table for MPEG-4 video. list_end=0x2186 ==> Found audio stream: 1 ====== STREAM Header ===== Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 1 Rate: 6000/1 = 6000.000 Start: 0 Len: 7655760 Suggested BufferSize: 3000 Quality 4294967295 Sample size: 1 ========================== Found 'wf', 30 bytes of 18 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 24000 avg byte/sec: 6000 Block align: 1 bits/sample: 0 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=144 mp3.nFramesPerBlock=1 mp3.nCodecDelay=1393 ========================================================================== list_end=0x2292 AVI: dmlh found (size=248) (total_frames=30596) list_end=0x3B10174 Found movie at 0x280C - 0x3B10174 Reading INDEX block, 61178 chunks for 30596 frames (fpos=61931900). list_end=0x3BFF13C hdr=Software size=11 Software : VirtualDub AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xBC4) Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video size=53748432 (30596) audio size=7655760 (7655760) VIDEO: [XVID] 512x384 24bpp 23.976 fps 337.0 kbps (41.1 kbyte/s) [V] filefmt:3 fourcc:0x44495658 size:512x384 fps:23.98 ftime:=0.0417 Clip info: Software: VirtualDub get_path('sub/') -> '/home/bulibuta/.mplayer/sub/' ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: using generic C decore! MP3lib: init layer2&3 finished, tables done MPEG 2.0, Layer III, 24000 Hz 48 kbit Joint-Stereo, BPF: 144 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 24000 Hz, 2 ch, s16le, 48.0 kbit/6.25% (ratio: 6000->96000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== [VO_SDL] Using driver: x11. X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1280x960 with depth 24 and 32 bpp (":0.0" => local display) [x11] Unknown wm type... [x11] Current fstype setting doesn't honour any X atoms SDL: deactivating XScreensaver/DPMS SDL: X11 Resolution 1280x960 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== Building audio filter chain for 24000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 24000Hz/2ch/s16le [dummy] Was reinitialized: 24000Hz/2ch/s16le ao_sun: sample counter increment: 8816 ao_sun: sample counter increment: 8816 ao_sun: sample counter increment: 8816 ao_sun: minimum sample counter increment per 10msec interval: 8816 not using sample counter based timing code ao2: 24000 Hz 2 chans s16le [0x9] AO: [sun] 24000Hz 2ch s16le (2 bytes per sample) AO: Description: Sun audio output AO: Author: Juergen Keil Building audio filter chain for 24000Hz/2ch/s16le -> 24000Hz/2ch/s16le... [dummy] Was reinitialized: 24000Hz/2ch/s16le [dummy] Was reinitialized: 24000Hz/2ch/s16le Starting playback... [ffmpeg] aspect_ratio: 1.333333 VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO Config (512x384->512x384,flags=0,'MPlayer',0x32315659) VO: [sdl] 512x384 => 512x384 Planar YV12 VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!) VO: Author: Ryan C. Gordon <[EMAIL PROTECTED]>, Felix Buenemann <[EMAIL PROTECTED]> SDL: Using 0x32315659 (Planar YV12) image format SDL: using hardware-surface SDL: setting windowed mode *** [vo] Allocating (slices) mp_image_t, 512x384x12bpp YUV planar, 294912 bytes XXX initial v_pts=0.000 a_pos=3000 (0.500) 1 ??% ??% ??,?% 0 0 *** [vo] Allocating (slices) mp_image_t, 512x384x12bpp YUV planar, 294912 bytes *** [vo] Allocating (slices) mp_image_t, 512x384x12bpp YUV planar, 294912 bytes [-------------------------------]