[MPlayer-users] working mencoder now causing floating point exception
Duane Evenson
devenson at shaw.ca
Mon Aug 30 04:04:51 CEST 2004
Yeah, that helped -- Thanks.
Unfortunately, I'm still getting a floating point exception.
I've tracked it down to lameopts "cbr"; "vbr" and "abr" work OK.
I changed the previous command line to encode only 1 second, removed the
"br" specification, and removed the video encoding portion to reduce output:
mencoder tv:// -tv
driver=v4l:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=8:device=/dev/video0
-ovc frameno -oac mp3lame -lameopts cbr -endpos 1 -o vv.avi -v
And get the following output:
Encoder 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
File not found: 'frameno.avi'
Failed to open 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
Audio capture - buffer 256 blocks of 8192 bytes, skew average from 16 meas.
==> Found audio stream: 0
TV audio: 1 channels, 16 bits, 44101 Hz
Picture values:
Depth: 12, Palette: yuv420p (Format: Planar YV12)
Brightness: 32767, Hue: 32767, Colour: 32767, Contrast: 24576
Audio capture - buffer 256 blocks of 8192 bytes, skew average from 16 meas.
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: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 44101 Hz, 1 ch, 16 bit (0x10), ratio: 88202->88202 (705.6 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
MP3 audio selected
Building audio filter chain for 44101Hz/1ch/16bit -> 44101Hz/1ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44101Hz, nch = 1, format = 0x00000001
and bps = 2
[dummy] Was reinitialized, rate=44101Hz, nch = 1, format = 0x00000001
and bps = 2
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp
header.
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: 13693 Hz - 14226 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-2.5 Layer 3
1 channel - mono
padding: auto
constant bitrate - CBR
...
psychoacoustic:
tonality estimation limit: 0.000000 Hz
using short blocks: ?
adjust masking: 0.000000 dB
psymodel: 0
noise shaping: 0
^ amplification: 0
^ stopping: 0
ATH: using
^ type: -1
^ adjust type: 0
^ adapt threshold type: -1
using temporal masking effect: yes
interchannel masking ratio: 0.000000
...
Forcing audio preload to 0, max pts correction to 0
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
D/B/S 0/0/0
video capture thread: frame delta ~ 12.1 fps
Pos: 0.2s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.2s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.2s 6f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.3s 7f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.3s 8f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.3s 9f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.4s 10f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.4s 11f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.4s 12f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.5s 13f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.5s 14f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.5s 15f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.6s 16f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.6s 17f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.6s 18f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.7s 19f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.7s 20f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.7s 21f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.8s 22f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.8s 23f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.8s 24f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.9s 25f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.9s 26f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 0.9s 27f ( 0%) 27fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 1.0s 28f ( 0%) 27fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Pos: 1.0s 29f ( 0%) 27fps Trem: 0min 0mb A-V:0.000 [0:0]
A/Vms 0/0
Floating point exception
rcooley wrote:
>On Sun, 29 Aug 2004 08:02:06 -0600
>Duane Evenson <devenson at shaw.ca> wrote:
>
>
>
>>AVI file format detected.
>>VIDEO: [FrNo] 720x480 24bpp 29.970 fps 1.0 kbps ( 0.1 kbyte/s)
>>Using pass3 control file: frameno.avi
>>
>>
>
>There's your problem. You've probably got a file named "frameno.avi" in
>your current directory, messing things up. Delete it.
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
>
More information about the MPlayer-users
mailing list