LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-28-2009, 07:44 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Rep: Reputation: 55
VLC and Wireless Webcam connection


FC11, Linksys WVC210 Wireless webcam

This Webcam works perfect through Firefox but I can't get it to work in VLC.

I goto /Media/Open Network Stream/RTSP 172.16.1.35:12345 , but I get the error message below.

Where is the VLC log files, I check through out /var


Error;

Your input can't be opened:
VLC is unable to open the MRL 'rtsp://172.16.1.35:12345'. Check the log for details.

Does the port 12345 need to be open in Firewall ? I have it open.

Last edited by mickeyboa; 10-28-2009 at 07:49 PM.
 
Old 10-28-2009, 07:51 PM   #2
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Try from the shell:

Code:
vlc http://172.16.1.35:12345
Given that you can access it from firefox it may be an http stream instead of an rtsp stream.
 
Old 10-28-2009, 08:07 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Original Poster
Rep: Reputation: 55
I tried it with both and got this.



$ vlc http://172.16.1.35:12345
VLC media player 1.0.2 Goldeneye
[0xd53098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
*** Unable to locate valid config! Falling back to auto-detection...
*** Unable to locate PAC! Falling back to direct...
[0x7fc8b4001478] main access error: connection failed: Connection refused
[0x7fc8b4001478] access_http access error: cannot connect to 172.16.1.35:12345
[0x7fc8b4001478] main access error: connection failed: Connection refused
[0x7fc8b4001478] access_mms access error: cannot connect to 172.16.1.35:12345
[0x7fc8d0000c98] main input error: open of `http://172.16.1.35:12345' failed: (null)


$ vlc rtsp://172.16.1.35:12345
VLC media player 1.0.2 Goldeneye
[0x964098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7f05bc001478] live555 demux error: Failed to connect with rtsp://172.16.1.35:12345
[0x7f05bc006988] main access error: connection failed: Connection refused
[0x7f05bc006988] access_realrtsp access error: cannot connect to 172.16.1.35:12345
[0x7f05d8000c98] main input error: open of `rtsp://172.16.1.35:12345' failed: (null)
 
Old 10-28-2009, 08:20 PM   #4
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
You sure the port is 12345? Connection refused means that the port is closed, and actively being rejected. Try this:

Code:
nmap 172.16.1.35
 
Old 10-28-2009, 08:44 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Original Poster
Rep: Reputation: 55
This is nmap results I tried other ports and the last one where I did a
http://172.16.1.35:80 and I didn't get any Errors as I did with the others. But I didn't get any video.

It is showing the MAC Address of the Webcam. (Cisco-Linksys)



# nmap 172.16.1.35

Starting Nmap 5.00 ( http://nmap.org ) at 2009-10-28 20:30 EDT
Interesting ports on WVC210 (172.16.1.35):
Not shown: 997 closed ports
PORT STATE SERVICE
80/tcp open http
554/tcp open rtsp
6789/tcp open ibm-db2-admin
MAC Address: 00:22:6B:E0:01:1A (Cisco-Linksys)

Nmap done: 1 IP address (1 host up) scanned in 3.96 seconds



vlc rtsp://172.16.1.35:554
VLC media player 1.0.2 Goldeneye
[0x16f2098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7f13e4001498] live555 demux error: Failed to connect with rtsp://172.16.1.35:554
[0x7f1404000c98] main input error: open of `rtsp://172.16.1.35:554' failed: (null)
^C[0x16f25c8] signals interface error: Caught Interrupt signal, exiting...





[mickey@biggie ~]$ vlc rtsp://172.16.1.35:6789
VLC media player 1.0.2 Goldeneye
[0x1329098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7f36f4001498] live555 demux error: Failed to connect with rtsp://172.16.1.35:6789
[0x7f3710000c98] main input error: open of `rtsp://172.16.1.35:6789' failed: (null)
^C[0x13295c8] signals interface error: Caught Interrupt signal, exiting...




[mickey@biggie ~]$ vlc rtsp://172.16.1.35:80
VLC media player 1.0.2 Goldeneye
[0xdba098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7ff6d8001498] live555 demux error: Failed to connect with rtsp://172.16.1.35:80
[0x7ff6f8000c98] main input error: open of `rtsp://172.16.1.35:80' failed: (null)
^C[0xdba5c8] signals interface error: Caught Interrupt signal, exiting...




[mickey@biggie ~]$ vlc http://172.16.1.35:80
VLC media player 1.0.2 Goldeneye
[0x2071098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
*** Unable to locate valid config! Falling back to auto-detection...
*** Unable to locate PAC! Falling back to direct...
[0x7ff474004588] ts demux error: cannot peek
 
Old 10-28-2009, 09:03 PM   #6
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Try this:

Code:
vlc http://172.16.1.35/img/video.mjpeg
or


Code:
vlc rtsp://172.16.1.35/img/video.mjpeg
 
Old 10-28-2009, 09:46 PM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Original Poster
Rep: Reputation: 55
This did the trick.
But there is a 1-2 second delay in movement of video.



$ vlc http://172.16.1.35/img/video.mjpeg
VLC media player 1.0.2 Goldeneye
[0xbcc098] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
*** Unable to locate valid config! Falling back to auto-detection...
*** Unable to locate PAC! Falling back to direct...
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRegion: Painter not active
QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRegion: Painter not active
QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRegion: Painter not active
QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::begin: Paint device returned engine == 0, type: 1
 
Old 10-28-2009, 09:52 PM   #8
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
I think the delay is more of a VLC thing than anything else. You can try tweaking the different buffers to get it less, but I don't think you'll get down to real time.

I tried to build a video conferencing app around VLC a couple years back, and that delay was the biggest trouble we ran into.
 
Old 10-28-2009, 09:53 PM   #9
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Original Poster
Rep: Reputation: 55
How and where do I put that in VLC to play.

http://172.16.1.35/img/video.mjpeg

Thank you very much for the help.

Last edited by mickeyboa; 10-28-2009 at 09:55 PM.
 
Old 10-28-2009, 10:03 PM   #10
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Original Poster
Rep: Reputation: 55
The Delay could be in the network signal from camera to computer.

Thanks again for your help, I have been trying off-on for about six months to get it to work in VLC.
 
Old 10-28-2009, 10:26 PM   #11
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Not a problem. In VLC, Go to File -> Open Network Stream
Protocol: HTTP
Address: 172.16.1.35/img/video.mjpeg
Port: 80

Then with the "More options" you can tweak the Caching.
 
Old 10-29-2009, 01:01 PM   #12
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,565

Original Poster
Rep: Reputation: 55
A setting of 275ms is the best i could get, that was a fraction of a second delay.If you would move slowly, you wouldn't notice the delay,only if you move fast, the delay was slightly noticed.

default is 1200.

Thanks Again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 11:48 PM
how to get vlc-0.9.0_beta3 to save webcam stream to file jimerickso Linux - Software 0 08-22-2008 05:42 PM
VLC and a usb webcam rapattack Linux - Software 6 07-15-2008 04:22 AM
trouble with Logitech webcam Ultra Vision using uvcvideo with VLC pisti Linux - Software 0 11-17-2006 01:49 AM
".cam" webcam video -- is there a codec? Can I play it with xine, Mplayer, VLC, ...? ErrorBound Linux - Software 0 07-09-2006 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration