Help testing MIST

697 views
Skip to first unread message

mar...@gmail.com

unread,
Jun 4, 2014, 8:42:51 AM6/4/14
to mists...@googlegroups.com
Hi all,

I'm testing Mist and I need a little help setting up my first test server. I installed MIST and it's working. I've tried to play VOD streams and It works perfect. Now, I want to try live streaming.

I want to stream a live video feed from a PC to the server, and then play it from a Raspberry Pi. It's all working on a LAN, and I want the video to be in HD.

I don't know which is the best setup for that. I think I need to send an RTMP or HTTP live stream from the PC to the server, catch it and then play the stream from the raspberry using omxplayer or vlc.

I need help setting up the stream and catching it in Mist Server.

I used Adobe Flash Media Live Encoder for other projects, but it can't stream files; just video input devices. Also, I had trouble with FMLE video streams in Mist. I tried to set up a webcam video stream to Mist, its connected and it appears in stream list as active, but test player doesn't start. I'm streaming H264 to "rtmp://LANIP:1935/*/rtmp", being "rtmp" the stream's name in Mist.

I don't know if there is any software that can allow me to stream a live video playlist or just video files to Mist. I tried HTTP streaming from VLC, but I wasn't able to get it working. Can you help me choosing the right software and setting it up?

Thank you so much. I will keep you informed of my progress.

Balder Vietor

unread,
Jun 4, 2014, 9:21:57 AM6/4/14
to mists...@googlegroups.com
Hello Marc,

The Flash Media Live Encoder problem you've encountered sounds like something we've solved in our development version, it should be fixed in the coming patch (which we have scheduled within a week). VLC uses HTTP streaming as you said, we do not fully support http streams as input yet, it's something we definately want and will add in the future. Luckily most users prefer and use RTMP streaming. 

As for (other) software to push video files:

1.  FFMPEG (http://ffmpeg.org/)  should work quite well once you understand how it works. with a line like:

ffmpeg(.exe (<- depends on OS/install method)) -re -i Input.video -acodec copy -vcodec copy -f flv rtmp://LANIP:Port_for_RTMP/*/Streamname 

you should be able to push something to the MistServer using that line. The plus side is that FFMPEG works on any OS so once you understand how it works you can keep using it on any OS, it's a bit of a bother to learn and use if you want advanced settings however. 

Alternatively we've seen some users who do not like the "console" feel FFMPEG gives. so those users usually end up with 


We do support VMix so you should have no problems using it, if I recall correctly it even supports making a playlist for video files and/or video inputs in a go. So it might be the better option as it's probably easier to set up. The only downside would be that it's Windows only, but as long as you stick to the codecs supported you should be fine (we advice H264 for video and AAC for audio as it gives the broadest support of platforms/protocols).

p.s. Vmix has a free non-trial version though it's not that clear, if I remember correctly simply download the trial and it should give you an option for the free version at the install.



Of course, if you don't want to wait for the patch you could download the development version from github (https://github.com/DDVTECH/mistlib/). While it's still the development version it is stable enough to use as a media server. 

I hope I've answered your questions and you're able to get your live streams to work, if you run into any trouble or have any other questions please feel free to ask!

With kind regards,

Balder Viëtor
Product Management & Functional Tester

Amphoraweg 5 
2332ED Leiden 
The Netherlands
mistserver.org
ddvtech.com
+31 10 8080 619 (NL) 
+1 408 677 5212 (USA)


--
You received this message because you are subscribed to the Google Groups "Mistserver.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mistserver+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marc

unread,
Jun 4, 2014, 10:15:22 AM6/4/14
to mists...@googlegroups.com
Thank you so much, Balder!!

I've downloaded vMix and i'm trying to set up the streaming from there. I used ffmpeg many times but this time I want to use a software with a GUI.

vMix free version just supports SD video, not HD, but it's a good start point for me right now.

In Mist, I've created a stream called "rtmp" with the source "push://192.168.50.129" (vMix machine IP). In vMix, I've configured the output URL to be "rtmp://192.168.50.101:1935/*/rtmp" (Mist IP), but it doesn't work. I also tried "rtmp://192.168.50.101:1935/*/".

I noticed vMix names it's video stream output as "livestream1", so I've created a new stream in Mist with same settings but calling it "livestream1" ("push://192.168.50.129"). It doesn't work either.

Balder, can you give any clue?


--
You received this message because you are subscribed to a topic in the Google Groups "Mistserver.org" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mistserver/5k_AF4tfhQs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mistserver+...@googlegroups.com.

Marc

unread,
Jun 5, 2014, 12:56:54 PM6/5/14
to mists...@googlegroups.com
Hi again,

I've managed to stream both from vMix and Flash Media Live Encoder to Mist Server. I'm streaming one H264 video with mp3 audio.

I followed this instructions; http://www.vmix.com.au/help8/index.htm?LiveStreaming.html, and also this other ones; http://www.vmix.com.au/help12/Streaming.html

I am sending the video to Mist using a stream called "rtmp" (rtmp://192.168.50.101:1935/rtmp), and it appears as "active" in Mist Server configuration panell. I'm using baseline 3.0 to avoid compatibility issues, and there is no errors in the log when I do that.

Beside that, I'm not able to see the video when I try to preview it from MistServer Manage Interface. I also don't see anything when I open the provided URLs in VLC, or when I used the embeed code in a plain html file. IE shows an error, "No support for any player found", and Firefox shows a player but keeps buffering forever.

I can try to do the same using Wowza or RTMPD, but I would like to learn a little more about Mist and be able to use it in other professional projects. I can't understand what I'm doing wrong, and I think it must be a stupid begginer's mistake. Sorry to bother you and thank you so much for your help!

NeO2k7

unread,
Jun 6, 2014, 3:42:43 AM6/6/14
to mists...@googlegroups.com
Hi,

i have the same errors like you.
I hope this will fix with thr new version?

I use the windows version

Balder Vietor

unread,
Jun 6, 2014, 7:13:24 AM6/6/14
to mists...@googlegroups.com
Hello again,

Well we've got it working in the latest development version, so most likely they will fix the issues you'll have.

 I'll provide you guys with a link so you can try it out for yourself. It also includes debug messages which might help you figure out what's going wrong once you hit a problem. This is the version to be scheduled as a new patch release so it might have some small bugs, but we're currently busy polishing it. A full feature list will be posted once the patch goes live officially.

I'll provide a small explanation about the debug levels (available in the overview menu and protocol menu):

Debug levels chosen in the Overview menu will only be applied next time you reboot MistServer, debug levels changed in the protocol menu are applied immidiately by rebooting the protocol. We're currently working on a version where selecting the debug level goes a bit smoother, but it won't make it this patch.

All debug messages will be printed in your console window or in the log you've chosen if you ran MistServer with "-L file_as_log"

The download links are the following I'll provide Linux & Windows builds as those are most likel the OS you're using if a Mac build is needed please ask:


Now bear in mind, I haven't been able to go through the entire program and Windows build, so I'm not 100% sure the Windows build is working. I'll be spending my day mostly testing these current builds and help fixing issues they might have when running. So please bear in mind you might see some unintended bugs.

@ Marc the settings you've posted look correct to me. I did find an issue with MP3 and Dynamic HTTP protocols, so that protocol might not work, the others that do support H264 & MP3 like Progressive FLV & RTMP should work however. I hope the development versions fix this problem for you!



With kind regards,

Balder Viëtor
Product Management & Functional Tester

Amphoraweg 5 
2332ED Leiden 
The Netherlands
mistserver.org
ddvtech.com
+31 10 8080 619 (NL) 
+1 408 677 5212 (USA)


Balder Vietor

unread,
Jun 6, 2014, 7:39:09 AM6/6/14
to mists...@googlegroups.com
Hello again,
 
Small update: Just Noticed the Windows builds aren't linking properly, they should work within a few minutes.

With kind regards,

Balder Viëtor
Product Management & Functional Tester

Amphoraweg 5 
2332ED Leiden 
The Netherlands
mistserver.org
ddvtech.com
+31 10 8080 619 (NL) 
+1 408 677 5212 (USA)


Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

NeO2k7

unread,
Jun 6, 2014, 8:36:38 AM6/6/14
to mists...@googlegroups.com
Thank you very much for your hard work.
I will test it later ;-)
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Marc

unread,
Jun 6, 2014, 9:13:17 AM6/6/14
to mists...@googlegroups.com
Thank you so much!!

Now I realize i don't told you I'm testing mist on a local Linux machine. I will test your development version on a linux VPS as soon as my test server become active.

I've tried the same thing on a Wowza test server and it's running fine. Video are playing smooth on a RPi, sending the video from vMix to the Wowza server. I will keep trying to do it using Mist, I am really interested on it and I will keep you informed of my progress.

Have a nice weekend!

Balder Vietor

unread,
Jun 7, 2014, 9:22:22 AM6/7/14
to mists...@googlegroups.com
Hello Marc,

At the MistServer side you can also simply edit the ip path to "push://" to enable any IP as a source. It's not recommended for end solutions, but for the testing phase it should be fine. You can still secure it with a password however by doing something like "push://@password", if you use this you need to have the "*" part in your rtmp urls to be the password.

Either way for Vmix you need to do the following:
At the bottem right you'll see a button Streaming, click on it and you should see the window for the streaming settings.

The url needs to be the following: "rtmp://IP:Port/Password"
The Stream Key should match with the stream name within MistServer, so if you use "rtmp" as stream name within MistServer you'd need it to say "rtmp"

Input size, framerates and bit rates are all for your own preferences.

Now I do not remember having to do anything else but this to get VMix to work with MistServer so this should get you going if not I'm happy to help, but I'll probably need the config.JSON MistServer creates in the folder it's ran from.


With kind regards,

Balder Viëtor
Product Management & Functional Tester

Amphoraweg 5 
2332ED Leiden 
The Netherlands
mistserver.org
ddvtech.com
+31 10 8080 619 (NL) 
+1 408 677 5212 (USA)


NeO2k7

unread,
Jun 7, 2014, 9:55:17 AM6/7/14
to mists...@googlegroups.com
So,

i have tested the windows version with flash media live encoder. I can connect and when i try to start the stream fmle still crashs... the logs in mist say nothing special. This happends only with mist...thats really frustrating because i like the idea of this project

Regards

Jaron Vietor

unread,
Jun 7, 2014, 12:02:49 PM6/7/14
to mists...@googlegroups.com
Hello guys,

I just gave the automated buildsystem another update to process. By the time you read this, the links Balder handed out in his earlier e-mail will have updated releases with all the latest bugfixes and improvements.

It's now also possible to change the debug message level in these latest builds: ./MistConroller --debug 10 will activate the highest level (can also be set through the web interface).
Level 3 is the default, and includes anything actually important. Level 4 is what usually provides most debugging information you need.
Higher levels have more messages, but the amount of debug message spam can slow down the server at that point, so I wouldn't recommend running it at levels >= 5 in a production environment.

These latest should "just work", or at least provide helpful messages in the log to indicate what the problem is. Please do post here if anything still misbehaves and we'll resolve it ASAP.

- Jaron Viëtor





Reply all
Reply to author
Forward
0 new messages