Send video from webcam

1,009 views
Skip to first unread message

Martin Franta

unread,
Dec 8, 2012, 1:24:27 PM12/8/12
to mists...@googlegroups.com
Can someone show working example how to send video from webcam to rtmp mistserver with flash or html5 ? I can't find any tutorial and don't know where start. Thanks

Jaron Viëtor

unread,
Dec 10, 2012, 5:37:43 AM12/10/12
to mists...@googlegroups.com
On Saturday, December 8, 2012 7:24:27 PM UTC+1, Martin Franta wrote:
Can someone show working example how to send video from webcam to rtmp mistserver with flash or html5 ? I can't find any tutorial and don't know where start. Thanks

Hello Martin,

The easiest way is to use Flash Media Live Encoder ( http://www.adobe.com/products/flash-media-encoder.html ).

First start the server with the -a option to create an account (for example "MistController -a foo:bar" to create username foo with password bar). You 
Connect to the settings page at the default URL of http://your-server-address-here:4242/ and login with the account you just created.
Go to the "PROTOCOLS" tab and add at least RTMP (the default port is 1935, you may leave interface empty), you can optionally also add HTTP for all the HTTP-based protocols.
Go to the "STREAMS" tab and click "Add new". Enter a streamname (for example "test") and as source enter "push://your-IP-address-here". The IP address listed will be allowed to use FMLE to provide the stream.

Now, start FMLE.
On the right of the application, at "FMS URL" enter "rtmp://your-server-address-here/play" (the /play part is actually ignored and any value should work, as long as there is something after the server address - we test internally with /play so I can confirm that at least works). If you're using a different port than the default of 1935, make sure to append ":portnumber" after the server address.
In the "Stream" field enter the name you gave your stream in the settings page (ie: "test").
Make sure that on the left the video format is set to H264 and the audio format to either AAC or MP3, then click start at the bottom.

Now you are able to access the live stream over all the supported protocols. For a demo, go back to the STREAMS tab on the settings page, and click the "embed" link for your stream.

Good luck!

Regards,
Jaron Viëtor

PS: I'll ask one of our testers to provide a proper tutorial covering FMLE usage on our wiki.

 

sande...@gmail.com

unread,
Apr 17, 2013, 12:16:46 PM4/17/13
to mists...@googlegroups.com
Hi Jaron

I am trying to live stream from my webcam. I followed the step described below and it seems like FMLE is able to connect MistServer (mistserver shows 'Active' against the stream name) but video is not playing even in "embed" link. My video / audio format is correctly set. [I have local video file working correctly with HLS etc.]

Any help / pointer will be helpful

Thanks

sande...@gmail.com

unread,
Apr 17, 2013, 12:22:54 PM4/17/13
to mists...@googlegroups.com
I am using static library (mistserver_cygwin_1.1.zip) on windows.

Jaron Vietor

unread,
Apr 17, 2013, 1:12:52 PM4/17/13
to mists...@googlegroups.com
Hello,

It seems you've just missed the 1.1.1 release (mistserver_cygwin_1.1.1.zip) which fixes all known bugs that appeared in the 1.1 version and came out just two days ago.
Please update your installation to 1.1.1 and try again - you may be encountering one of the bugs we've since fixed.
If the problem still happens afterwards, feel free to ask for more help.

Regards,
Jaron




--
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/groups/opt_out.
 
 

sande...@gmail.com

unread,
Apr 18, 2013, 3:32:36 AM4/18/13
to mists...@googlegroups.com
Thanks Jaron, 1.1.1 worked correctly but i am following 2 issues:

- If user pause the stream then resuming it is not starting the stream again.
- "embed" link is working in Chrome only, in IE and FireFox only audio can be heard.

Any idea about these

Thanks

Jaron Vietor

unread,
Apr 18, 2013, 8:32:11 AM4/18/13
to mists...@googlegroups.com
Hello,

Good to hear!

The RTMP pausing issue is a known problem we're looking into - it seems to be a client bug (flashplayer not reacting properly) but we're trying to find a workaround for it.
I'll ask the developers taking care of the embed code to double-check it in all browsers - thanks for reporting this.

Regards,
Jaron


Francisco Pellegrini

unread,
Sep 30, 2013, 5:05:42 PM9/30/13
to mists...@googlegroups.com
Dear, Jaron,

Thanks for all the input prevouisly stated. I´m trying to use mistserver with FMLE an everything seems to be working fine (status is active in mistserver and FMLE is streaming perfectly in the log)

In teh overview panel it says 0 of 1 online and i do not what else to do.

Did you guys ever published a wiki tutorial to use FMLE with Mistserver?

Thanks for all, Bye!

Jaron Vietor

unread,
Oct 19, 2013, 6:12:03 AM10/19/13
to mists...@googlegroups.com
Hello Francisco,

Sorry for the late reply - we've been working hard on getting the 1.2 release ready!

Please try the latest RC available on the website right now. FMLE should work properly with it.
If not, perhaps the problem is in your encoding settings. For best results, set the keyframe interval to once every 1-4 seconds and use H264 video along with stereo audio in either AAC or MP3 format (AAC works best, but the regular version of FMLE doesn't support it).

We don't have a tutorial or wiki page on using FMLE yet, but we'll keep that in mind as we update our documentation.

Regards,
Jaron




--
Reply all
Reply to author
Forward
0 new messages