Streaming USB via VLC HTTP Problem

Forum for questions and support relating to the 1.29.x releases only.
Locked
yukaputz
Posts: 9
Joined: Sat Feb 27, 2016 1:10 am

Streaming USB via VLC HTTP Problem

Post by yukaputz »

Hello everyone,

First I would like to say thanks for taking the time to read my post. I've been struggling with this for a few days and could really use some input. I am running Ubuntu 14.04 Desktop with a USB Logitech C170. I have setup a stream over lan for the camera using VLC on HTTP port 8080 transcoded into H.264+mp3(mp4). I am able to receive and view the stream from another computer using vlc on the same lan.

My zoneminder version is 1.29 on Ubuntu 14.04 headless server. I have been successful in getting other cameras to work (ip webcam on android and a http stream on windows7/yawcam/usb logitech cam) I installed zoneminder using the zoneminder "easy way" instructions.

For the life of me, I cannot get zoneminder to pickup the stream from VLC. I keep getting errors which I've attached a screen shot of. Please, be gentle, zoneminder and nix are new to me. If there is a better alternative then what i am doing please, point the way. I'd eventually like to be able to stream the content out to a web server as well so my daughters can watch there guinea pigs when they are with their mother. Should I try to put zoneminder on the local ubuntu desktop as well?
Capture2.PNG
Capture2.PNG (4.6 KiB) Viewed 4574 times
Capture3.PNG
Capture3.PNG (29.59 KiB) Viewed 4574 times
Capture.PNG
Capture.PNG (99.84 KiB) Viewed 4574 times
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Streaming USB via VLC HTTP Problem

Post by bbunge »

libvlc will not work on some cameras. Use ffmpeg instead. I have a Foscam FI9821W v2 that refuses to work on VLC or libvlc but runs like a champ on ffmpeg! The other thing you have to have spot on is the resolution (Capture Height and Width) to the pixel! Else a blue screen will happen. Also the Reference Image Blend %ge and AlmRefImageBlendPct need to match.

bb
yukaputz
Posts: 9
Joined: Sat Feb 27, 2016 1:10 am

Re: Streaming USB via VLC HTTP Problem

Post by yukaputz »

Thanks BB. Can you point me toward a how to for ffmpeg? I tried this before but got really turned around with ffmpeg and ffserver, I wasn't sure what I was supposed to be doing with what.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Streaming USB via VLC HTTP Problem

Post by bbunge »

Use the same string you use in VLC to view the video in the ZM Source Path. Match the remote Method to your stream.
yukaputz
Posts: 9
Joined: Sat Feb 27, 2016 1:10 am

Re: Streaming USB via VLC HTTP Problem

Post by yukaputz »

]I thought I had. This is the string I used to view the stream. See any glaring errors?
[attachment=0]Capture4.PNG[/attachment
Attachments
Capture4.PNG
Capture4.PNG (13.53 KiB) Viewed 4566 times
yukaputz
Posts: 9
Joined: Sat Feb 27, 2016 1:10 am

Re: Streaming USB via VLC HTTP Problem

Post by yukaputz »

Still haven't been able to figure this one out. If anyone has any further input let me know otherwise I should probably close this I guess.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Streaming USB via VLC HTTP Problem

Post by bbunge »

General Tab
Source Type Ffmpeg

Source Tab
Source Path http://192.168.1.148:8080
Remote Method RTP/RTSP/HTTP

Capture Width and Height match your camera resolution You initially used 640x480 but it must match your camera!
Locked