Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Ricardo Kleemann
Hi,

Does anyone know if there's a way to use Flash Media Live Encoder with
ffmpeg (or maybe ffserver)?

FMLE publishes an rtmp stream to Flash Media Server, but I'm guessing it
needs to connect to a daemon in order to publish.

Can this be done via ffmpeg, or does anyone know of a linux server that
FMLE can connect to and from which ffmpeg can read?

thanks
Ricardo
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

paulj-2
> Does anyone know if there's a way to use Flash Media Live Encoder with
> ffmpeg (or maybe ffserver)?
>
> FMLE publishes an rtmp stream to Flash Media Server, but I'm guessing it
> needs to connect to a daemon in order to publish.
>
> Can this be done via ffmpeg, or does anyone know of a linux server that
> FMLE can connect to and from which ffmpeg can read?
>
> thanks
> Ricardo


        Funny you should ask that :-), since I asked the exact same question a few days ago.
From my research, you can NOT just use ffmpeg to listen on a port and get the RTMP
stream; Flash Media Live Encoder expects something... else (don't know exactly what, would
love to be enlightened). Thus, you need a  proper RTMP server to listen to its stream.

        The 2 most important ones I've been testing have been Red5 and crtmpd. However,
their documentation is pretty sparse, and their example all seem to assume clients using
browsers (with Flash players like jwPlayer) connecting to the server to watch the stream. I
wasn't able to get them to work.

        A third possibility is RTMPDump, which seems more amenable to your (and my) idea
of getting the RTMP stream and feeding it to ffmpeg to do something else. It seems to come
with its own RTMP server, precisely for that purpose. I haven't tested it, though, since I found
other ways to solve my project that didn't involve ffmpeg, but would love to hear experiences.


                                  Paulo.

-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."

                             The Simpsons.
-------------------------------------------

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Tom Evans
On Wed, Apr 24, 2013 at 5:25 PM,  <[hidden email]> wrote:
>
>         Funny you should ask that :-), since I asked the exact same question a few days ago.
> From my research, you can NOT just use ffmpeg to listen on a port and get the RTMP
> stream; Flash Media Live Encoder expects something... else (don't know exactly what, would
> love to be enlightened). Thus, you need a  proper RTMP server to listen to its stream.

You asked the same question a few days ago, but didn't respond to my
comment that netcat can be used to listen on a port and feed the data
to ffmpeg over a pipe. I see no reason why that should not work.

Cheers

Tom
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

paulj-2
> On Wed, Apr 24, 2013 at 5:25 PM,  <[hidden email]> wrote:
> >
> >         Funny you should ask that :-), since I asked the exact same
> question a few days ago.
> > From my research, you can NOT just use ffmpeg to listen on a port and
> get the RTMP
> > stream; Flash Media Live Encoder expects something... else (don't know
> exactly what, would
> > love to be enlightened). Thus, you need a  proper RTMP server to listen
> to its stream.
>
> You asked the same question a few days ago, but didn't respond to my
> comment that netcat can be used to listen on a port and feed the data
> to ffmpeg over a pipe. I see no reason why that should not work.
>


        Oh, yes. Sorry, forgot to respond (short story: it didn't work, and then I was on a rush
to find an alternative and none of them involved ffmpeg, so were kind-of off-topic for this list).

        Long story: Flash Media Live Encoder needs in its URL, not just the IP address of the
server, but also the path and name of an application server (I think) which receives its
stream. In other words, if you just put:

        rtmp://192.168.1.1/

        As the destination URL, it won't even connect; it will tell you that the URL is invalid.
You need to put something like:

        rtmp://192.168.1.1/live/stream

        For it to connect. From what I've seen in Red5's install, there should be a Java
server-based app listening on that URL, in charge of receiving FMLE's stream (and probably
receiving whatever commands FMLE sends along). Since I don't know Java and didn't see a
way to simulate that setup using netcat, I abandoned that path.

        Forgot to mention: I asked about it on Stack Overflow and didn't get any answers
either:

http://stackoverflow.com/questions/16113734/red5-receive-a-stream-and-have-it-available-fo
r-just-one-client

        Right now it isn't an urgent matter for me anymore, but as I said, I'd love to hear what
I was doing wrong, just for future reference.


                                  Paulo.

-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."

                             The Simpsons.
-------------------------------------------

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Ricardo Kleemann
In reply to this post by Tom Evans
On Wed, Apr 24, 2013 at 9:53 AM, <[hidden email]> wrote:

> > On Wed, Apr 24, 2013 at 5:25 PM,  <[hidden email]> wrote:
> > >
> > >         Funny you should ask that :-), since I asked the exact same
> > question a few days ago.
> > > From my research, you can NOT just use ffmpeg to listen on a port and
> > get the RTMP
> > > stream; Flash Media Live Encoder expects something... else (don't know
> > exactly what, would
> > > love to be enlightened). Thus, you need a  proper RTMP server to listen
> > to its stream.
> >
> > You asked the same question a few days ago, but didn't respond to my
> > comment that netcat can be used to listen on a port and feed the data
> > to ffmpeg over a pipe. I see no reason why that should not work.
> >
>
>
>         Oh, yes. Sorry, forgot to respond (short story: it didn't work,
> and then I was on a rush
> to find an alternative and none of them involved ffmpeg, so were kind-of
> off-topic for this list).
>
>         Long story: Flash Media Live Encoder needs in its URL, not just
> the IP address of the
> server, but also the path and name of an application server (I think)
> which receives its
> stream. In other words, if you just put:
>
>         rtmp://192.168.1.1/
>
>         As the destination URL, it won't even connect; it will tell you
> that the URL is invalid.
> You need to put something like:
>
>         rtmp://192.168.1.1/live/stream
>
>         For it to connect. From what I've seen in Red5's install, there
> should be a Java
> server-based app listening on that URL, in charge of receiving FMLE's
> stream (and probably
> receiving whatever commands FMLE sends along). Since I don't know Java and
> didn't see a
> way to simulate that setup using netcat, I abandoned that path.
>
>         Forgot to mention: I asked about it on Stack Overflow and didn't
> get any answers
> either:
>
>
> http://stackoverflow.com/questions/16113734/red5-receive-a-stream-and-have-it-available-fo
> r-just-one-client
>
>         Right now it isn't an urgent matter for me anymore, but as I said,
> I'd love to hear what
> I was doing wrong, just for future reference.
>
>
>                                   Paulo.
>

So continuing on this thread... It seems to me that Flash Media Live
Encoder now only works with Flash Media Server. It doesn't seem to be able
to connect to any other server.

I installed the latest Red5, but FMLE will not connect to it.

Has anyone been successful in connecting FMLE to anything other than FMS?

Does anyone know of a good live stream encoder?

thanks
Ricardo
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Timothy Gu
On Apr 27, 2013 8:39 PM, "Ricardo Kleemann" <[hidden email]> wrote:
>
> On Wed, Apr 24, 2013 at 9:53 AM, <[hidden email]> wrote:
>
> > > On Wed, Apr 24, 2013 at 5:25 PM,  <[hidden email]> wrote:
> > > >
> > > >         Funny you should ask that :-), since I asked the exact same
> > > question a few days ago.
> > > > From my research, you can NOT just use ffmpeg to listen on a port
and
> > > get the RTMP
> > > > stream; Flash Media Live Encoder expects something... else (don't
know
> > > exactly what, would
> > > > love to be enlightened). Thus, you need a  proper RTMP server to
listen

> > > to its stream.
> > >
> > > You asked the same question a few days ago, but didn't respond to my
> > > comment that netcat can be used to listen on a port and feed the data
> > > to ffmpeg over a pipe. I see no reason why that should not work.
> > >
> >
> >
> >         Oh, yes. Sorry, forgot to respond (short story: it didn't work,
> > and then I was on a rush
> > to find an alternative and none of them involved ffmpeg, so were kind-of
> > off-topic for this list).
> >
> >         Long story: Flash Media Live Encoder needs in its URL, not just
> > the IP address of the
> > server, but also the path and name of an application server (I think)
> > which receives its
> > stream. In other words, if you just put:
> >
> >         rtmp://192.168.1.1/
> >
> >         As the destination URL, it won't even connect; it will tell you
> > that the URL is invalid.
> > You need to put something like:
> >
> >         rtmp://192.168.1.1/live/stream
> >
> >         For it to connect. From what I've seen in Red5's install, there
> > should be a Java
> > server-based app listening on that URL, in charge of receiving FMLE's
> > stream (and probably
> > receiving whatever commands FMLE sends along). Since I don't know Java
and
> > didn't see a
> > way to simulate that setup using netcat, I abandoned that path.
> >
> >         Forgot to mention: I asked about it on Stack Overflow and didn't
> > get any answers
> > either:
> >
> >
> >
http://stackoverflow.com/questions/16113734/red5-receive-a-stream-and-have-it-available-fo
> > r-just-one-client
> >
> >         Right now it isn't an urgent matter for me anymore, but as I
said,

> > I'd love to hear what
> > I was doing wrong, just for future reference.
> >
> >
> >                                   Paulo.
> >
>
> So continuing on this thread... It seems to me that Flash Media Live
> Encoder now only works with Flash Media Server. It doesn't seem to be able
> to connect to any other server.

The Adobe website says:

"... that streams audio and video in real time to Adobe Media Server
software or Flash Video Streaming Service (FVSS)."

It did not say that it can streams to anything else.

Timothy G.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

paulj-2
In reply to this post by Ricardo Kleemann
>
> So continuing on this thread... It seems to me that Flash Media Live
> Encoder now only works with Flash Media Server. It doesn't seem to be
> able
> to connect to any other server.
>
> I installed the latest Red5, but FMLE will not connect to it.
>
> Has anyone been successful in connecting FMLE to anything other than
> FMS?
>


        Actually, I did manage to get FMLE to connect to Red5... or at least I didn't get any
errors. What I couldn't do was to to get ffmpeg to connect as a client (a "viewer") to Red5 to
receive that stream.
        What happened when you tried it? In my case, FMLE connected and streamed
without any errors, and Red5's logs seemed to indicate that it was receiving the stream
correctly (...I think; I had a hard time understanding Red5's logs, mostly because I didn't
understand how it worked internally).


                                  Paulo.

-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."

                             The Simpsons.
-------------------------------------------

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Robert Reinhardt-2
In reply to this post by Ricardo Kleemann
FMLE can connect to any RTMP-enabled server; I'm not sure why you're having
problems with Red5 specifically. The most popular RTMP-enabled server by
far is Wowza Media Server
(www.wowza.com<https://owa.themakers.com/owa/robert@.../14.1.438.0/scripts/premium/redir.aspx?C=fed1a175b58349aaa5025cf832082548&URL=http%3a%2f%2fwww.wowza.com>);
like Red5, it's Java based, but the Wowza community is excellent. I use
Wowza with most of my clients, and I built videoRx.com streaming on top of
Wowza. (I have a long history with Flash-based video; wrote the Flash
Bible, ActionScript Bible, and web video books.)

I'd recommend installing the latest developer version of Wowza (free).

Best,

Robert
--
Robert Reinhardt
http://linkedin.com/in/adaptivestreaming<https://owa.themakers.com/owa/robert@.../14.1.438.0/scripts/premium/redir.aspx?C=fed1a175b58349aaa5025cf832082548&URL=http%3a%2f%2flinkedin.com%2fin%2fadaptivestreaming>
videoRx.com


________________________________________
From: [hidden email] [[hidden email]] on
behalf of [hidden email] [[hidden email]]
Sent: Sunday, April 28, 2013 5:47 AM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Can the rtmp stream published by Flash Media
Encoder be read by ffmpeg?

>
> So continuing on this thread... It seems to me that Flash Media Live
> Encoder now only works with Flash Media Server. It doesn't seem to be
> able
> to connect to any other server.
>
> I installed the latest Red5, but FMLE will not connect to it.
>
> Has anyone been successful in connecting FMLE to anything other than
> FMS?
>


        Actually, I did manage to get FMLE to connect to Red5... or at
least I didn't get any
errors. What I couldn't do was to to get ffmpeg to connect as a client (a
"viewer") to Red5 to
receive that stream.
        What happened when you tried it? In my case, FMLE connected and
streamed
without any errors, and Red5's logs seemed to indicate that it was
receiving the stream
correctly (...I think; I had a hard time understanding Red5's logs, mostly
because I didn't
understand how it worked internally).


                                  Paulo.

-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."

                             The Simpsons.
-------------------------------------------

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Ricardo Kleemann
In reply to this post by Ricardo Kleemann
On Sun, Apr 28, 2013 at 5:47 AM, <[hidden email]> wrote:

> >
> > So continuing on this thread... It seems to me that Flash Media Live
> > Encoder now only works with Flash Media Server. It doesn't seem to be
> > able
> > to connect to any other server.
> >
> > I installed the latest Red5, but FMLE will not connect to it.
> >
> > Has anyone been successful in connecting FMLE to anything other than
> > FMS?
> >
>
>
>         Actually, I did manage to get FMLE to connect to Red5... or at
> least I didn't get any
> errors. What I couldn't do was to to get ffmpeg to connect as a client (a
> "viewer") to Red5 to
> receive that stream.
>         What happened when you tried it? In my case, FMLE connected and
> streamed
> without any errors, and Red5's logs seemed to indicate that it was
> receiving the stream
> correctly (...I think; I had a hard time understanding Red5's logs, mostly
> because I didn't
> understand how it worked internally).
>
>
>                                   Paulo.
>
> Oh, that's interesting. Which version FMLE were you using? I downloaded
the latest but when I try to connect to Red5 it fails, and the Red5 logs
just say:

 2013-04-27 20:14:44,288 [Red5_Scheduler_Worker-3] WARN
 o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
xx.xx.xx.xx : 60161 to yy.yy.yy.yy (in: 3255 out 3210 ), with id 2 due to
long handshake

I tried a couple of things in the Red5 properties file but I always just
get that error.

Ricardo
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

jackyr
In reply to this post by Robert Reinhardt-2

Le 28/04/2013 18:15, Robert Reinhardt a écrit :

> FMLE can connect to any RTMP-enabled server; I'm not sure why you're having
> problems with Red5 specifically. The most popular RTMP-enabled server by
> far is Wowza Media Server
> (www.wowza.com<https://owa.themakers.com/owa/robert@.../14.1.438.0/scripts/premium/redir.aspx?C=fed1a175b58349aaa5025cf832082548&URL=http%3a%2f%2fwww.wowza.com>);
> like Red5, it's Java based, but the Wowza community is excellent. I use
> Wowza with most of my clients, and I built videoRx.com streaming on top of
> Wowza. (I have a long history with Flash-based video; wrote the Flash
> Bible, ActionScript Bible, and web video books.)
>
> I'd recommend installing the latest developer version of Wowza (free).
>
> Best,
>
> Robert
> --
> Robert Reinhardt
> http://linkedin.com/in/adaptivestreaming<https://owa.themakers.com/owa/robert@.../14.1.438.0/scripts/premium/redir.aspx?C=fed1a175b58349aaa5025cf832082548&URL=http%3a%2f%2flinkedin.com%2fin%2fadaptivestreaming>
> videoRx.com
>
>
> ________________________________________
> From: [hidden email] [[hidden email]] on
> behalf of [hidden email] [[hidden email]]
> Sent: Sunday, April 28, 2013 5:47 AM
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Can the rtmp stream published by Flash Media
> Encoder be read by ffmpeg?
>
>> So continuing on this thread... It seems to me that Flash Media Live
>> Encoder now only works with Flash Media Server. It doesn't seem to be
>> able
>> to connect to any other server.
>>
>> I installed the latest Red5, but FMLE will not connect to it.
>>
>> Has anyone been successful in connecting FMLE to anything other than
>> FMS?
>>
>
>          Actually, I did manage to get FMLE to connect to Red5... or at
> least I didn't get any
> errors. What I couldn't do was to to get ffmpeg to connect as a client (a
> "viewer") to Red5 to
> receive that stream.
>          What happened when you tried it? In my case, FMLE connected and
> streamed
> without any errors, and Red5's logs seemed to indicate that it was
> receiving the stream
> correctly (...I think; I had a hard time understanding Red5's logs, mostly
> because I didn't
> understand how it worked internally).
>
>
>                                    Paulo.
>
> -------------------------------------------
> "Oh, don't worry kids. Most of you will
> never fall in love. You'll just marry
> for fear of dying alone."
>
>                               The Simpsons.
> -------------------------------------------
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Hi
I am doing quite the same without any problem
-FMLE 3 and red5 0.9 rc1

    on FMLE :

        fms url : rtmp://my_ip/oflaDemo
        stream : channel1           as you want

    on player
              add   = rtmp://my_ip/oflaDemo
              $file  = channel1           same as above

then I can get the stream sent by FMLE and there is no problem to read
with ffmpeg (-i rtmp://my_ip/oflaDemo/$file)
I havent yet found the way to have red5 recording while streaming, but
FMLE is doing so

regards
jacky





_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

paulj-2
In reply to this post by Ricardo Kleemann
> >
> > Oh, that's interesting. Which version FMLE were you using? I
> downloaded
> the latest but when I try to connect to Red5 it fails, and the Red5 logs
> just say:
>
>  2013-04-27 20:14:44,288 [Red5_Scheduler_Worker-3] WARN
>  o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> xx.xx.xx.xx : 60161 to yy.yy.yy.yy (in: 3255 out 3210 ), with id 2 due
> to
> long handshake
>
> I tried a couple of things in the Red5 properties file but I always just
> get that error.
>


        I'm using the latest one too. Be aware that you need to add to FMLE not just the URL
(with the path to the Java app in the end), but also the "stream" parameter. That tripped me
up in the beginning.


                                  Paulo.

-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."

                             The Simpsons.
-------------------------------------------

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

Ricardo Kleemann
In reply to this post by Ricardo Kleemann
On Mon, Apr 29, 2013 at 9:03 AM, <[hidden email]> wrote:

> > >
> > > Oh, that's interesting. Which version FMLE were you using? I
> > downloaded
> > the latest but when I try to connect to Red5 it fails, and the Red5 logs
> > just say:
> >
> >  2013-04-27 20:14:44,288 [Red5_Scheduler_Worker-3] WARN
> >  o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> > xx.xx.xx.xx : 60161 to yy.yy.yy.yy (in: 3255 out 3210 ), with id 2 due
> > to
> > long handshake
> >
> > I tried a couple of things in the Red5 properties file but I always just
> > get that error.
> >
>
>
>         I'm using the latest one too. Be aware that you need to add to
> FMLE not just the URL
> (with the path to the Java app in the end), but also the "stream"
> parameter. That tripped me
> up in the beginning.
>
>
>                                   Paulo.
>

Hi Paulo,

Do you need to open up anything more than port 1935?

I'm using the default FMLE parameters, rtmp://xx.xx.xx.xx/live and
livestream

Do I need to configure Red5 with the stream as well? I'm probably just
missing something in the Red5 config.

thanks
Ricardo
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

paulj-2
> >
> >         I'm using the latest one too. Be aware that you need to add to
> > FMLE not just the URL
> > (with the path to the Java app in the end), but also the "stream"
> > parameter. That tripped me
> > up in the beginning.
> >
> >
> >                                   Paulo.
> >
>
> Hi Paulo,
>
> Do you need to open up anything more than port 1935?
>
> I'm using the default FMLE parameters, rtmp://xx.xx.xx.xx/live and
> livestream
>
> Do I need to configure Red5 with the stream as well? I'm probably just
> missing something in the Red5 config.
>


        Nope, that port is fine. The key, though, is that those parameters (the URL and the
value of the "stream" parameter) correspond to the path and name of the Java app that is
listening on the server. I already uninstalled Red5, but from what I remember, the default app
that came with it was in the directory "live/" and had the name "stream"; thus, your URL
should be "rtmp://x.x.x.x/live" and the "stream" parameter needs to have the value "stream".
        Check it out in your Red5 install, in any case, since as I said, I already uninstalled it
from my machine.


                                  Paulo.

-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."

                             The Simpsons.
-------------------------------------------

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Can the rtmp stream published by Flash Media Encoder be read by ffmpeg?

jackyr

Le 30/04/2013 17:05, [hidden email] a écrit :

>>>          I'm using the latest one too. Be aware that you need to add to
>>> FMLE not just the URL
>>> (with the path to the Java app in the end), but also the "stream"
>>> parameter. That tripped me
>>> up in the beginning.
>>>
>>>
>>>                                    Paulo.
>>>
>> Hi Paulo,
>>
>> Do you need to open up anything more than port 1935?
>>
>> I'm using the default FMLE parameters, rtmp://xx.xx.xx.xx/live and
>> livestream
>>
>> Do I need to configure Red5 with the stream as well? I'm probably just
>> missing something in the Red5 config.
>>
>
> Nope, that port is fine. The key, though, is that those parameters (the URL and the
> value of the "stream" parameter) correspond to the path and name of the Java app that is
> listening on the server. I already uninstalled Red5, but from what I remember, the default app
> that came with it was in the directory "live/" and had the name "stream"; thus, your URL
> should be "rtmp://x.x.x.x/live" and the "stream" parameter needs to have the value "stream".
> Check it out in your Red5 install, in any case, since as I said, I already uninstalled it
> from my machine.
>
>
>                                    Paulo.
>
> -------------------------------------------
> "Oh, don't worry kids. Most of you will
> never fall in love. You'll just marry
> for fear of dying alone."
>
>                               The Simpsons.
> -------------------------------------------
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
Hi

    I am using the default RED5 parameter
            rtmp://my_ip/oflaDemo    (red5 0.9 rc1)
on stream you can pass any name you want just have to remenber when you
will have to read it
regards
jacky


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user