Page 1 of 1

VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 12 Oct 2015 10:19
by daveett
First I am a novice to this but I will describe what I am trying to do and what is happening to hopefully get some help.
I am currently trying to stream from a H.264 IP camera to manycam which needs a MJPEG stream format as it will not recognize the RTSP URL command structure required by the camera. I am running VLS 2.2.2 Weathermax version on a Windows 8.1 platform (Dell Inspiron 14R laptop).

I can successfully play the stream from the camera however when I try streaming and transcoding to a MJPEG format VLC crashes and closes (disappears) from my desktop. When opening messages I tried to get an error log but this also disappears so I am unable to see where the error is occurring.

I have tried many different configurations (different transcoding formats all with the same results (crash and disappear).
When I try streaming without transcoding VLC is successful in streaming and does not crash however it is still in the H.264 format which is unreadable by manycam (which does detect the stream and connects).

The configuration in VLC is
INPUT: rtsp://admin:admin@192.168.1.128:554/12 (IP Camera)
DESTINATION: HTTP / 8080 / Cam2.mjpg (destination is my PC 192.168.1.7:8080/cam2.mjpg)
TRANSCODING: CUSTOM - Encapsulation = MJPEG / Video Codec= M-JPEG / Bitrate 800kbps

As I am a novice at this so I don't know where else to look to resolve the problem and would greatly appreciate any help that I could get.

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 22 Oct 2015 12:28
by qiqo
Hi. I am in a very similar situation. I have an IP Camera that is streaming RTSP and I configure VLC to transcode it to HTTP. After 5-10 seconds VLC crashes in the same way than you. I use VLC 2.2.1.

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 26 Oct 2015 13:27
by snaiperskaya
Same here!

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 26 Oct 2015 16:27
by snaiperskaya
Just found out it works with 2.1.5... Meh (I was using 2.2.1)

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 27 Oct 2015 04:34
by daveett
I guess the answer is to revert back to 2.1.5. Thanks for the feedback. I thought it was just me.

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 27 Oct 2015 05:52
by daveett
snaiperskaya I can confirm it works now with 2.1.5 thanks a lot for the tip as this was driving crazy.

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 27 Oct 2015 12:12
by qiqo
Hi Daveett, does it work for you now? In my case it does not crash now, but I can't reproduce it in my webpage. I am also transcoding from RTSP to HTTP. If I open in another VLC client the url of the new MJPEG stream I can reproduce it, but it does not reproduce it in my img tag of html.

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 28 Oct 2015 11:34
by snaiperskaya
I'm glad I helped you guys.
Hi Daveett, does it work for you now? In my case it does not crash now, but I can't reproduce it in my webpage. I am also transcoding from RTSP to HTTP. If I open in another VLC client the url of the new MJPEG stream I can reproduce it, but it does not reproduce it in my img tag of html.
If you're doing it from the command line, just be sure to add mime type to multipart/x-mixed-replace and add a boundary (You can find loads of tips on the web)

Re: VLC 2.2.2 Crashes and Closes - streaming H.264 to Http

Posted: 02 Nov 2015 12:28
by qiqo
I do it from the GUI..