[Mplayer-felhasznalok] vidix bugrep & subpatch

MOLNAR Andor dolphy at inf.elte.hu
Thu Jul 4 20:31:29 CEST 2002


Hello!

patch:
~~~~~~
talaltam egy subrip sub-ot amiben nem [br]-ek torik a sorokat, hanem
'|'-k, mint a microdvd-ben.
kuldok egy patch-et ami javitja:

--------------------------------[subpatch.txt]-------------------------------
--- subreader.c.old	Thu Jul  4 19:38:45 2002
+++ /var/lib/cvs/main/subreader.c	Thu Jul  4 20:12:41 2002
@@ -212,13 +212,14 @@

 	p=q=line;
 	for (current->lines=1; current->lines < SUB_MAX_TEXT; current->lines++) {
-	    for (q=p,len=0; *p && *p!='\r' && *p!='\n' && strncmp(p,"[br]",4); p++,len++);
+	    for (q=p,len=0; *p && *p!='\r' && *p!='\n' && *p!='|' && strncmp(p,"[br]",4); p++,len++);
 	    current->text[current->lines-1]=(char *)malloc (len+1);
 	    if (!current->text[current->lines-1]) return ERR;
 	    strncpy (current->text[current->lines-1], q, len);
 	    current->text[current->lines-1][len]='\0';
 	    if (!*p || *p=='\r' || *p=='\n') break;
-	    while (*p++!=']');
+	    if (*p=='|') p++;
+	    else while (*p++!=']');
 	}
 	break;
     }
------------------------------[cut]-----------------------------------------

bugrep:
~~~~~~~
mai CVS nem megy mind fbdev:vidix mind vesa:vidix-el, xvidix megy,
ket nappal ezelotti CVS ment mind a harommal:

debian woody
2.4.18
libc6 2.2.5
gcc 2.95.4
ATI Radeon 7500 (QW)
radeonfb a tietek

fbset:
~~~~~~
mode "640x480-75"
    # D: 31.499 MHz, H: 37.499 kHz, V: 74.998 Hz
    geometry 640 480 640 480 16
    timings 31747 120 16 16 1 64 3
    accel true
    rgba 5/11,6/5,5/0,0/0
endmode

mplayer -v:
~~~~~~~~~~~
MPlayer CVS-020704-18:21-2.95.4 (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/dolphy/.mplayer/codecs.conf: can't open '/home/dolphy/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 36 audio & 101 video codecs
CommandLine:get_path('font/font.desc') -> '/home/dolphy/.mplayer/font/font.desc'
 '-v' '-vo' 'fbdev:vidix' 'Dino.avi'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /home/dolphy/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/dolphy/.mplayer/input.conf'
Can't open input config file /home/dolphy/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/share/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing Dino.avi
Not an URL!
File size is 729722880 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0

Cache fill:  0.00% (0 bytes)    Detected AVI file format!
list_end=0x2292
list_end=0x10F4
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 110329   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 352
==> Found video stream: 0
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 110329
Suggested BufferSize: 59196
Quality -1
Sample size: 0
Regenerating keyframe table for DIVX 3 video
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 352
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 675840
===========================
list_end=0x2186
==> Found audio stream: 1
found 'wf', 30 bytes of 20
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 191733
Suggested BufferSize: 384
Quality -1
Sample size: 0
list_end=0x2292
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 15999
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0x2B34EFD4
Found movie at 0x280C - 0x2B34EFD4
Reading INDEX block, 302062 chunks for 110329 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 302062 chunks for 110329 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=722271083
VIDEO:  [DIV3]  640x352  24bpp  23.98 fps  1255.7 kbps (153.3 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x352  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/dolphy/.mplayer/sub/'
SUB: Detected sub file: Dino.sub
SUB: Detected subtitle file format: subrip
SUB: Read 480 subtitles.
SUB: Adjusted 1 subtitle(s).
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
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, 48000 Hz 128 kbit Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128.0 kbit)
Opening video filter: [pp]
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/genfb_vid.so
[genfb] probe
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/nvidia_vid.so
[nvidia] probe
No chip found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
Radeon_vid: Found chip: Radeon QW
vidixlib: /usr/local/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0x4001758c
Radeon_vid: Video memory = 64Mb
Radeon_vid: Set write-combining type of video memory
vidixlib: '/usr/local/lib/mplayer/vidix/radeon_vid.so'successfully loaded
vosub_vidix: Using: BES driver for radeon cards by Nick Kurshev
fbdev: using /dev/fb0
[vo] query(Planar YV12) -> 1
[vo] query(Planar I420) -> 0
[vo] query(Planar IYUV) -> 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
libavcodec: CPU flags: mmx mmxext 3dnow
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [plugin] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: Plugin audio output
AO: Author: Anders
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
[pl_volnorm] Normalizer plugin in use.
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
Start playing...
VDec: vo config request - 640 x 352 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
vo_debug: query(Planar YV12) returned 0xC05 (i=0)
vo_debug: query(Planar I420) returned 0xC05 (i=1)
vo_debug: query(Planar IYUV) returned 0xC05 (i=2)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x352->640x352,flags=1,'MPlayer',0x32315659)
REQ: flags=0x405  req=0x0
VO: [fbdev] 640x352 => 640x352 Planar YV12  [fs]
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
FATAL: Cannot initialize video driver!
fbdev: var info:
fbdev: xres: 640
fbdev: yres: 480
fbdev: xres_virtual: 640
fbdev: yres_virtual: 480
fbdev: xoffset: 0
fbdev: yoffset: 0
fbdev: bits_per_pixel: 16
fbdev: grayscale: 0
fbdev: red: 11 5 0
fbdev: green: 5 6 0
fbdev: blue: 0 5 0
fbdev: transp: 0 0 0
fbdev: nonstd: 0
fbdev: fix info:
fbdev: framebuffer size: 67108864 bytes
fbdev: type: 0
fbdev: type_aux: 0
fbdev: visual: 4
fbdev: line_length: 1280 bytes
fbdev: fb_bpp: 16
fbdev: fb_real_bpp: 16
fbdev: fb_pixel_size: 2 bytes
fbdev: other:
fbdev: in_width: 640
fbdev: in_height: 352
fbdev: out_width: 640
fbdev: out_height: 480
fbdev: first_row: 64
fbdev: last_row: 416
fbdev: creating cmap for directcolor
vosub_vidix: video server has unsupported color depth by vidix (0)
fbdev: Can't initialize VIDIX driver

FATAL: Couldn't initialize video filters (-vop) or video output (-vo) !



MPlayer interrupted by signal 11 in module: uninit_vo
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- 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/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
vo: x11 uninit called but X11 not inited..
fbdev: uninit

dolphy





More information about the MPlayer-felhasznalok mailing list