[Mplayer-cvslog] CVS: main/libaf af_comp.c,NONE,1.1 af_gate.c,NONE,1.1 af_pan.c,NONE,1.1 af_resample.h,NONE,1.1 af_tools.c,NONE,1.1 Makefile,1.6,1.7 af.c,1.19,1.20 af.h,1.12,1.13 af_channels.c,1.8,1.9 af_delay.c,1.8,1.9 af_equalizer.c,1.2,1.3 af_format.c,1.9,1.10 af_resample.c,1.15,1.16 af_volume.c,1.5,1.6 control.h,1.3,1.4

D Richard Felker III dalias at aerifal.cx
Sat Jan 4 09:44:57 CET 2003


On Sat, Jan 04, 2003 at 04:19:38PM +0800, Anders Johansson wrote:
> > On Sat, Dec 28, 2002 at 02:59:56PM +0100, Anders Johansson CVS wrote:
> > > Update of /cvsroot/mplayer/main/libaf
> > > In directory mail:/var/tmp.root/cvs-serv18447
> > > 
> > > Modified Files:
> > > 	Makefile af.c af.h af_channels.c af_delay.c af_equalizer.c 
> > > 	af_format.c af_resample.c af_volume.c control.h 
> > > Added Files:
> > > 	af_comp.c af_gate.c af_pan.c af_resample.h af_tools.c 
> > > Log Message:
> > > Changes includes:
> > > - Improved runtime control system 
> > > - 3 New filter panning, compressor/limiter and a noise gate
> > >   - The compressor/limiter and the noise gate are not yet finished
> > >   - The panning filter does combined mixing and channel routing and
> > >     can be used to down-mix from stereo to mono (for example)
> > > - Improvements to volume and channel
> > >   - volume now has a very good soft clipping using sin()
> > >   - channel can handle generic routing of audio data 
> > > - Conversion of all filters to handle floating point data
> > > - Cleanup of message printing
> > > - Fix for the sig 11 bug reported by Denes
> > 
> > This change broke resampling entirely on my system (K6). Resampling
> > from 48000 down to 44100 or anything else I try produces nothing but
> > noise! I'll look into it myself, but if you have any ideas right off
> > go ahead and fix asap!
> 
> Hi, can not reproduce pls send your cmdline switches and output from -v
> switch and I'll have a better chance of figuring out what's wrong.

Well, -v helped make it clear that something is totally broken, but I
still have no idea how to fix it. Apparently all sorts of
int->float->int nonsense is taking place which would make it unusably
slow even if it worked. Take a look:

$ ./src/mplayer/mplayer -vo mga foo.avi


MPlayer CVS-030104-03:27-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/dalias/.mplayer/config
Reading /home/dalias/.mplayer/codecs.conf: can't open '/home/dalias/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 126 video codecs
CommandLine: '-v' '-vo' 'mga' 'foo.avi'
get_path('font/font.desc') -> '/home/dalias/.mplayer/font/font.desc'
font: can't open file: /home/dalias/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/dalias/.mplayer/input.conf'
Can't open input config file /home/dalias/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('foo.avi.conf') -> '/home/dalias/.mplayer/foo.avi.conf'

Playing foo.avi
Not an URL!
File size is 362092544 bytes
AVI file format detected.
list_end=0x2286
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 52803   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 432
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 29970/1000 = 29.970
Start: 0   Len: 52803
Suggested BufferSize: 86222
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 432
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 746496
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x217A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 24000/1 = 24000.000
Start: 0   Len: 42285064
Suggested BufferSize: 12000
Quality -1
Sample size: 1
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 18
Unknown extra header dump: [0] [0] [81] [3] [0] [0] [e8] [ee] [23] [40] [e8] [ee] [23] [40] [ff] [ff] [ff] [ff] 
list_end=0x2286
list_end=0x22AA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1358  (id=JUNK)
list_end=0x157B4F2A
Found movie at 0x280C - 0x157B4F2A
Reading INDEX block, 105593 chunks for 52803 frames (fpos=0x157b4f32)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x2EEC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=317193584 (52803) audio size=42285064 (42285064)
VIDEO:  [DIV3]  576x432  24bpp  29.97 fps  1440.3 kbps (175.8 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:576x432  fps:29.97  ftime:=0.0334
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/dalias/.mplayer/sub/'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNow optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
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: 48000 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: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[libaf] Adding filter resample 
[resample] Changing sample rate to 44100Hz
[resample] New filter designed up: 147 down: 160
[libaf] Adding filter format 
[format] Changing sample format from 16bit little endian signed int to 32bit little endian float  
[libaf] Adding filter format 
[format] Changing sample format from 32bit little endian float to 16bit little endian signed int  
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[format] Changing sample format from 16bit little endian signed int to 32bit little endian float  
[format] Changing sample format from 32bit little endian float to 16bit little endian signed int  
Start playing...
[libaf] Reallocating memory in module format, old len = 0, new len = 131076
[libaf] Reallocating memory in module resample, old len = 0, new len = 120424
[libaf] Reallocating memory in module format, old len = 0, new len = 60216
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 576 x 432 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (576x432->576x432,flags=0,'MPlayer',0x32315659)
VO: [mga] 576x432 => 576x432 Planar YV12 
VO: Description: Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
VO: Author: A'rpi
VO: Comment: Based on some code by Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
vo_mga aspect(): resized to 576x432
[mga] Using 3 buffers.
*** [vo] Allocating mp_image_t, 576x432x12bpp YUV planar, 373248 bytes
Uninit audio filters...
[libaf] Removing filter dummy 
[libaf] Removing filter format 
[libaf] Removing filter resample 
[libaf] Removing filter format 
uninit audio: liba52
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x837dfa0  
vo: uninit!
vo: x11 uninit called but X11 not inited..

Exiting... (Quit)





More information about the MPlayer-cvslog mailing list