このページは大阪弁化フィルタによって翻訳生成されたんですわ。 |
I have a problem playing a normal divx video file, the audio buffer has a overflow. I increased the size of the audio buffer first to solve the problem but it seems it isn't cleaning up the buffer. When i start the divx file the memory size keeps growing and growing till it reached MAX_PACK_BYTES (demuxer.h). After that it stops.. Maybe someone knows the problem or has a solution for it ? This is what mplayer is dumping to my tty: <----------------------------------------------------------------> [maurits at localhost maurits]$ ./main/mplayer -vo xv -bps themat~1.avi MPlayer 0.17cvs-010523-06:45 (C) 2000-2001 Arpad Gereoffy <arpi at thot.banki.hu> Reading config file: /etc/mplayer.conf Reading config file: /home/maurits/.mplayer/config Reading /home/maurits/.mplayer/codecs.conf: 15 audio & 26 video codecs font: can't open file: /home/maurits/.mplayer/font/font.desc Detected AVI file format! ==> Found video stream: 0 ==> Found audio stream: 1 VIDEO: [DIV3] 640x304 24bpp 23.98 fps 458.5 kbps (56.0 kbyte/s) [V] filefmt:3 fourcc:0x33564944 size:640x304 fps:23.98 ftime:=0.0417 Found audio codec: [mp3acm] drv:4 (MPEG layer-3) Loading DLL: /usr/lib/win32/l3codeca.acm OK dec_audio: Allocating 9216 + 65536 = 74752 bytes for output buffer AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 16000->192000 Found video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3)) Loading DLL: /usr/lib/win32/divx_c32.ax OK Using DirectShow codec: divx_c32.ax DShow: using YUY2 colorspace DivX setting result = 0 X11 running at 1024x768 depth: 16 VO: [xv] 640x304 => 1024x486 fs YUY2 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 48 for hw scaling [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 audio_setup: sample format: 0x10 (requested: 0x10) audio_setup: using 48000 Hz samplerate (requested: 48000) audio_setup: frags: 128/128 (1024 bytes/frag) free: 131072 Audio buffer size: 131072 bytes, delay: 0.683s Initial frame delay A: 1 V: 0 Start playing... [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 349 247% 13% 9.8% 944 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.159 1230 60% 15% 8.9% 2782 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 1361 368% 14% 10.0% 3455 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.295 1406 208% 28% 10.3% 390 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 1622 372% 17% 11.5% 5829 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.105 1905 109% 15% 8.3% 7461 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 5274 36% 14% 8.1% 8340 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.109 5312 37% 15% 8.1% 872 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 9969 96% 14% 8.1% 2116150 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.138 10085 92% 14% 8.3% 2198 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 12721 122% 14% 8.4% 314244[xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.078 13126 90% 14% 8.3% 31888 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 13387 80% 14% 8.2% 3312 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.062 13589 74% 15% 8.2% 3346 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 13883 68% 14% 8.2% 3404 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.028 14236 63% 15% 8.1% 3459 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 14929 53% 15% 8.1% 3487 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.036 14987 53% 15% 8.1% 3518 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 15117 881% 14% 9.3% 355333 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.090 15458 155% 14% 9.0% 35800 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 15538 136% 14% 8.9% 3628 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.080 15943 86% 14% 8.4% 36511 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 16017 82% 14% 8.5% 3686 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768.055 16100 78% 14% 8.9% 3713 [xv-fs] dcx: 0 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 [xv] dcx: -1024 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 16164 1094% 14% 9.9% 37322 [xv-fs] dcx: -1024 dcy: 141 dx: 0 dy: 141 dw: 1024 dh: 486 A:1745.1 (1744.5) V:1744.4 A-V: 0.078 ct: 0.128 16169 997% 19% 9.9% 373333 DEMUXER: Too many (328 in 83968129 bytes) audio packets in the buffer! (maybe you play a non-interleaved stream/file or audio codec failed) Exiting... (End of file) [maurits at localhost maurits]$ <----------------------------------------------------------------> I jumped throught the file using '->' to get to the point where audio buffer gets to big.... But if i dont jump through the file the same problems accours... Maurits Hol m.hol at hsdrenthe.nl -- Linux localhost 2.4.4 #1 Sat Apr 28 17:13:39 CEST 2001 i586 unknown 11:42pm up 8:51, 3 users, load average: 0.42, 0.14, 0.10 _______________________________________________ Mplayer-users mailing list Mplayer-users at lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-users