How to stream to VLC media player

1,187 views
Skip to first unread message

White Wolf

unread,
May 24, 2012, 6:34:38 PM5/24/12
to C++ RTMP Server, cool...@mycooldude.info
Hi I am wondering if there is a way to stream from a Crtmp server to
VLC Media Player
Thanks
WIlliam Lentz

Dan

unread,
May 24, 2012, 7:20:22 PM5/24/12
to C++ RTMP Server
You can certainly do this.

In your .lua config file, as a simple example, you can add something
like this:
{
ip="0.0.0.0",
port=5554,
protocol="inboundRtsp"
},
...to the FLV Playback Sample area's 'acceptors' area (for example).

...then point your VLC player at (for a live stream, for example):
rtsp://<rtmpd-ip>:5554/live/LiveStreamName

Hope that helps!

--dan

Will Lentz

unread,
May 24, 2012, 7:40:30 PM5/24/12
to c-rtmp...@googlegroups.com
It partly connected but it asked me for a username and password login  any idea to fix that?

You received this message because you are subscribed to "C++ RTMP Server" mailing list.
To post to this group, send email to c-rtmp...@googlegroups.com
To unsubscribe from this group, send email to
c-rtmp-serve...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/c-rtmp-server?hl=en

C++ RTMP Server

unread,
May 24, 2012, 7:47:14 PM5/24/12
to c-rtmp...@googlegroups.com
comment out the authentication node
------
C++ RTMP Server
Web: http://www.rtmpd.com




Will Lentz

unread,
May 24, 2012, 8:17:37 PM5/24/12
to c-rtmp...@googlegroups.com
We tried commenting it out but it stopped working completely here is the config  http://pastebin.com/3HKKLAX9   

Philipp P.

unread,
May 27, 2012, 10:31:51 AM5/27/12
to c-rtmp...@googlegroups.com
What errors do you get? 
Can you post the log file. 


> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en
>
>
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to

> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en

Rani

unread,
May 27, 2012, 12:50:19 PM5/27/12
to C++ RTMP Server
Hi Will,

comment out ENTIRE authentication node like :

--[[ authentication=
{
rtmp={
type="adobe",
encoderAgents=
{
"FMLE/3.0 (compatible;
FMSc/1.0)",
},
usersFile="/home/cooldude/
Programs/crtmpserver/conf/users.lua"
},
rtsp={
usersFile="/home/cooldude/
Programs/crtmpserver/conf/users.lua"
}
},]]--

try it and let us know if it works out.

best regards

On 25 mai, 03:17, Will Lentz <coolguy.le...@gmail.com> wrote:
> We tried commenting it out but it stopped working completely here is the
> config  http://pastebin.com/3HKKLAX9
>
> On Thu, May 24, 2012 at 6:47 PM, C++ RTMP Server <crtmpser...@gmail.com>wrote:
>
>
>
>
>
>
>
> > comment out the authentication node
>
> > On May 25, 2012, at 2:40 AM, Will Lentz wrote:
>
> > > It partly connected but it asked me for a username and password login
> >  any idea to fix that?
>

Will Lentz

unread,
May 27, 2012, 9:07:08 PM5/27/12
to c-rtmp...@googlegroups.com
That caused a security risk on the server due to the RTMP being free to connect to without a login    but I tested it  and it still doesn't work  with the same error in vlc

Rani

unread,
May 28, 2012, 11:18:48 AM5/28/12
to C++ RTMP Server
Hi will,

1. could you post logfile via pastebin.com ?
2. just a stupid question: after modification of .lua file have you
restarted crtmpd instance ?

best regards
Reply all
Reply to author
Forward
0 new messages