VLC running in Ubuntu/ VMware Player problem

*nix specific usage questions
jvdstoel
New Cone
New Cone
Posts: 8
Joined: 17 Nov 2008 22:38

VLC running in Ubuntu/ VMware Player problem

Postby jvdstoel » 19 Jan 2011 15:03

Hello,
We use VMware player for a lot of development purposes. VMware player is running in Windows XP.
I have connected a uvc logitech camera to my laptop. (tested with two different models)
What I encountered is the following: (all OS'es running in VMware)
Ubuntu 10.04 & VLC & xawtv installed from the repository (latest version):
- Both VLC & xawtv show the camera image.
Ubuntu 10.10 & VLC & xawtv installed from the repository (latest version):
- Only xawtv shows the camera image.

VLC shows:
qt4 warning: Input option: input-slave=alsa://
qt4 warning: Input option: v4l2-standard=0
qt4 warning: Input option: file-caching=300
main debug: adding item `v4l2://' ( v4l2:// )
qt4 debug: Adding a new MRL to recent ones: v4l2://
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 3 items, index 1
main debug: processing request item v4l2:// node Playlist skip 0
main debug: resyncing on v4l2://
main debug: v4l2:// is at 2
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'v4l2://'
main debug: thread (input) created at priority 10 (input/input.c:214)
main debug: TIMER input launching for 'v4l2://' : 37248.358 ms - Total 37248.358 ms / 1 intvls (Avg 37248.356 ms)
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path '/tmp'
main debug: `v4l2://' gives access `v4l2' demux `' path `'
main debug: creating demux: access='v4l2' demux='' path=''
main debug: looking for access_demux module: 1 candidate
v4l2 debug: Trying direct kernel v4l2
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: UVC Camera (046d:081d) using driver: uvcvideo (version: 0.1.0) on usb-0000:02:03.0-1
v4l2 debug: the device has the capabilities: (X) Video Capture, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: ( ) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: device supports chroma MJPG [MJPEG, MJPG]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: '/dev/video0' is a video device
v4l2 error: cannot set input (Device or resource busy)
v4l2 debug: Trying libv4l2 wrapper
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: UVC Camera (046d:081d) using driver: uvcvideo (version: 0.1.0) on usb-0000:02:03.0-1
v4l2 debug: the device has the capabilities: (X) Video Capture, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: device supports chroma MJPG [MJPEG, MJPG]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: device supports chroma RV24 [RGB3, RGB3]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports chroma RV24 [BGR3, BGR3]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports chroma I420 [YU12, YU12]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports chroma YV12 [YV12, YV12]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: '/dev/video0' is a video device
v4l2 error: cannot set input (Device or resource busy)
main debug: no access_demux module matching "v4l2" could be loaded
main debug: TIMER module_need() : 5.016 ms - Total 5.016 ms / 1 intvls (Avg 5.016 ms)
main debug: creating access 'v4l2' path=''
main debug: looking for access module: 1 candidate
v4l2 debug: Trying direct kernel v4l2
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: UVC Camera (046d:081d) using driver: uvcvideo (version: 0.1.0) on usb-0000:02:03.0-1
v4l2 debug: the device has the capabilities: (X) Video Capture, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: ( ) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: device supports chroma MJPG [MJPEG, MJPG]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: '/dev/video0' is a video device
v4l2 error: cannot set input (Device or resource busy)
v4l2 debug: Trying libv4l2 wrapper
v4l2 debug: opening device '/dev/video0'
v4l2 debug: V4L2 device: UVC Camera (046d:081d) using driver: uvcvideo (version: 0.1.0) on usb-0000:02:03.0-1
v4l2 debug: the device has the capabilities: (X) Video Capture, ( ) Audio, ( ) Tuner, ( ) Radio
v4l2 debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (Camera 1) has type: External analog input *
v4l2 debug: device supports chroma YUY2 [YUV 4:2:2 (YUYV), YUYV]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: device supports chroma MJPG [MJPEG, MJPG]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports size 960x720
v4l2 debug: device supports size 1280x720
v4l2 debug: device supports size 1392x768
v4l2 debug: device supports size 1504x832
v4l2 debug: device supports size 1600x896
v4l2 debug: device supports size 1280x960
v4l2 debug: device supports size 1280x1024
v4l2 debug: device supports size 1600x1200
v4l2 debug: device supports chroma RV24 [RGB3, RGB3]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports chroma RV24 [BGR3, BGR3]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports chroma I420 [YU12, YU12]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: device supports chroma YV12 [YV12, YV12]
v4l2 debug: device supports size 640x480
v4l2 debug: device supports size 160x120
v4l2 debug: device supports size 176x144
v4l2 debug: device supports size 320x176
v4l2 debug: device supports size 320x240
v4l2 debug: device supports size 432x240
v4l2 debug: device supports size 352x288
v4l2 debug: device supports size 544x288
v4l2 debug: device supports size 640x360
v4l2 debug: device supports size 752x416
v4l2 debug: device supports size 800x448
v4l2 debug: device supports size 864x480
v4l2 debug: device supports size 960x544
v4l2 debug: device supports size 1024x576
v4l2 debug: device supports size 800x600
v4l2 debug: device supports size 1184x656
v4l2 debug: '/dev/video0' is a video device
main debug: no fetch required for (null) (art currently (null))
v4l2 error: cannot set input (Device or resource busy)
main debug: no access module matching "v4l2" could be loaded
main debug: TIMER module_need() : 4.081 ms - Total 4.081 ms / 1 intvls (Avg 4.081 ms)
main error: open of `v4l2://' failed: (null)
main debug: finished input
main debug: dead input
main debug: thread ended
main debug: changing item without a request (current 2/3)
main debug: nothing to play

What is the reason of this problem and how can it be solved?

Thanks,
Johan

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC running in Ubuntu/ VMware Player problem

Postby Rémi Denis-Courmont » 19 Jan 2011 17:00

kernel says the device is busy. Another application is using it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jvdstoel
New Cone
New Cone
Posts: 8
Joined: 17 Nov 2008 22:38

Re: VLC running in Ubuntu/ VMware Player problem

Postby jvdstoel » 19 Jan 2011 20:01

Dear Remy,

This would be too easy - I can assure you this is not the case.
I already discusssed this issue with Jean-Paul Saman (I guess you know him); he is working for us and he advised me to post this topic.

We are rather convinced here is a bug somewhere.

Best regards,
Johan

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC running in Ubuntu/ VMware Player problem

Postby Rémi Denis-Courmont » 20 Jan 2011 17:23

It is unlikely that VLC invents EBUSY... But if you think it does, you're welcome to propose a fix.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jvdstoel
New Cone
New Cone
Posts: 8
Joined: 17 Nov 2008 22:38

Re: VLC running in Ubuntu/ VMware Player problem

Postby jvdstoel » 22 Jan 2011 12:31

If I would have the knowledge to debug this further, I would do it. But I don't have it...


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests