You are not logged in.

#1 2014-07-26 16:17:29

meijuh
Member
Registered: 2013-03-21
Posts: 20

trouble accessing webcam with avconv

I am currently having trouble accessing my webcam.

When I issue

avconv -loglevel debug -f video4linux2 -i /dev/video0 -vcodec libx264 -f mpegts /home/jeroen/Desktop/local.ts

avconv seems to stall. I can even issue cntr+c.

The logging says: http://pastebin.com/jLg2ZGee. The same error occurs when I attach another webcam. Furthermore

v4l2-ctl --list-devices --verbose

says:

UVC Camera (046d:09a5) (usb-0000:00:1d.0-1.1):
	/dev/video0

HP HD Webcam [Fixed] (usb-0000:00:1d.0-1.4):
	/dev/video2

VIDIOC_QUERYCAP: ok

My user is in the video group. All this was working fine two months ago, what could be wrong?

Offline

#2 2014-08-01 09:11:54

meijuh
Member
Registered: 2013-03-21
Posts: 20

Re: trouble accessing webcam with avconv

The same problem occurs with ffmpeg, any ideas?

Edit: it seems to be the same issue as described here: https://bbs.archlinux.org/viewtopic.php?id=183064.
The problems should be fixed in Linux kernel 3.16.

Last edited by meijuh (2014-08-01 09:42:47)

Offline

#3 2014-08-02 18:55:23

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: trouble accessing webcam with avconv

Please show your ffmpeg command, preferably the package from Extra, and the complete console output (avconv != ffmpeg).

You can paste the console output directly in your post.

Last edited by DrZaius (2014-08-02 18:56:44)

Offline

#4 2014-09-15 14:47:48

meijuh
Member
Registered: 2013-03-21
Posts: 20

Re: trouble accessing webcam with avconv

I think this topic can be closed; it is indeed fixed now.

Offline

Board footer

Powered by FluxBB