[MEncoder-users] Floating point exception with v4l2

David A. Baer dbaer at 14853.net
Tue Feb 27 18:39:23 CET 2007


                                                                          
I am trying to encode video from my Microdia webcam (usb 0c45:62c0),
using the v4l2 driver. I can capture video just fine, but I keep getting
a "Floating point exception" when I try to include audio (details
below).  Is this a known bug?

-David

The following successfully captures video (with no sound, obviously):

mencoder -srate 48000 \
   -fps 20000/1001 \
   -ofps 20000/1001 \
   -tv driver=v4l2:device=/dev/video0:outfmt=yuy2:input=0:noaudio \
   tv:// -ovc lavc -o test.avi

But this results in a SIGFPE:

mencoder -srate 48000 \
   -fps 20000/1001 \
   -ofps 20000/1001 \
   -tv
driver=v4l2:device=/dev/video0:outfmt=yuy2:input=0:forceaudio:alsa:adevice=hw.0,0
\
   tv:// -ovc lavc -oac lavc -o test.avi

MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team CPU: Intel(R)
Core(TM)2 CPU         T5200  @ 1.60GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 9  data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: ioctl get standard failed: Invalid argument
Selected device: USB 2.0 Camera
 Capabilites:  video capture  streaming
 supported norms:
 inputs: 0 = Camera;
 Current input: 0
 Current format: YUYV
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
Floating point exception
-- 
David Baer <dbaer at 14853.net>



More information about the MEncoder-users mailing list