[MPlayer-users] working mencoder now causing floating point exception

Duane Evenson devenson at shaw.ca
Sun Aug 29 16:02:06 CEST 2004


I had a working copy of mencoder. I was using 1.0pre4. mplayer and 
mencoder. When I started having problems, I switched to 1.0pre5 -- no 
joy. :(

All I've done recently is install transcode
    rpmbuild -ta --target=athlon transcode-0.6.12.tar.gz
    rpm -Uvh /usr/src/redhat/RPMS/athlon/transcode-0.6.12-1.athlon.rpm
and add a locale-specific setting
    export LC_ALL=en_CA.utf8
  
Set revealed the following locale variables:
    LANG=en_US.UTF-8
    LC_ALL=en_CA.utf8

I've removed transcode:
    rpm -e transcode
and played around with the locale variables, starting by removing the 
LC_ALL variable.

Nothing I've done seems to help.
Here is the command I'm using and the output it generates:
mencoder tv:// -tv 
driver=v4l:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=8:device=/dev/video0  
-ovc lavc -lavcopts vcodec=mpeg4:v4mv  -oac mp3lame -lameopts cbr:br=64  
-endpos 10 -o vv.avi -v


MEncoder 1.0pre5-RPM-3.2.2 (C) 2000-2004 MPlayer Team
 
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1667 MHz 
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
SSE supported but disabled
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
 
Reading /home/duane/.mplayer/codecs.conf: Can't open 
'/home/duane/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
AVI file format detected.
VIDEO:  [FrNo]  720x480  24bpp  29.970 fps    1.0 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading config file /home/duane/.mplayer/mencoder: No such file or directory
init_freetype
get_path('font/font.desc') -> '/home/duane/.mplayer/font/font.desc'
/home/duane/.mplayer/font/font.desc is empty or a directory, ignoring
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
STREAM: [null] tv://
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment:
success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
Selected device: BT878(Hauppauge (bt878))
 Capabilites: capture tuner overlay clipping frameram scales
 Device type: 235
 Supported sizes: 48x32 => 768x480
 Inputs: 4
  0: Television: tuner audio tv camera  (tuner:1, norm:ntsc)
  1: Composite1: audio camera  (tuner:0, norm:ntsc)
  2: S-Video: audio camera  (tuner:0, norm:ntsc)
  3: Composite3: audio camera  (tuner:0, norm:ntsc)
mbuf: size=8519680, frames=4
 Audio devices: 1
Video capture card reports the audio setup as follows:
  0: TV: muted=no vol=60000 bass=0 treble=0 balance=0 mode=mono chan=1
ioctl dsp getfmt: 0
Supported formats: 18
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 0)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 0
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 512
audio block size too low, setting to 8192!
Audio capture - buffer 256 blocks of 8192 bytes, skew average from 16 meas.
Using input 'Television'
Selected norm: NTSC
Tuner (Television) range: 0 -> 4294967295
Requested width: 640
Requested height: 480
Selected channel list: us-cable (including 133 channels)
Requested channel: 8
Selected channel: 8 (freq: 181.250)
requested frequency: 181.250
Current frequency: 2900 (181.250)
Current frequency: 2900 (181.250)
==> Found video stream: 0
Output format: Planar YV12
Picture values:
 Depth: 12, Palette: yuv420p (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
Using a ring buffer for maximum 1145 frames, 503 MB total size.
Enabling tv audio. Requested setup is:
id=0 vol=60000 bass=0 treble=0 balance=0 mode=mono chan=1
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:29.97  ftime:=0.0334
==========================================================================
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
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 48000 Hz 224 kbit Stereo, BPF: 672
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
Trying filter chain: expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
videocodec: libavcodec (640x480 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
Writing AVI header...
ODML: vprp aspect is 4:3.
LAME version 3.93 MMX  (http://www.mp3dev.org/)
CPU features: i387, MMX (ASM used), 3DNow! (ASM used), SIMD
Using polyphase lowpass  filter, transition band:  7935 Hz -  8516 Hz
 
misc:
 
        scaling: 0.000000
        ch0 (left) scaling: 0.000000
        ch1 (right) scaling: 0.000000
        filter type: 0
        quantization: ISO
        huffman search: normal
        experimental X=0 Y=0 Z=0
        ...
 
stream format:
 
        MPEG-1 Layer 3
        2 channel - joint stereo
        padding: auto
        constant bitrate - CBR
        ...
 
psychoacoustic:
 
        tonality estimation limit: 8871.700195 Hz
        using short blocks: channel coupled
        adjust masking: 0.000000 dB
        psymodel: 1
        noise shaping: 1
         ^ amplification: 0
         ^ stopping: 0
        ATH: using
         ^ type: 2
         ^ adjust type: 0
         ^ adapt threshold type: 2
        using temporal masking effect: yes
        interchannel masking ratio: 0.000000
        ...
 
Forcing audio preload to 0, max pts correction to 0
ds_fill_buffer: EOF reached (stream: video)
*** [expand] Exporting mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
*** [lavc] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
get_path('subfont.ttf') -> '/home/duane/.mplayer/subfont.ttf'
Unicode font: 533 glyphs.
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] 
A/Vms 0/33
Floating point exception




ing audio preload to 0





More information about the MPlayer-users mailing list