Using VLC to stream from Mobotix IP Cam

About encoding, codec settings, muxers and filter usage
KilianSSL
New Cone
New Cone
Posts: 3
Joined: 14 May 2008 16:18

Using VLC to stream from Mobotix IP Cam

Postby KilianSSL » 16 May 2008 08:57

Good day guys

Is it possible to connect VLC directly to either
http://80.81.48.4/cgi-bin/guestimage.html (which is JPG 2 FPS)
or
http://219.101.248.138:8106/cgi-bin/guestimage.html (which seems to be MJPG 25 FPS)

Currently i'm trying a software called Cyeweb to turn JPG 2 FPS into an MMS stream, but i'd love to use VLC directly.

// edit:
from what i found out i can play "http://134.130.215.212/cgi-bin/faststre ... ream=MxPEG" in my Windows VLC...but when i attach it to the command line of my CentOS Box

Code: Select all

# vlc -vvv http://134.130.215.212/cgi-bin/faststream.jpg?stream=MxPEG --sout='#standard{access=mmsh,mux=asfh,url=0.0.0.0:8800}' --mjpeg-fps=2 --no-audio
the log keeps telling me:

Code: Select all

[00000309] mjpeg demuxer debug: MIME boundary not found in 15360 bytes of data [00000309] mjpeg demuxer debug: MIME boundary not found in 20480 bytes of data [00000309] mjpeg demuxer debug: MIME boundary not found in 25600 bytes of data [00000309] mjpeg demuxer debug: MIME boundary not found in 30720 bytes of data [00000309] mjpeg demuxer debug: MIME boundary not found in 35840 bytes of data [00000309] mjpeg demuxer debug: MIME boundary not found in 40960 bytes of data [00000309] mjpeg demuxer debug: MIME boundary not found in 46080 bytes of data
Thx for any information.

gpollock
New Cone
New Cone
Posts: 1
Joined: 18 Nov 2009 15:51

Re: Using VLC to stream from Mobotix IP Cam

Postby gpollock » 18 Nov 2009 15:52

Did anyone come up with a solution for this? We are also attempting to use a Mobotix camera

cheers
Gavin

mad_dog
New Cone
New Cone
Posts: 1
Joined: 17 Mar 2010 07:57

Re: Using VLC to stream from Mobotix IP Cam

Postby mad_dog » 17 Mar 2010 08:00

This will work for viewing the camera stream, as you suggested ---> http://<camera_IP>/cgi-bin/faststream.jpg
Go to--> VLC | Media | Network Stream.
Protocol = http
Address = <camera_IP>/cgi-bin/faststream.jpg

For more info, try the Mobotix HTTP API @ http://developer.mobotix.com/mobotix_sd ... ntrol.html

Have you tried streaming it directly to a file first, or anything other than an mms stream?

HerrPi
New Cone
New Cone
Posts: 3
Joined: 07 Feb 2012 15:09

Re: Using VLC to stream from Mobotix IP Cam

Postby HerrPi » 07 Feb 2012 15:37

Just have a look into the thread over here, I feel that many solutions have already been given here and are still near to come! :-)

viewtopic.php?f=7&t=97738&p=326017#p326017

hackeron
Blank Cone
Blank Cone
Posts: 24
Joined: 18 Jul 2008 13:30

Re: Using VLC to stream from Mobotix IP Cam

Postby hackeron » 26 Jan 2017 17:15

Did anyone have any luck with this? - I'm trying this and it gets a few frames and kills the connection.

$ cvlc -v --no-audio --loop --avformat-format=mjpeg 'http://admin:admin@192.168.100.232/cgi- ... .0&noaudio' --sout '#standard{access=http{mime="multipart/x-mixed-replace;boundary=7b3cc56e5f51db803f790dad720ed50a"},mux=mpjpeg,dst=:8081/video.mjpeg}'
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000001fd10b8] core interface error: no suitable interface module
[0000000001ee7148] core libvlc error: interface "globalhotkeys,none" initialization failed
[000000000204c698] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[000000000204c698] core interface error: no suitable interface module
[0000000001ee7148] core libvlc error: interface "dbus,none" initialization failed
[0000000001fd10b8] dummy interface: using the dummy interface module...
[00007f3abc0009b8] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (jitter of 9232 ms ignored)
[00007f3ac111f6e8] core decoder error: Could not convert timestamps 0, 0
[00007f3ac0000c38] core stream output warning: trying to send non-dated packet to stream output!
[00007f3abc0009b8] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1319 ms)
[00007f3abc0009b8] core input error: ES_OUT_RESET_PCR called
[00007f3ac04c9118] core mux warning: late buffer for mux input (70052)
[00007f3ac04c9118] core mux warning: late buffer for mux input (30166)
[00007f3abc0009b8] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (jitter of 13158 ms ignored)
[00007f3ac111f6e8] core decoder error: Could not convert timestamps 0, 0

vs_will
New Cone
New Cone
Posts: 1
Joined: 08 Mar 2017 17:10

Re: Using VLC to stream from Mobotix IP Cam

Postby vs_will » 08 Mar 2017 17:19

I've noticed that as you try to output HD video with VLC you need to reduce throughput and FPS as well. I can run two VLC streams of 1080P from the same box but I need to drop the bandwidth to 300Kbps and 12FPS. I still get same quality video but less frames and no freezing problems like when I tried to push much higher FPS and well over 2MBs. This is in regards to output to HTTP only as I see from VLC output to VLC input there is not as big a problem.

vivekellappan
New Cone
New Cone
Posts: 1
Joined: 10 Jan 2018 08:43

Re: Using VLC to stream from Mobotix IP Cam

Postby vivekellappan » 10 Jan 2018 08:50

Hi,
I am also using mobotix camera to live stream. I have 5 seconds delay between the mobotix live and vlc stream. is it possible to fix it ? Can you please suggest how to address it ? thank you..

Andrei Iosifescu
Blank Cone
Blank Cone
Posts: 25
Joined: 24 Feb 2020 21:00

Re: Using VLC to stream from Mobotix IP Cam

Postby Andrei Iosifescu » 13 Apr 2020 16:10

[wiki][/wiki]
This will work for viewing the camera stream, as you suggested ---> http://<camera_IP>/cgi-bin/faststream.jpg
Go to--> VLC | Media | Network Stream.
Protocol = http
Address = <camera_IP>/cgi-bin/faststream.jpg

For more info, try the Mobotix HTTP API @ [url]http://developer.mobotix.com/mobotix_sdk_1.0.2/paks/help%C2%A7cgi-remotecontrol.html[/url]

Have you tried streaming it directly to a file first, or anything other than an mms stream?
I have a problem: When I open the adress, it buffers for 30 seconds - 1 minute, play something fast and then buffer again. It does the same with all mobotix cams.
Take a look here: [url]https://drive.google.com/open?id=1iOB_ISq59Xj9kMNeaT_Vx9awo41gpSQw[/url]
This is the adress: [url] http://86.127.212.113/cgi-bin/faststream.jpg?[/url]. In browser it works fine.

Andrei Iosifescu
Blank Cone
Blank Cone
Posts: 25
Joined: 24 Feb 2020 21:00

Re: Using VLC to stream from Mobotix IP Cam

Postby Andrei Iosifescu » 12 May 2020 09:48

I fixed the issue. I tried the mxpeg codec and it Now works fine.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests