LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question about mjpgstreamer (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-mjpgstreamer-4175529058/)

craftindo 12-22-2014 09:57 PM

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: username:password.: disabled
o: commands..........: enabled


http://192.168.7.2:30000/index.html

How to troubleshoot?

thanks

jdkaye 12-23-2014 12:35 AM

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

craftindo 12-23-2014 06:39 AM

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

jdkaye 12-23-2014 11:07 AM

Quote:

Originally Posted by craftindo (Post 5289490)
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


All times are GMT -5. The time now is 09:14 PM.