Here you go..
[including dmesg information directly after modprobe uvcvideo];
For the sake of clarity I have sent the output as three different
attachments,
uvcvideo-modprobe-dmesg.txt: output from dmesg/kernel buffer after
'modprobe uvcvideo' (with options uvcvideo trace=0x40f)
mencoder-dmesg.txt: output from dmesg/kernel buffer after running mencoder
mencoder-output.txt: STDOUT from mencoder
I am not terribly familiar with mencoder as I have been doing most of my
testing with VLC, but the syntax I used for mencoder was
mencoder tv:// -tv
driver=v4l2:width=1280:height=720:device=/dev/video0:noaudio:fps=30:outfmt=mjpeg
-ovc lavc -lavcopts vcodec=mpeg4:vpass=1:autoaspect -o camera1.avi
I did notice that when using mencoder there were tons of 'duplicate frames'
messages which I am not sure if is related to this issue or not.
If you need any further details please let me know. Thanks again for your
assistance and commitment to this project :0
On Thu, Jan 14, 2010 at 7:20 PM, Laurent Pinchart <
laurent.pinch...@ideasonboard.com> wrote:
> Hi Seth,
>
> On Monday 11 January 2010 03:45:21 Seth W wrote:
> > Thanks for the prompt response
>
> I wouldn't call it prompt, and I apologize for that.
>
> > - I had actually tried MJPEG in mencoder (not sure how to test it in
> > ffmpeg); but for some reason it allocates the same exact bandwidth as
> well,
> > no matter what resolution, codec (mjpeg or yuv), or frame rate. If you
> can
> > provide any insight into this or suggest any other methods of testing I
> > would greatly appreciate it.
>
> Could you set the trace parameter to 0x40f and send me all messages printed
> by
> the driver to the kernel log when running mencoder in MJPEG mode ?
>
> > Once again, I'd like to thank you for your time.
>
> You're really welcome.
>
> --
> Regards,
>
> Laurent Pinchart
>
[r...@fedora11-test ~]# modprobe uvcvideo
[r...@fedora11-test ~]# dmesg
usbcore: deregistering interface driver uvcvideo
uvcvideo: Adding mapping Brightness to control
00000000-0000-0000-0000-000000000101/2.
uvcvideo: Adding mapping Contrast to control
00000000-0000-0000-0000-000000000101/3.
uvcvideo: Adding mapping Hue to control 00000000-0000-0000-0000-000000000101/6.
uvcvideo: Adding mapping Saturation to control
00000000-0000-0000-0000-000000000101/7.
uvcvideo: Adding mapping Sharpness to control
00000000-0000-0000-0000-000000000101/8.
uvcvideo: Adding mapping Gamma to control
00000000-0000-0000-0000-000000000101/9.
uvcvideo: Adding mapping Backlight Compensation to control
00000000-0000-0000-0000-000000000101/1.
uvcvideo: Adding mapping Gain to control 00000000-0000-0000-0000-000000000101/4.
uvcvideo: Adding mapping Power Line Frequency to control
00000000-0000-0000-0000-000000000101/5.
uvcvideo: Adding mapping Hue, Auto to control
00000000-0000-0000-0000-000000000101/16.
uvcvideo: Adding mapping Exposure, Auto to control
00000000-0000-0000-0000-000000000001/2.
uvcvideo: Adding mapping Exposure, Auto Priority to control
00000000-0000-0000-0000-000000000001/3.
uvcvideo: Adding mapping Exposure (Absolute) to control
00000000-0000-0000-0000-000000000001/4.
uvcvideo: Adding mapping White Balance Temperature, Auto to control
00000000-0000-0000-0000-000000000101/11.
uvcvideo: Adding mapping White Balance Temperature to control
00000000-0000-0000-0000-000000000101/10.
uvcvideo: Adding mapping White Balance Component, Auto to control
00000000-0000-0000-0000-000000000101/13.
uvcvideo: Adding mapping White Balance Blue Component to control
00000000-0000-0000-0000-000000000101/12.
uvcvideo: Adding mapping White Balance Red Component to control
00000000-0000-0000-0000-000000000101/12.
uvcvideo: Adding mapping Focus (absolute) to control
00000000-0000-0000-0000-000000000001/6.
uvcvideo: Adding mapping Focus, Auto to control
00000000-0000-0000-0000-000000000001/8.
uvcvideo: Adding mapping Zoom, Absolute to control
00000000-0000-0000-0000-000000000001/11.
uvcvideo: Adding mapping Zoom, Continuous to control
00000000-0000-0000-0000-000000000001/12.
uvcvideo: Adding mapping Privacy to control
00000000-0000-0000-0000-000000000001/17.
uvcvideo: Probing generic UVC device 2
uvcvideo: Found format YUV 4:2:2 (YUYV).
uvcvideo: - 640x480 (30.0 fps)
uvcvideo: - 1280x720 (10.0 fps)
uvcvideo: - 960x544 (15.0 fps)
uvcvideo: - 800x448 (20.0 fps)
uvcvideo: - 640x360 (30.0 fps)
uvcvideo: - 424x240 (30.0 fps)
uvcvideo: - 352x288 (30.0 fps)
uvcvideo: - 320x240 (30.0 fps)
uvcvideo: - 800x600 (15.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: - 1280x800 (10.0 fps)
uvcvideo: Found format MJPEG.
uvcvideo: - 640x480 (30.0 fps)
uvcvideo: - 1280x720 (30.0 fps)
uvcvideo: - 960x544 (30.0 fps)
uvcvideo: - 800x448 (30.0 fps)
uvcvideo: - 640x360 (30.0 fps)
uvcvideo: - 800x600 (30.0 fps)
uvcvideo: - 416x240 (30.0 fps)
uvcvideo: - 352x288 (30.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 320x240 (30.0 fps)
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: Found a Status endpoint (addr 83).
uvcvideo: Found UVC 1.00 device Microsoft® LifeCam Cinema(TM) (045e:075d)
uvcvideo: 4/6 control is black listed, removing it.
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 2
entity 4
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/2 to device 2
entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/4 to device 2
entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/6 to device 2
entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/11 to device 2
entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/13 to device 2
entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/8 to device 2
entity 1
uvcvideo: Scanning UVC chain: OT 2 <- XU 5 <- PU 4 <- SU 3 <- IT 1
uvcvideo: Found a valid video chain (1 -> 2).
input: Microsoft® LifeCam Cinema(TM) as
/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/input/input13
uvcvideo: UVC device initialized.
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
[r...@fedora11-test ~]#
[r...@fedora11-test ~]# dmesg
uvcvideo: Trying format 0x47504a4d (MJPG): 640x480.
uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
uvcvideo: Trying format 0x47504a4d (MJPG): 640x480.
uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
uvcvideo: Trying format 0x47504a4d (MJPG): 1280x720.
uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
uvcvideo: Trying format 0x47504a4d (MJPG): 1280x720.
uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
uvcvideo: Trying format 0x47504a4d (MJPG): 1280x720.
uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
uvcvideo: Control 0x00980909 not found.
uvcvideo: Control 0x00980903 not found.
uvcvideo: Device requested 3072 B/frame bandwidth.
uvcvideo: Allocated 5 URB buffers of 32x3072 bytes each.
uvcvideo: Control 0x00980909 not found.
[r...@fedora11-test ~]# mencoder tv:// -tv
driver=v4l2:width=1280:height=720:device=/dev/video0:noaudio:fps=30:outfmt=mjpeg
-ovc lavc -lavcopts vcodec=mpeg4:vpass=1:autoaspect -o camera1.avi
MEncoder SVN-r29934-snapshot-4.4.1 (C) 2000-2009 MPlayer Team
141 audio & 308 video codecs
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschew...@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was
used instead.
Selected device: Microsoft® LifeCam Cinema(TM)
Capabilites: video capture streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
Current format: MJPEG
==================================================================
WARNING: UNTESTED OR UNKNOWN OUTPUT IMAGE FORMAT REQUESTED (0x47504a4d)
This may cause buggy playback or program crash! Bug reports will
be ignored! You should try again with YV12 (which is the default
colorspace) and read the documentation!
==================================================================
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
[V] filefmt:9 fourcc:0x47504A4D size:1280x720 fps:30.000 ftime:=0.0333
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
Forcing audio preload to 0, max pts correction to 0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xab227d0]BICUBIC scaler, from yuv422p to yuv420p using MMX2
videocodec: libavcodec (1280x720 fourcc=34504d46 [FMP4])
Writing header...
ODML: vprp aspect is 16:9.
Writing header...
ODML: vprp aspect is 16:9.
3 duplicate frame(s)!
Pos: 0.1s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
3 duplicate frame(s)!
Pos: 0.3s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos: 0.4s 3f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
4 duplicate frame(s)!
Pos: 0.5s 4f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
3 duplicate frame(s)!
Pos: 0.7s 5f ( 0%) 4.84fps Trem: 0min 0mb A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos: 0.8s 6f ( 0%) 5.16fps Trem: 0min 0mb A-V:0.000 [0:0]
4 duplicate frame(s)!
Pos: 0.9s 7f ( 0%) 5.43fps Trem: 0min 0mb A-V:0.000 [0:0]
3 duplicate frame(s)!
Pos: 1.1s 8f ( 0%) 5.61fps Trem: 0min 0mb A-V:0.000 [1099:0]
2 duplicate frame(s)!
Pos: 1.2s 9f ( 0%) 5.80fps Trem: 0min 0mb A-V:0.000 [1020:0]
4 duplicate frame(s)!
Pos: 1.3s 10f ( 0%) 5.90fps Trem: 0min 0mb A-V:0.000 [906:0]
3 duplicate frame(s)!
^Cs: 1.5s 11f ( 0%) 6.04fps Trem: 0min 0mb A-V:0.000 [849:0]
2 duplicate frame(s)!
Pos: 1.6s 12f ( 0%) 6.13fps Trem: 0min 0mb A-V:0.000 [809:0]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16:9.
Video stream: 809.637 kbit/s (101204 B/s) size: 158554 bytes 1.567 secs 12
frames
v4l2: ioctl set mute failed: Invalid argument
v4l2: 14 frames successfully processed, 39 frames dropped.
[r...@fedora11-test ~]#
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel