VLC video capture problem.

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
Valiant
Posts: 15
Joined: 8. May 2011, 05:22

VLC video capture problem.

Post by Valiant »

Hi Salix folk. I have an old Hauppage PVR USB2 external TV capture unit. What I like to do is hook this up via its composite input to a Freeview digital box, and then with the aid of V4L2 and V4L-utils, I can watch Freeview TV via the PVR "open capture device function" in VLC media player.

What I'm getting with Salix (LXDE 13.37) is:

The red neon indication on the PVR unit is lit when connected to the PC and powered on.

When I switch the V4L2 input to composite, which on this computer is "1" using the terminal command

Code: Select all

v4l2-ctl -i 1
it gives the message

Code: Select all

No such file or directory
if I go to su it's the same......

When I go to VLC media player media/open capture device then select PVR-play, I get the following error message....

Code: Select all

Your input can't be opened:
VLC is unable to open the MRL 'pvr://'. Check the log for details
Help would be appreciated with this please. I haven't checked the log because I don't know which one they mean or where it is.

Cheers!
K.I.S.S. - Keep it Simple and Sublime.
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: VLC video capture problem.

Post by gapan »

Can you try with wxcam?
Image
Image
Valiant
Posts: 15
Joined: 8. May 2011, 05:22

Re: VLC video capture problem.

Post by Valiant »

gapan wrote:Can you try with wxcam?
Thanks for getting back gapan. No luck with wxcam either unfortunately. Spits out error message.....

Code: Select all

Cannot open /dev/video0.
Please check if your system has the correct driver for your webcam, or change the webcam device in settings->preferences.
I have tried different settings to no avail. Still getting the same error message at LXTerminal when I try and alter the device input to composite -like its trying to find file or directory < /dev/video0> which isn't there.
K.I.S.S. - Keep it Simple and Sublime.
Valiant
Posts: 15
Joined: 8. May 2011, 05:22

Re: VLC video capture problem.

Post by Valiant »

Sorry, the full error message I get in LXTerminal is.........

Code: Select all

Failed to open /dev/video0: No such file or directory
Noticed on re-checking.
Ive tried out the procedure on Linux Mint and it works. However, I get above error message if the PVR unit's USB lead is disconnected.

Cheers
K.I.S.S. - Keep it Simple and Sublime.
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: VLC video capture problem.

Post by gapan »

Could it be that your device is not supported by the kernel in 13.37?
Image
Image
Valiant
Posts: 15
Joined: 8. May 2011, 05:22

Re: VLC video capture problem.

Post by Valiant »

gapan wrote:Could it be that your device is not supported by the kernel in 13.37?
You could be right gapan. I see from my system info I've got kernel Linux 2.6.37.6-smp (i686). On checking wikipedia video4linux they say "V4L1 support was dropped in kernel 2.6.38", which could also mean possibly that "V4L2 support was adopted in kernel 2.6.38"

I really like both Salix and LXDE. Is there a way I can update to a newer kernel gapan?
K.I.S.S. - Keep it Simple and Sublime.
Valiant
Posts: 15
Joined: 8. May 2011, 05:22

Re: VLC video capture problem.

Post by Valiant »

It's OK gapan, I've found the Salix OS page to upgrade the kernel. I rate myself as an intermediate linux'er so I'm chewing over whether to attempt the process and risk b***ering the system, or waiting for Salix 14.

Cheers.
K.I.S.S. - Keep it Simple and Sublime.
Post Reply