LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2014, 10:57 PM   #1
craftindo
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
question about mjpgstreamer


I have tested my webcam with cheese & guvcview and both of them show video from my logitech webcam.

However, when i tried to stream video using the following command, it shows green screen with few lines of random data.

root@beaglebone:~/mjpg-streamer# ./mjpg_streamer -i "./input_uvc.so -f 15 -r 320x240 -y -n" -o "./output_http.so -p 30000 -w ./www"
MJPG Streamer Version: svn rev:
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 320 x 240
i: Frames Per Second.: 15
i: Format............: YUV
i: JPEG Quality......: 80
o: www-folder-path...: ./www/
o: HTTP TCP port.....: 30000
o: usernameassword.: disabled
o: commands..........: enabled


http://192.168.7.2:30000/index.html

How to troubleshoot?

thanks
 
Old 12-23-2014, 01:35 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi & welcome to LQ. A bit more information would help. What distro are you using? Where did you get mjpg-streamer? Here?
Is this the link that you are streaming to?
http://192.168.7.2:30000/index.html
Quote:
MJPG-streamer takes JPGs from Linux-UVC compatible webcams, filesystem or other input plugins and streams them as M-JPEG via HTTP to webbrowsers, VLC and other software. It is the successor of uvc-streamer, a Linux-UVC streaming application with Pan/Tilt
What application did you use to watch your video?
jdk
 
Old 12-23-2014, 07:39 AM   #3
craftindo
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Jdk,
I installed using apt-get install from the terminal. I used debian distro.
I've tried google chrome + IE to watch my video.
Regarding Pan/Tilt i've disabled it by option -n means nodynamic control.

Any idea why it doesnt show properly?

(i 've tried 2 webcam with no success)

thanks
 
Old 12-23-2014, 12:07 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by craftindo View Post
Any idea why it doesnt show properly?

(i 've tried 2 webcam with no success)

thanks
No, sorry. I've never used mjpg streamer. Cheese, yes. If it doesn't work with Chrome, you could try it with Iceweasel (Firefox) and see if the same problem occurs. If it does then at least you can rule out the browser as the cause of your problem.
jdk
 
  


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
[SOLVED] GPL question (Version 2, June 1991) - physical media availability question LicenseQuestions Linux - Newbie 1 12-01-2012 07:34 PM
basic html question - download link to files on my webpage question Davno Linux - Server 5 12-25-2009 08:24 AM
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM


All times are GMT -5. The time now is 11:57 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