V4L2 capture fails (access_demux module error?)

*nix specific usage questions
kombucha
New Cone
New Cone
Posts: 7
Joined: 12 Jan 2010 22:34

V4L2 capture fails (access_demux module error?)

Postby kombucha » 12 Jan 2010 23:01

When capturing from /dev/raw1394 on Ubuntu 9.10 (Karma) VLC is failing and complaining thusly:
v4l2 debug: opening device '/dev/raw1394'
v4l2 error: cannot get video capabilities (Invalid argument)
main warning: no access_demux module matching "v4l2" could be loaded
Kino however has no problem with /dev/raw1394 so it definitely seems like a VLC issue.

I've tried this with VLC 1.0.2, and also tried to install 1.0.4, but VLC --version still claims it's 1.0.2 Goldeneye.

Anyone have any ideas on what's going on here?

~kombucha

Full output of logging started with `sudo_UID=1000 vlc-wrapper --logfile vlc.log --file-logging -vvv`:

Code: Select all

cat /var/log/vlc/vlc.log -- logger module started -- main debug: using interface module "logger" main debug: TIMER module_need() : 0.483 ms - Total 0.483 ms / 1 intvls (Avg 0.483 ms) main debug: thread started main debug: thread ended main debug: thread (interface) created at priority 0 (interface/interface.c:151) main debug: looking for interface module: 1 candidate main debug: using interface module "signals" main debug: TIMER module_need() : 0.259 ms - Total 0.259 ms / 1 intvls (Avg 0.259 ms) main debug: thread (interface) created at priority 0 (interface/interface.c:151) main debug: thread started main debug: looking for interface module: 0 candidates main error: no interface module matched "globalhotkeys,none" main debug: TIMER module_need() : 0.059 ms - Total 0.059 ms / 1 intvls (Avg 0.059 ms) main error: no suitable interface module main error: interface "globalhotkeys,none" initialization failed main debug: thread ended main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. main debug: looking for interface module: 4 candidates main debug: using interface module "qt4" qt4 debug: Error while initializing qt-specific localization main debug: TIMER module_need() : 221.714 ms - Total 221.714 ms / 1 intvls (Avg 221.714 ms) main debug: thread (interface) created at priority 0 (interface/interface.c:151) main debug: thread started main debug: thread ended qt4 debug: Initialization of Capture device panel qt4 warning: Input option: input-slave=alsa:// qt4 warning: Input option: v4l2-standard=0 main debug: adding item `v4l2:///dev/raw1394' ( v4l2:///dev/raw1394 ) qt4 debug: Adding a new MRL to recent ones: v4l2:///dev/raw1394 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item v4l2:///dev/raw1394 node null skip 0 main debug: resyncing on v4l2:///dev/raw1394 main debug: v4l2:///dev/raw1394 is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'v4l2:///dev/raw1394' main debug: thread (input) created at priority 10 (input/input.c:230) main debug: thread started qt4 debug: IM: Setting an input main debug: using timeshift granularity of 50 MBytes main debug: using timeshift path '/tmp' main debug: `v4l2:///dev/raw1394' gives access `v4l2' demux `' path `/dev/raw1394' main debug: creating demux: access='v4l2' demux='' path='/dev/raw1394' main debug: looking for access_demux module: 1 candidate qt4 debug: Updating the geometry qt4 debug: Updating the geometry v4l2 debug: Trying direct kernel v4l2 v4l2 debug: opening device '/dev/raw1394' v4l2 error: cannot get video capabilities (Invalid argument) v4l2 debug: Trying libv4l2 wrapper v4l2 debug: opening device '/dev/raw1394' v4l2 error: cannot get video capabilities (Invalid argument) main warning: no access_demux module matching "v4l2" could be loaded main debug: TIMER module_need() : 4.107 ms - Total 4.107 ms / 1 intvls (Avg 4.107 ms) main debug: creating access 'v4l2' path='/dev/raw1394' main debug: looking for access module: 1 candidate v4l2 debug: Trying direct kernel v4l2 v4l2 debug: opening device '/dev/raw1394' v4l2 error: cannot get video capabilities (Invalid argument) v4l2 debug: Trying libv4l2 wrapper v4l2 debug: opening device '/dev/raw1394' v4l2 error: cannot get video capabilities (Invalid argument) main warning: no access module matching "v4l2" could be loaded main debug: TIMER module_need() : 1.779 ms - Total 1.779 ms / 1 intvls (Avg 1.779 ms) main error: open of `v4l2:///dev/raw1394' failed: (null) main debug: finished input main debug: thread ended main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input qt4 debug: Updating the geometry qt4 debug: Updating the geometry main debug: TIMER input launching for 'v4l2:///dev/raw1394' : 112.448 ms - Total 112.448 ms / 1 intvls (Avg 112.448 ms)

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

Re: V4L2 capture fails (access_demux module error?)

Postby Rémi Denis-Courmont » 13 Jan 2010 16:43

It's simply not a V4L2 device.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

asangau
New Cone
New Cone
Posts: 1
Joined: 19 Jul 2010 14:18

Re: V4L2 capture fails (access_demux module error?)

Postby asangau » 19 Jul 2010 14:22

Instead of using the v4l2, try

vlc -vvv dv/rawdv:///dev/raw1394

- Asanga Udugama


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

Who is online

Users browsing this forum: Google [Bot] and 25 guests